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

100 sample photo albums owned by users

JSONPlaceholder Albums 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 Albums. 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 8 operations across 4 paths, and defines 3 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.

8 operations 4 paths 3 schemas 1 DELETE4 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 8

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

Albums 8

100 sample photo albums owned by users

GET
/albums
JSONPlaceholder List Albums
listAlbums 1 param → 200
POST
/albums
JSONPlaceholder Create Album
createAlbum body → 201
GET
/albums/{id}
JSONPlaceholder Get Album
getAlbum 1 param → 200
PUT
/albums/{id}
JSONPlaceholder Replace Album
replaceAlbum 1 param body → 200
PATCH
/albums/{id}
JSONPlaceholder Update Album
updateAlbum 1 param body → 200
DELETE
/albums/{id}
JSONPlaceholder Delete Album
deleteAlbum 1 param → 200
GET
/albums/{id}/photos
JSONPlaceholder List Album Photos
listAlbumPhotos 1 param → 200
GET
/users/{id}/albums
JSONPlaceholder List User Albums
listUserAlbums 1 param → 200

Schemas 3

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

Photo
object
A sample photo belonging to an album.
5 properties 5 required
AlbumInput
object
Payload for creating or partially updating an album.
2 properties
Album
object
A sample photo album owned by a user.
3 properties 3 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

jsonplaceholder-albums-api-openapi.yml Raw ↑

Other APIs JSONPlaceholder publishes across the network.

JSONPlaceholder Comments API
JSONPlaceholder Photos API
JSONPlaceholder Posts API
JSONPlaceholder Todos API
JSONPlaceholder Users API