Stub
Public API
Access mock data instantly — no sign up required. Perfect for learning, testing, and prototyping.
Want full CRUD or custom endpoints?
Sign up with Google
.
GET
https://stub.muindetuva.com/api/public/posts
Returns a list of public blog posts.
[
[
"id" => 1,
"title" => "Welcome to Stub!",
"body" => "This is a mock post you can fetch via the public API.",
"created_at" => "2025-07-30T12:00:00Z"
],
[
"id" => 2,
"title" => "Test APIs without Auth",
"body" => "No need to sign up — just hit the endpoint and get data.",
"created_at" => "2025-07-29T15:30:00Z"
]
]
GET
https://stub.muindetuva.com/api/public/products
Returns a list of sample e-commerce products.
[
[
"id" => 1,
"name" => "Wireless Mouse",
"price" => 1499,
"currency" => "KES",
"in_stock" => true
],
[
"id" => 2,
"name" => "USB-C Charger",
"price" => 2499,
"currency" => "KES",
"in_stock" => false
]
]
GET
https://stub.muindetuva.com/api/public/delayed/posts
Returns a list of posts, but with a deliberate 5-second delay.
Useful for testing loading states, skeleton UIs, and timeout handling on the frontend.
[
{
"id": 1,
"title": "Welcome to Stub!",
"body": "This is a mock post you can fetch via the public API.",
"created_at": "2025-07-30T12:00:00Z"
},
{
"id": 2,
"title": "Test APIs without Auth",
"body": "No need to sign up — just hit the endpoint and get data.",
"created_at": "2025-07-29T15:30:00Z"
}
]