List post comments (v2)
Deprecated: use /v1/reddit/post-comments → instead. Returns top-level comments for required post_id_or_url. Use sort_type for ordering and after for pagination.
2 credits / requestBilled only on success
Deprecated
Authorization
ApiKeyAuth x-api-key<token>
In: header
Query Parameters
post_id_or_url*string
The post's reddit.com permalink, or its id (1uw2gep) or fullname (t3_1uw2gep).
Length
1 <= lengthsort_type?string
Comment sort order.
Value in
- "CONFIDENCE"
- "NEW"
- "TOP"
- "HOT"
- "CONTROVERSIAL"
- "OLD"
- "RANDOM"
after?string
Cursor from the previous response used to fetch the next page.
curl -X GET "https://example.com/v2/reddit/post/comments?post_id_or_url=https%3A%2F%2Fwww.reddit.com%2Fr%2Fpics%2Fcomments%2F1uw2gep%2F" \ -H "x-api-key: YOUR_API_KEY"{ "data": { "id": "string", "commentCount": 0, "commentForest": { "property1": null, "property2": null }, "property1": null, "property2": null }, "details": { "reason": "string", "message": "string" }}