JSONPlaceholder Comments API
500 sample comments belonging to posts
JSONPlaceholder Comments 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 Comments. 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.
Metadata
The identity and technical contract details declared by the specification.
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.
500 sample comments belonging to posts
Schemas 2
The contract defines 2 schemas that model the data the API accepts and returns. The most detailed are Comment (5 properties), CommentInput (4 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from JSONPlaceholder 5
Other APIs JSONPlaceholder publishes across the network.