comments: Get comments for a post

API: typicode.com:jsonplaceholder
Endpoint: /posts/{id}/comments
Response format: application/json
Auth: unknown
Method: GET
Last Status: 200
Latency: 128ms

Description

Returns an array of comment objects for the specified post. Each comment includes the commenter's name, email, and body text. Use this to display a comment thread for a post.

From spec: Returns all comments associated with a specific post

Usage Tips

- Returns empty array [] if post has no comments - Comments are sorted by ID (oldest first) - Each comment includes postId to link back to parent

Parameters (1)

id (integer, path, required)

The post ID

Examples (1)

Get all comments for post #1 probe-gate

Demonstrates fetching the comment thread for a specific blog post

curl 'https://jsonplaceholder.typicode.com/posts/1/comments'
import requests

resp = requests.get("https://jsonplaceholder.typicode.com/posts/1/comments")
data = resp.json()
import zingu_apis

api = zingu_apis.api("typicode")
result = api.fetch("posts/{id}/comments")

for item in result:
    print(item)
const resp = await fetch("https://jsonplaceholder.typicode.com/posts/1/comments");
const data = await resp.json();

Probe History

Latency

Status Codes

TimeStatusLatencySize
2026-04-16 02:10:49.642592 200 128ms
2026-04-15 02:19:17.111453 200 146ms
2026-04-14 02:51:28.272875 200 138ms
2026-04-12 16:09:40.816072 200 129ms
2026-04-10 00:16:43.138104 200 683ms
2026-04-09 03:25:59.431791 200 128ms