{
"items": [
{
"type": "post",
"id": "t3_g53lxf",
"title": "Lad wrote a Python script to download Alexa voice recordings, he didn't expect this email.",
"url": "https://www.reddit.com/r/Python/comments/g53lxf/lad_wrote_a_python_script_to_download_alexa_voice/",
"link_url": "https://i.redd.it/2s0dj8ob12u41.png",
"author": "iEslam",
"subreddit": "Python",
"score": 12343,
"comments_count": 133,
"created_at": "2020-04-20T23:11:39Z",
"domain": "i.redd.it",
"rank": 1,
"is_nsfw": false,
"is_promoted": false,
"is_spoiler": false,
"is_original_content": false,
"crossposts": 6,
"selftext": null,
"flair": "Discussion",
"author_fullname": "t2_g532u",
"position": 1,
"_type": "post",
"source": "reddit-scraper",
"platform": "reddit",
"fetched_at": "2026-10-02T10:07:17.035Z",
"short_id": "g53lxf",
"post_url": "https://www.reddit.com/r/Python/comments/g53lxf/lad_wrote_a_python_script_to_download_alexa_voice/",
"post_id": "g53lxf",
"text": "Lad wrote a Python script to download Alexa voice recordings, he didn't expect this email.",
"author_handle": "iEslam",
"author_id": "t2_g532u",
"posted_at": "2020-04-20T23:11:39Z",
"likes": 12343
},
{
"type": "post",
"id": "t3_hoolsm",
"title": "This post has:",
"url": "https://www.reddit.com/r/Python/comments/hoolsm/this_post_has/",
"link_url": "https://www.reddit.com/r/Python/comments/hoolsm/this_post_has/",
"author": "Krukerfluk",
"subreddit": "Python",
"score": 9232,
"comments_count": 429,
"created_at": "2020-07-10T13:06:13Z",
"domain": "self.Python",
"rank": 2,
"is_nsfw": false,
"is_promoted": false,
"is_spoiler": false,
"is_original_content": false,
"crossposts": 1,
"selftext": null,
"flair": "I Made This",
"author_fullname": "t2_4t5wv9jj",
"position": 2,
"_type": "post",
"source": "reddit-scraper",
"platform": "reddit",
"fetched_at": "2026-10-02T10:07:17.035Z",
"short_id": "hoolsm",
"post_url": "https://www.reddit.com/r/Python/comments/hoolsm/this_post_has/",
"post_id": "hoolsm",
"text": "This post has:",
"author_handle": "Krukerfluk",
"author_id": "t2_4t5wv9jj",
"posted_at": "2020-07-10T13:06:13Z",
"likes": 9232
}
],
"errors": [],
"partial": false,
"warnings": [],
"summary": {
"itemCount": 60,
"errorCount": 0,
"mode": "subreddit",
"pagesFetched": 3,
"postsReturned": 60,
"fetchedInSeconds": 10.99
},
"next_cursor": null
}
curl --location --request GET 'https://zylalabs.com/api/15170/reddit+scraper+api/40457/reddit+scraper+api+with+query+parameters?mode=subreddit&sort=hot&time=all&limit=50&retries=4' --header 'Authorization: Bearer YOUR_API_KEY'
{
"data": {
"items": [
{
"type": "post",
"id": "t3_g53lxf",
"title": "Lad wrote a Python script to download Alexa voice recordings, he didn't expect this email.",
"url": "https://www.reddit.com/r/Python/comments/g53lxf/lad_wrote_a_python_script_to_download_alexa_voice/",
"link_url": "https://i.redd.it/2s0dj8ob12u41.png",
"author": "iEslam",
"subreddit": "Python",
"score": 12339,
"comments_count": 133,
"created_at": "2020-04-20T23:11:39Z",
"domain": "i.redd.it",
"rank": 1,
"is_nsfw": false,
"is_promoted": false,
"is_spoiler": false,
"is_original_content": false,
"crossposts": 6,
"selftext": null,
"flair": "Discussion",
"author_fullname": "t2_g532u",
"position": 1,
"_type": "post",
"source": "reddit-scraper",
"platform": "reddit",
"fetched_at": "2026-11-21T11:14:06.044Z",
"short_id": "g53lxf",
"post_url": "https://www.reddit.com/r/Python/comments/g53lxf/lad_wrote_a_python_script_to_download_alexa_voice/",
"post_id": "g53lxf",
"text": "Lad wrote a Python script to download Alexa voice recordings, he didn't expect this email.",
"author_handle": "iEslam",
"author_id": "t2_g532u",
"posted_at": "2020-04-20T23:11:39Z",
"likes": 12339
},
{
"type": "post",
"id": "t3_hoolsm",
"title": "This post has:",
"url": "https://www.reddit.com/r/Python/comments/hoolsm/this_post_has/",
"link_url": "https://www.reddit.com/r/Python/comments/hoolsm/this_post_has/",
"author": "Krukerfluk",
"subreddit": "Python",
"score": 9232,
"comments_count": 429,
"created_at": "2020-07-10T13:06:13Z",
"domain": "self.Python",
"rank": 2,
"is_nsfw": false,
"is_promoted": false,
"is_spoiler": false,
"is_original_content": false,
"crossposts": 1,
"selftext": null,
"flair": "I Made This",
"author_fullname": "t2_4t5wv9jj",
"position": 2,
"_type": "post",
"source": "reddit-scraper",
"platform": "reddit",
"fetched_at": "2026-11-21T11:14:06.044Z",
"short_id": "hoolsm",
"post_url": "https://www.reddit.com/r/Python/comments/hoolsm/this_post_has/",
"post_id": "hoolsm",
"text": "This post has:",
"author_handle": "Krukerfluk",
"author_id": "t2_4t5wv9jj",
"posted_at": "2020-07-10T13:06:13Z",
"likes": 9232
},
{
"type": "post",
"id": "t3_gftejm",
"title": "I redesign the Python logo to make it more modern",
"url": "https://www.reddit.com/r/Python/comments/gftejm/i_redesign_the_python_logo_to_make_it_more_modern/",
"link_url": "https://i.redd.it/rxezjyf4ojx41.png",
"author": "jessjwilliamson",
"subreddit": "Python",
"score": 7870,
"comments_count": 262,
"created_at": "2020-05-08T13:39:09Z",
"domain": "i.redd.it",
"rank": 3,
"is_nsfw": false,
"is_promoted": false,
"is_spoiler": false,
"is_original_content": false,
"crossposts": 2,
"selftext": null,
"flair": "I Made This",
"author_fullname": "t2_2s1icki5",
"position": 3,
"_type": "post",
"source": "reddit-scraper",
"platform": "reddit",
"fetched_at": "2026-11-21T11:14:06.044Z",
"short_id": "gftejm",
"post_url": "https://www.reddit.com/r/Python/comments/gftejm/i_redesign_the_python_logo_to_make_it_more_modern/",
"post_id": "gftejm",
"text": "I redesign the Python logo to make it more modern",
"author_handle": "jessjwilliamson",
"author_id": "t2_2s1icki5",
"posted_at": "2020-05-08T13:39:09Z",
"likes": 7870
},
{
"type": "post",
"id": "t3_7kpme8",
"title": "Automate the boring stuff with python - tinder",
"url": "https://www.reddit.com/r/Python/comments/7kpme8/automate_the_boring_stuff_with_python_tinder/",
"link_url": "https://gfycat.com/PointlessSimplisticAmericanquarterhorse",
"author": "backprop88",
"subreddit": "Python",
"score": 6719,
"comments_count": 324,
"created_at": "2017-12-19T00:47:56Z",
"domain": "gfycat.com",
"rank": 4,
"is_nsfw": false,
"is_promoted": false,
"is_spoiler": false,
"is_original_content": false,
"crossposts": 3,
"selftext": null,
"flair": null,
"author_fullname": "t2_166doo",
"position": 4,
"_type": "post",
"source": "reddit-scraper",
"platform": "reddit",
"fetched_at": "2026-11-21T11:14:06.044Z",
"short_id": "7kpme8",
"post_url": "https://www.reddit.com/r/Python/comments/7kpme8/automate_the_boring_stuff_with_python_tinder/",
"post_id": "7kpme8",
"text": "Automate the boring stuff with python - tinder",
"author_handle": "backprop88",
"author_id": "t2_166doo",
"posted_at": "2017-12-19T00:47:56Z",
"likes": 6719
},
{
"type": "post",
"id": "t3_irh8l0",
"title": "I'm excited to share my first published book, Introduction to Python Programming for Business and Social Science Applications -- specifically geared towards students not specifically in computer science",
"url": "https://www.reddit.com/r/Python/comments/irh8l0/im_excited_to_share_my_first_published_book/",
"link_url": "https://i.redd.it/ebmh8z3c8rm51.png",
"author": "paulkaefer",
"subreddit": "Python",
"score": 6501,
"comments_count": 248,
"created_at": "2020-09-12T17:53:16Z",
"domain": "i.redd.it",
"rank": 5,
"is_nsfw": false,
"is_promoted": false,
"is_spoiler": false,
"is_original_content": false,
"crossposts": 1,
"selftext": null,
"flair": "Resource",
"author_fullname": "t2_bcj00",
"position": 5,
"_type": "post",
"source": "reddit-scraper",
"platform": "reddit",
"fetched_at": "2026-11-21T11:14:06.044Z",
"short_id": "irh8l0",
"post_url": "https://www.reddit.com/r/Python/comments/irh8l0/im_excited_to_share_my_first_published_book/",
"post_id": "irh8l0",
"text": "I'm excited to share my first published book, Introduction to Python Programming for Business and Social Science Applications -- specifically geared towards students not specifically in computer science",
"author_handle": "paulkaefer",
"author_id": "t2_bcj00",
"posted_at": "2020-09-12T17:53:16Z",
"likes": 6501
},
{
"type": "post",
"id": "t3_gn9add",
"title": "Drawing Mona Lisa with 256 circles using evolution [Github repo in comments]",
"url": "https://www.reddit.com/r/Python/comments/gn9add/drawing_mona_lisa_with_256_circles_using/",
"link_url": "https://v.redd.it/nyzyx7uyfwz41",
"author": "Itwist101",
"subreddit": "Python",
"score": 5719,
"comments_count": 117,
"created_at": "2020-05-20T10:58:14Z",
"domain": "v.redd.it",
"rank": 6,
"is_nsfw": false,
"is_promoted": false,
"is_spoiler": false,
"is_original_content": false,
"crossposts": 0,
"selftext": null,
"flair": "I Made This",
"author_fullname": "t2_1rvizv1g",
"position": 6,
"_type": "post",
"source": "reddit-scraper",
"platform": "reddit",
"fetched_at": "2026-11-21T11:14:06.044Z"
}
]
},
"_note": "Response truncated for documentation purposes"
}
curl --location --request POST 'https://zylalabs.com/api/15170/reddit+scraper+api/40458/reddit+scraper+api+with+a+json+request+body' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{"mode":"subreddit","subreddit":"python","sort":"top","time":"all","limit":60,"retries":4}'
After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Reddit Scraper API simply include your bearer token in the Authorization header.
| Header | Description |
|---|---|
Authorization
|
Required
Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.
|
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
Collect Reddit subreddit posts, search results and a post with its visible comments, scores and reply links.
The API returns subreddit listing posts, Reddit search results, and individual post data with visible comments. Post records can include titles, text, authors, subreddit names, scores, comment counts, links, timestamps, domains, flairs, NSFW or spoiler flags, and crosspost counts.
The API supports both GET requests with query parameters and POST requests with a JSON body. Both methods provide access to subreddit listings, global or community searches, and post or comment data.
Use the listing options to select a subreddit, sorting method, and time window. These controls let you retrieve different views of community content, such as ranked posts from a selected period.
Search can be performed globally or within a specific community. Search requests support cursor pagination, allowing you to request subsequent result sets using the cursor returned by the previous response.
Results are returned as rows identified by a type such as `post` or `comment`. Posts include public permalinks and content metadata, while comments can include visible text, scores, authors, and reply links or relationships.
GET responses expose an `items` array at the top level. POST responses place the `items` array inside a `data` object. Each item is a structured record, and fields such as `rank` and `position` can indicate its result order.
`id` is Reddit’s identifier, `url` is the public Reddit permalink, and `link_url` is the linked media or destination. `score` is the displayed score, `comments_count` is the comment total, `created_at` is an ISO 8601 timestamp, and `is_nsfw`, `is_spoiler`, and `is_promoted` are content flags.
Treat an empty `items` array as no matching or available records. Some fields may be null, such as `selftext` for link posts. Check each field before use, and use returned pagination cursors to continue searches when more results are available.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund