How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

JSONPlaceholder Comments API

500 sample comments belonging to posts

JSONPlaceholder Comments API is one of 7 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.2.0, 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.2.0
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.

Comments 7

500 sample comments belonging to posts

GET
/posts/{id}/comments
JSONPlaceholder List Post Comments
listPostComments 1 param → 200
GET
/comments
JSONPlaceholder List Comments
listComments 1 param → 200
POST
/comments
JSONPlaceholder Create Comment
createComment body → 201
GET
/comments/{id}
JSONPlaceholder Get Comment
getComment 1 param → 200
PUT
/comments/{id}
JSONPlaceholder Replace Comment
replaceComment 1 param body → 200
PATCH
/comments/{id}
JSONPlaceholder Update Comment
updateComment 1 param body → 200
DELETE
/comments/{id}
JSONPlaceholder Delete Comment
deleteComment 1 param → 200

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.

CommentInput
object
Payload for creating or partially updating a comment.
4 properties
Comment
object
A sample comment attached to a post.
5 properties 5 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

jsonplaceholder-comments-api-openapi.yml Raw ↑

Other APIs JSONPlaceholder publishes across the network.

JSONPlaceholder Albums API
JSONPlaceholder Photos API
JSONPlaceholder Posts API
JSONPlaceholder Todos API
JSONPlaceholder Users API
JSONPlaceholder
Where this information came from

This is an independent, third-party profile of JSONPlaceholder Comments API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.