Sample JSON / Todos

Sample Todos JSON

Sixty todo items with titles, completion flags, priorities, due dates, and user references - the canonical tutorial dataset, ready for every todo-app walkthrough ever written.

https://jsonconsole.com/api/todos.json
60 records9 KBCORS: *
Download todos.json·Free for any use, no attribution required (CC0). Endpoint is stable - safe to use in tutorials and READMEs.

Preview

[
  {
    "id": 1,
    "title": "Test the onboarding email",
    "completed": false,
    "priority": "high",
    "userId": 31,
    "dueDate": "2026-04-27"
  },
  {
    "id": 2,
    "title": "Design error handling",
    "completed": false,
    "priority": "high",
    "userId": 18,
    "dueDate": "2026-02-20"
  },
  {
    "id": 3,
    "title": "Ship the landing page",
    "completed": true,
    "priority": "high",
    "userId": 58,
    "dueDate": "2026-11-08"
  }
]

First 3 records shown - the full file has 60 records.

Fields

FieldTypeNotes
id / titlenumber / stringRealistic task titles
completedboolean~40% done
prioritystringlow | medium | high
userIdnumberForeign key into /api/users.json
dueDatestring (date)2026 dates

Fetch it in code

JavaScript
const res = await fetch(
  "https://jsonconsole.com/api/todos.json"
);
const data = await res.json();
Python
import requests

data = requests.get(
    "https://jsonconsole.com/api/todos.json"
).json()

What this dataset is good for

  • Todo-app tutorials (React/Vue/Svelte) without a backend
  • Testing checkbox state, filters (done/priority), and date sorting
  • Teaching fetch + render loops with an approachable schema

More sample data

You might also need

Free and in-browser, like everything on JSON Console. Browse all tools →