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 Users API

10 sample users with profile, address, and company metadata

JSONPlaceholder Users 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 Users. 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 9 operations across 5 paths, and defines 8 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.

9 operations 5 paths 8 schemas 1 DELETE5 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 9

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

Users 9

10 sample users with profile, address, and company metadata

GET
/users
JSONPlaceholder List Users
listUsers → 200
POST
/users
JSONPlaceholder Create User
createUser body → 201
GET
/users/{id}
JSONPlaceholder Get User
getUser 1 param → 200
PUT
/users/{id}
JSONPlaceholder Replace User
replaceUser 1 param body → 200
PATCH
/users/{id}
JSONPlaceholder Update User
updateUser 1 param body → 200
DELETE
/users/{id}
JSONPlaceholder Delete User
deleteUser 1 param → 200
GET
/users/{id}/posts
JSONPlaceholder List User Posts
listUserPosts 1 param → 200
GET
/users/{id}/albums
JSONPlaceholder List User Albums
listUserAlbums 1 param → 200
GET
/users/{id}/todos
JSONPlaceholder List User Todos
listUserTodos 1 param → 200

Schemas 8

The contract defines 8 schemas that model the data the API accepts and returns. The most detailed are User (8 properties), UserInput (7 properties), Address (5 properties), Todo (4 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
User
object
A sample user with profile, address, and company metadata.
8 properties 4 required
UserInput
object
Payload for creating or partially updating a user.
7 properties
Address
object
Street, city, postal code, and geo coordinates.
5 properties
Album
object
A sample photo album owned by a user.
3 properties 3 required
Geo
object
Latitude and longitude (strings in the JSONPlaceholder dataset).
2 properties
Company
object
User's company affiliation.
3 properties
Post
object
A sample blog post owned by a user.
4 properties 4 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

jsonplaceholder-users-api-openapi.yml Raw ↑

Other APIs JSONPlaceholder publishes across the network.

JSONPlaceholder Albums API
JSONPlaceholder Comments API
JSONPlaceholder Photos API
JSONPlaceholder Posts API
JSONPlaceholder Todos API