example-data.com
Menu
Browse docs and collections

todos

todos

Browse 3016 todos records. Explore sample records and fetch JSON over a free REST API for prototypes, tests, and learning.

Overview

Cards

Compact

Detailed

Buy the report

todoListId
todo-lists/1
title
Buy the report
isDone
false
dueDate
2026-06-19
completedAt
createdAt
updatedAt

Fix the client

todoListId
todo-lists/1
title
Fix the client
isDone
true
dueDate
2026-05-26
completedAt
createdAt
updatedAt

Check the documentation

todoListId
todo-lists/1
title
Check the documentation
isDone
true
dueDate
completedAt
createdAt
updatedAt

Check the contract

todoListId
todo-lists/1
title
Check the contract
isDone
false
dueDate
completedAt
createdAt
updatedAt

Complete the dashboard

todoListId
todo-lists/1
title
Complete the dashboard
isDone
false
dueDate
completedAt
createdAt
updatedAt

Update the client

todoListId
todo-lists/1
title
Update the client
isDone
true
dueDate
2026-05-30
completedAt
createdAt
updatedAt

Showing first 6 of 24 on this page.

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/todos?limit=25"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/todos?limit=25"
);
const { data, meta } = await res.json();

TypeScript example

// Download once: mkdir -p types && curl -o types/todos.d.ts https://example-data.com/types/todos.d.ts
import type { Todo, ListEnvelope } from "./types/todos";

const res = await fetch(
  "https://example-data.com/api/v1/todos?limit=25"
);
const { data, meta } = (await res.json()) as ListEnvelope<Todo>;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/todos",
    params={"limit": 25},
)
data = res.json()

Response

{
  "data": [
    {
      "id": 1,
      "todoListId": 1,
      "title": "Buy the report",
      "isDone": false,
      "dueDate": "2026-06-19",
      "completedAt": null,
      "createdAt": "2025-09-02T20:48:26.252Z",
      "updatedAt": "2025-12-21T19:17:30.692Z"
    },
    {
      "id": 2,
      "todoListId": 1,
      "title": "Fix the client",
      "isDone": true,
      "dueDate": "2026-05-26",
      "completedAt": "2026-05-07T14:30:35.953Z",
      "createdAt": "2026-02-14T06:03:20.130Z",
      "updatedAt": "2026-03-04T07:22:38.310Z"
    },
    {
      "id": 3,
      "todoListId": 1,
      "title": "Check the documentation",
      "isDone": true,
      "dueDate": null,
      "completedAt": "2026-03-02T05:24:01.080Z",
      "createdAt": "2025-05-29T11:27:08.947Z",
      "updatedAt": "2026-03-10T14:42:48.220Z"
    }
  ],
  "meta": {
    "page": 1,
    "limit": 25,
    "total": 3016,
    "totalPages": 121
  },
  "links": {
    "self": "/api/v1/todos?page=1",
    "first": "/api/v1/todos?page=1",
    "last": "/api/v1/todos?page=121",
    "next": "/api/v1/todos?page=2",
    "prev": null
  }
}

View full response →