{
"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}'
साइन अप करने के बाद, प्रत्येक डेवलपर को एक पर्सनल API एक्सेस की असाइन की जाती है, जो अक्षरों और अंकों का एक यूनिक संयोजन होता है, जिसका उपयोग हमारे API एंडपॉइंट तक पहुंचने के लिए किया जाता है। प्रमाणीकरण के लिए रेडिट स्क्रैपर API के साथ बस अपने बेयरर टोकन को Authorization हेडर में शामिल करें।
| हेडर | विवरण |
|---|---|
Authorization
|
आवश्यक
होना चाहिए Bearer access_key. जब आप सब्सक्राइब हों तो ऊपर "Your API Access Key" देखें।
|
कोई लंबी अवधि की प्रतिबद्धता नहीं। कभी भी अपग्रेड, डाउनग्रेड या कैंसल करें। फ्री ट्रायल में 50 रिक्वेस्ट तक शामिल हैं।
Reddit सबरेडिट पोस्ट, खोज परिणाम और उसकी दिखाई देने वाली टिप्पणियों, स्कोर और जवाब के लिंक सहित एक पोस्ट इकट्ठा करें
API सबरेडिट सूची पोस्ट Reddit खोज परिणाम और दिखाई देने वाली टिप्पणियों के साथ व्यक्तिगत पोस्ट डेटा लौटाता है पोस्ट रिकॉर्ड में शीर्षक पाठ लेखक सबरेडिट नाम स्कोर टिप्पणी संख्या लिंक टाइमस्टैम्प डोमेन फ्लेयर NSFW या स्पॉइलर फ़्लैग और क्रॉसपोस्ट संख्या शामिल हो सकती हैं
API क्वेरी पैरामीटर वाले GET अनुरोधों और JSON बॉडी वाले POST अनुरोधों, दोनों का समर्थन करता है दोनों तरीके सबरेडिट सूचियों, वैश्विक या समुदाय खोजों और पोस्ट या टिप्पणी डेटा तक पहुँच प्रदान करते हैं
सबरेडिट क्रमबद्ध करने का तरीका और समयावधि चुनने के लिए सूची विकल्पों का उपयोग करें ये नियंत्रण आपको समुदाय की सामग्री के अलग-अलग दृश्य प्राप्त करने देते हैं जैसे कि चुनी गई अवधि की रैंक के अनुसार व्यवस्थित पोस्ट
खोज वैश्विक स्तर पर या किसी विशिष्ट समुदाय के भीतर की जा सकती है। खोज अनुरोध कर्सर पृष्ठांकन का समर्थन करते हैं, जिससे आप पिछले प्रतिसाद में लौटाए गए कर्सर का उपयोग करके परिणामों के अगले समूह का अनुरोध कर सकते हैं
परिणाम `post` या `comment` जैसे प्रकार से पहचानी गई पंक्तियों के रूप में लौटाए जाते हैं पोस्ट में सार्वजनिक परमालिंक और सामग्री का मेटाडेटा शामिल होता है जबकि टिप्पणियों में दिखाई देने वाला पाठ स्कोर लेखक और उत्तर के लिंक या संबंध शामिल हो सकते हैं
GET प्रतिक्रियाओं में शीर्ष स्तर पर `items` ऐरे होता है POST प्रतिक्रियाओं में `items` ऐरे को `data` ऑब्जेक्ट के भीतर रखा जाता है प्रत्येक आइटम एक संरचित रिकॉर्ड होता है और `rank` तथा `position` जैसे फ़ील्ड उसके परिणाम क्रम को दर्शा सकते हैं
`id` Reddit का पहचानकर्ता है, `url` सार्वजनिक Reddit परमालिंक है, और `link_url` लिंक किया गया मीडिया या गंतव्य है `score` प्रदर्शित स्कोर है, `comments_count` टिप्पणियों की कुल संख्या है, `created_at` ISO 8601 टाइमस्टैम्प है, और `is_nsfw`, `is_spoiler`, और `is_promoted` सामग्री फ़्लैग हैं
खाली `items` ऐरे को कोई मेल खाने वाले या उपलब्ध रिकॉर्ड न होने के रूप में मानें कुछ फ़ील्ड null हो सकते हैं जैसे लिंक पोस्ट के लिए `selftext` उपयोग करने से पहले प्रत्येक फ़ील्ड की जाँच करें और जब अधिक परिणाम उपलब्ध हों तो खोज जारी रखने के लिए लौटाए गए पेजिनेशन कर्सर का उपयोग करें