{}
jsonmock.in
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.

GEThttps://www.jsonmock.in/api/v1/todos

Endpoints

MethodPathDescription
GET/api/v1/todosList all todos (default 30 per page)
GET/api/v1/todos?limit=5&skip=10Paginate with limit + skip
GET/api/v1/todos/1Fetch a single todo by id
GET/api/v1/todos?q=eFull-text search across common fields
GET/api/v1/todos?select=id,todo,completedReturn only selected fields (reduce payload size)

Query parameters

ParamTypeDescription
limitnumber (0–100)Max items to return. Default 30.
skipnumberOffset from the start (for pagination).
qstringCase-insensitive search across key todo fields.
selectcomma listReturn 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 →