Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

JSONPlaceholder Todos API

200 sample todo items owned by users

JSONPlaceholder Todos API is one of 6 APIs that JSONPlaceholder publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 12 JSON Schema definitions.

Tagged areas include Todos. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a getting-started guide, a JSON-LD context, and 12 JSON Schemas.

This API exposes 7 operations across 3 paths, and defines 2 schemas. It is described by OpenAPI 3.0.3, at version 1.0.0.

Requests are made against a single base URL, https://jsonplaceholder.typicode.com.

7 operations 3 paths 2 schemas 1 DELETE3 GET1 PATCH1 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
1.0.0
Base URL
https://jsonplaceholder.typicode.com
Contact
License
Resource Areas
1

Paths & Operations 7

Across 3 paths, the API surfaces 7 operations — 1 DELETE, 3 GET, 1 PATCH, 1 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Todos 7

200 sample todo items owned by users

GET
/todos
JSONPlaceholder List Todos
listTodos 2 params → 200
POST
/todos
JSONPlaceholder Create Todo
createTodo body → 201
GET
/todos/{id}
JSONPlaceholder Get Todo
getTodo 1 param → 200
PUT
/todos/{id}
JSONPlaceholder Replace Todo
replaceTodo 1 param body → 200
PATCH
/todos/{id}
JSONPlaceholder Update Todo
updateTodo 1 param body → 200
DELETE
/todos/{id}
JSONPlaceholder Delete Todo
deleteTodo 1 param → 200
GET
/users/{id}/todos
JSONPlaceholder List User Todos
listUserTodos 1 param → 200

Schemas 2

The contract defines 2 schemas that model the data the API accepts and returns. The most detailed are Todo (4 properties), TodoInput (3 properties). Each schema is shown below with its type and property counts.

Todo
object
A sample todo item owned by a user.
4 properties 4 required
TodoInput
object
Payload for creating or partially updating a todo.
3 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

jsonplaceholder-todos-api-openapi.yml Raw ↑

Other APIs JSONPlaceholder publishes across the network.

JSONPlaceholder Albums API
JSONPlaceholder Comments API
JSONPlaceholder Photos API
JSONPlaceholder Posts API
JSONPlaceholder Users API