{id}: Get a comment by ID

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

Description

Returns a complete comment object including postId, name, email, and body. Use this to fetch a specific comment when you know its ID.

From spec: Returns a single comment by its ID

Usage Tips

- Comment IDs range from 1-500 - Returns 404 if comment ID does not exist - The postId field links to the parent post

Parameters (1)

id (integer, path, required)

The comment ID

Examples (1)

Get comment #1 details probe-gate

Demonstrates fetching a specific comment by ID including author details

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

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

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

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

Probe History

Latency

Status Codes

TimeStatusLatencySize
2026-04-16 01:19:35.847333 200 140ms
2026-04-15 03:19:27.917962 200 151ms
2026-04-14 03:27:46.464794 200 126ms
2026-04-12 14:04:53.863137 200 116ms
2026-04-10 02:20:55.194010 200 493ms
2026-04-09 00:30:11.356378 200 140ms