example-data.com
Menu
Browse docs and collections

todo-lists

todo-lists

Browse 250 todo-lists records. Explore sample records and fetch JSON over a free REST API for prototypes, tests, and learning.

Overview

Cards

Compact

Detailed

Books to Read

userId
Amina King @amina_king41
name
Books to Read
isArchived
true
createdAt
updatedAt

Learning Objectives

userId
Cayla Farrell @cayla_farrell
name
Learning Objectives
isArchived
true
createdAt
updatedAt

Personal Goals

userId
Brycen Bayer @brycen_bayer60
name
Personal Goals
isArchived
false
createdAt
updatedAt

Long-term Goals

userId
Einar Volkman @einar_volkman69
name
Long-term Goals
isArchived
true
createdAt
updatedAt

Showing first 6 of 24 on this page.

Request

curl example

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

JavaScript example

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

TypeScript example

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

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

Python example

import requests

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

Response

{
  "data": [
    {
      "id": 1,
      "userId": 2,
      "name": "Books to Read",
      "isArchived": true,
      "createdAt": "2025-05-25T18:37:17.603Z",
      "updatedAt": "2025-11-16T12:59:28.848Z"
    },
    {
      "id": 2,
      "userId": 3,
      "name": "Errands",
      "isArchived": false,
      "createdAt": "2025-11-10T23:04:53.556Z",
      "updatedAt": "2025-12-25T18:04:39.736Z"
    },
    {
      "id": 3,
      "userId": 4,
      "name": "Learning Objectives",
      "isArchived": true,
      "createdAt": "2025-09-25T11:11:25.730Z",
      "updatedAt": "2025-11-14T21:00:22.030Z"
    }
  ],
  "meta": {
    "page": 1,
    "limit": 25,
    "total": 250,
    "totalPages": 10
  },
  "links": {
    "self": "/api/v1/todo-lists?page=1",
    "first": "/api/v1/todo-lists?page=1",
    "last": "/api/v1/todo-lists?page=10",
    "next": "/api/v1/todo-lists?page=2",
    "prev": null
  }
}

View full response →