Endpoint Playground
Test Crawlora's Reddit Comments API with realistic prefilled parameters. Generate a cURL request, inspect the expected structured JSON response, and open the full docs or pricing page when you are ready to integrate this public web data extraction endpoint into your application.
curl "https://api.crawlora.net/api/v1/reddit/comments/<id>?sort=confidence" \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| id (path) | string | Yes | Reddit post id or t3_ id | |
| sort | string | No | confidence | Comment order: confidence, top, new, controversial, old, or qa. Applied to the anonymous HTML request when metrics are enabled. |
| limit | integer | No | Maximum comments returned, defaults to 25 and clamps to 100 | |
| depth | integer | No | Maximum flat comment depth returned in metrics mode. | |
| include_metrics | boolean | No | Include public post and per-comment engagement metrics; costs 3 credits instead of 1 |
{
"code": 200,
"msg": "OK",
"data": {
"post": {
"id": "1tka90t",
"name": "t3_1tka90t",
"score": 78,
"upvote_ratio": 1,
"comment_count": 15
},
"comments": [
{
"id": "on8jv87",
"name": "t1_on8jv87",
"parent_id": "t3_1tka90t",
"body": "well done! I am working on reversing Turnstile as well.",
"score": 7,
"award_count": 0
}
],
"source": {
"type": "html",
"url": "https://www.reddit.com/comments/1tka90t/"
},
"metrics_source": {
"type": "html",
"url": "https://www.reddit.com/comments/1tka90t/"
}
}
}Public Playground
Sample responses, schemas, request previews, and code snippets are visible before sign in. Create an account when you are ready to save an API key and run authenticated requests.
Returns a Reddit post with its public comments. The default 1-credit mode uses RSS. Set `include_metrics=true` to use the anonymous HTML post page as the sole content request and return the server-rendered comments with public net score and award count plus post engagement metrics for 3 credits. Large threads may expose only an initial comment subset in anonymous HTML. Reddit does not expose per-comment upvote ratios or exact upvote/downvote totals anonymously. A post that exists but has no comments yet returns a 200 response with an empty comments list; a post that does not exist returns 404, and a temporary block or upstream failure returns 503 (retryable) rather than 404.
{
"code": 200,
"msg": "OK",
"data": {
"post": {
"id": "1tka90t",
"name": "t3_1tka90t",
"score": 78,
"upvote_ratio": 1,
"comment_count": 15
},
"comments": [
{
"id": "on8jv87",
"name": "t1_on8jv87",
"parent_id": "t3_1tka90t",
"body": "well done! I am working on reversing Turnstile as well.",
"score": 7,
"award_count": 0
}
],
"source": {
"type": "html",
"url": "https://www.reddit.com/comments/1tka90t/"
},
"metrics_source": {
"type": "html",
"url": "https://www.reddit.com/comments/1tka90t/"
}
}
}curl "https://api.crawlora.net/api/v1/reddit/comments/<id>" \
-H "x-api-key: $CRAWLORA_API_KEY"