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

The Posts API from JSONPlaceholder — 2 operation(s) for posts.

JSONPlaceholder Posts API is published by JSONPlaceholder on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Posts. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 5 operations across 2 paths, and defines 1 schema. It is described by OpenAPI 3.0.2, at version 1.0.

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

5 operations 2 paths 1 schemas 1 DELETE2 GET1 PATCH1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.2
API Version
1.0
Base URL
https://jsonplaceholder.typicode.com
Resource Areas
1

Paths & Operations 5

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

Posts 5
GET
/posts
Get posts
list-posts 2 params → 200
POST
/posts
Create post
body → 201
GET
/posts/{post-id}
Get post by ID
1 param → 200
PATCH
/posts/{post-id}
Update post
1 param body → 200
DELETE
/posts/{post-id}
Delete post
1 param → 200

Schemas 1

The contract defines 1 schema that model the data the API accepts and returns. The most detailed is post (4 properties). Each schema is shown below with its type and property counts.

post
object
4 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

json-placeholder-posts-api-openapi.yml Raw ↑