✅30 items · free · CORS-ready
Mock Todos API
A ready-made task-list endpoint — 30 realistic todos with completion state and linked user IDs. Perfect for to-do app tutorials, Kanban prototypes, and any frontend that needs a simple task collection.
GET
https://www.jsonmock.in/api/v1/todosEndpoints
| Method | Path | Description | |
|---|---|---|---|
| GET | /api/v1/todos | List all todos (default 30 per page) | |
| GET | /api/v1/todos?limit=5&skip=10 | Paginate with limit + skip | |
| GET | /api/v1/todos/1 | Fetch a single todo by id | |
| GET | /api/v1/todos?q=e | Full-text search across common fields | |
| GET | /api/v1/todos?select=id,todo,completed | Return only selected fields (reduce payload size) |
Query parameters
| Param | Type | Description |
|---|---|---|
| limit | number (0–100) | Max items to return. Default 30. |
| skip | number | Offset from the start (for pagination). |
| q | string | Case-insensitive search across key todo fields. |
| select | comma list | Return only the given fields in the response. |
Sample todo
Every item in this endpoint follows the same shape as the example below.
todo.json
{
"id": 1,
"todo": "Do something nice for someone you care about",
"completed": true,
"userId": 1
}Live response
Click Try it on any endpoint above to see the real response here.
no request yet// waiting for request
Use it in your code
curl "https://jsonmock.in/api/v1/todos?limit=5"
Other ready-made endpoints
Need a different shape?
These templates are pre-built for common use cases. If you need your own JSON shape, paste it into the generator and get a custom endpoint in seconds.
Generate a custom mock →