Scrape V2
Comment Detail by ID V2
Fetch full details for a single comment: score, author, flair, awards, content, vote state, permalink, and moderation info. Unlike Comment and Replies, returns
GET /api/v2/comment-detail
Fetch full details for a single comment: score, author, flair, awards, content, vote state, permalink, and moderation info. Unlike Comment and Replies, returns only the comment itself with no children.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
comment_id | string | Yes | Comment URL, t1_ID, or raw ID (e.g. ocls9cs, t1_ocls9cs, reddit.com/.../comment/ocls9cs/) |
Authentication
| Header | Value |
|---|---|
X-RapidAPI-Key | Your RapidAPI key |
X-RapidAPI-Host | red-crawler1.p.rapidapi.com |
Example request
cURL
curl -X GET "https://red-crawler1.p.rapidapi.com/api/v2/comment-detail?comment_id=xyz789" \
-H "X-RapidAPI-Key: YOUR_RAPIDAPI_KEY" \
-H "X-RapidAPI-Host: red-crawler1.p.rapidapi.com"JavaScript
const res = await fetch("https://red-crawler1.p.rapidapi.com/api/v2/comment-detail?comment_id=xyz789", {
method: "GET",
headers: {
"X-RapidAPI-Key": "YOUR_RAPIDAPI_KEY",
"X-RapidAPI-Host": "red-crawler1.p.rapidapi.com"
}
});
const data = await res.json();
console.log(data);Python
import requests
url = "https://red-crawler1.p.rapidapi.com/api/v2/comment-detail?comment_id=xyz789"
headers = {
"X-RapidAPI-Key": "YOUR_RAPIDAPI_KEY",
"X-RapidAPI-Host": "red-crawler1.p.rapidapi.com"
}
resp = requests.get(url, headers=headers)
print(resp.json())Example response
HTTP 200 — captured from a live call to the gateway.
{
"success": true,
"data": {
"success": true,
"comment": {
"id": "t1_oiy6wsi",
"createdAt": "2026-04-29T14:49:55.949000+0000",
"editedAt": null,
"isAdminTakedown": false,
"isRemoved": false,
"parent": null,
"postInfo": {
"id": "t3_1sz0n4g",
"title": "the final boss of the mountain has arrived",
"isNsfw": false,
"subreddit": {
"id": "t5_2qhta",
"name": "cats",
"prefixedName": "r/cats",
"allowedMediaInComments": [
"GIPHY",
"STATIC",
"ANIMATED",
"EXPRESSION"
],
"isQuarantined": false,
"styles": {
"icon": "https://styles.redditmedia.com/t5_2qhta/styles/communityIcon_2fsd7ji8awg91.png?width=64&height=64&frame=1&auto=webp&crop=64:64,smart&s=1f847a667b56b3df70201fedca5db1b439371d7b",
"legacyIcon": {
"url": "https://b.thumbs.redditmedia.com/tAT1hlAs4s7wGyszOHRrTVGNOnyZZWazTv6QEtlUHiQ.png",
"dimensions": {
"width": 256,
"height": 256
}
},
"primaryColor": "#FE3F00",
"legacyPrimaryColor": "#DDBD37"
}
}
},
"isLocked": false,
"isInitiallyCollapsed": false,
"initiallyCollapsedReason": null,
"content": {
"markdown": "She looks fancy ",
"preview": "She looks fancy",
"richtext": "{\"document\":[{\"c\":[{\"e\":\"text\",\"t\":\"She looks fancy\"}],\"e\":\"par\"}]}",
"typeHint": "TEXT",
"richtextMedia": [],
"translationInfo": {
"isTranslated": false,
"translatedLanguage": null
}
},
"isTranslatable": false,
"languageCode": "en",
"authorInfo": {
"id": "t2_1wu4aye27v",
"name": "Wide-Ice-6247",
"isBlocked": false,
"isCakeDayNow": false,
"attributes": {},
"newIcon": {
"url": "https://www.redditstatic.com/avatars/defaults/v2/avatar_default_3.png",
"dimensions": {
"width": 256,
"height": 256
}
},
"iconSmall": {
"url": "https://www.redditstatic.com/avatars/defaults/v2/avatar_default_3.png",
"dimensions": {
"width": 256,
"height": 256
}
},
"snoovatarIcon": null,
"profile": {
"isNsfw": false
},
"accountType": "USER"
},
"score": 17,
"voteState": "NONE",
"authorFlair": null,
"isSaved": false,
"isStickied": false,
"isScoreHidden": false,
"isArchived": false,
"distinguishedAs": null,
"permalink": "/r/cats/comments/1sz0n4g/the_final_boss_of_the_mountain_has_arrived/oiy6wsi/",
"moderationInfo": null,
"isCommercialCommunication": false,
"removedByCategory": null
}
},
"error": null,
"timestamp": "2026-04-29T19:07:46.888854+00:00"
}