Endpoint Playground
Test Crawlora's Reddit Subreddit 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/subreddit/<subreddit>/comments" \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| subreddit (path) | string | Yes | Subreddit name, without r/ | |
| limit | integer | No | Maximum comments, defaults to 25 and clamps to 100 | |
| after | string | No | Reddit pagination token |
{
"code": 200,
"msg": "OK",
"data": {
"subreddit": "OpenAI",
"comments": [
{
"id": "kabc123",
"name": "t1_kabc123",
"parent_id": "t3_1abcxyz",
"author": {
"name": "commenter_one",
"profile_url": "https://www.reddit.com/user/commenter_one/"
},
"body": "I agree with this post.",
"permalink": "https://www.reddit.com/r/OpenAI/comments/1abcxyz/openai_discussion_thread/kabc123/",
"created": "2024-04-19T00:05:00Z"
}
],
"pagination": {
"limit": 25,
"after": "t1_kabc123"
},
"source": {
"type": "feed",
"url": "https://www.reddit.com/r/OpenAI/comments/?limit=25"
}
}
}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 flat public comment entries from a subreddit latest-comments feed.
{
"code": 200,
"msg": "OK",
"data": {
"subreddit": "OpenAI",
"comments": [
{
"id": "kabc123",
"name": "t1_kabc123",
"parent_id": "t3_1abcxyz",
"author": {
"name": "commenter_one",
"profile_url": "https://www.reddit.com/user/commenter_one/"
},
"body": "I agree with this post.",
"permalink": "https://www.reddit.com/r/OpenAI/comments/1abcxyz/openai_discussion_thread/kabc123/",
"created": "2024-04-19T00:05:00Z"
}
],
"pagination": {
"limit": 25,
"after": "t1_kabc123"
},
"source": {
"type": "feed",
"url": "https://www.reddit.com/r/OpenAI/comments/?limit=25"
}
}
}curl "https://api.crawlora.net/api/v1/reddit/subreddit/<subreddit>/comments" \
-H "x-api-key: $CRAWLORA_API_KEY"