{"uid":"cap_cPG3OAnoeDVCOecI4oA0o","slug":"reddit-scraper-via-stableapify-dev-harshmaur-reddit-scraper-307f5133","name":"Reddit Scraper via stableapify.dev (harshmaur/reddit-scraper)","description":"Start the \"Reddit Scraper - MCP, AI, PPR\" Apify actor (harshmaur/reddit-scraper). Reddit Scraper lets you extract posts, comments, users, and communities without API rate limits. With a flexible pay-per-result model, it’s perfect for one-tim…","url":"https://stableapify.dev/api/actors/harshmaur/reddit-scraper/call","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"object","required":["searchTerms","searchPosts","searchComments","searchCommunities","withinCommunity","searchSort","searchTime","startUrls","fastMode","crawlCommentsPerPost","includeNSFW","maxPostsCount","maxCommentsCount","maxCommentsPerPost","maxCommunitiesCount","proxy"],"properties":{"proxy":{"type":"object","default":{"useApifyProxy":true,"apifyProxyGroups":["RESIDENTIAL"]},"properties":{"proxyUrls":{"type":"array","items":{"type":"string"}},"useApifyProxy":{"type":"boolean"},"apifyProxyGroups":{"type":"array","items":{"type":"string"}},"apifyProxyCountry":{"type":"string"}},"description":"Either use Apify proxy, or provide your own proxy servers.","additionalProperties":{}},"fastMode":{"type":"boolean","default":true,"description":"Speeds up scraping of search page URLs at the cost of some accuracy — some posts may be missed. Disable if you need exact results matching what you see on Reddit. Search Keywords always use fast mode automatically."},"startUrls":{"type":"array","items":{"type":"object","required":["url"],"properties":{"url":{"type":"string","format":"uri"},"method":{"type":"string"},"headers":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"payload":{"type":"string"},"userData":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"additionalProperties":false},"default":[],"description":"Add one or more Reddit URLs to scrape directly. Supports post URLs, subreddit URLs, user profile URLs, and search page URLs. The Search Keywords options above (sort, time, community filter) do NOT apply to these URLs."},"searchSort":{"enum":["","relevance","hot","top","new","comments"],"type":"string","default":"new","description":"Controls how keyword search results are ranked. Only applies to Search Keywords, not Direct URLs."},"searchTime":{"enum":["all","hour","day","week","month","year"],"type":"string","default":"all","description":"Limit keyword search results to posts from a specific time window. Only applies to Search Keywords."},"includeNSFW":{"type":"boolean","default":false,"description":"Include posts marked as Not Safe For Work in results. Applies to both Search Keywords and Direct URLs."},"searchPosts":{"type":"boolean","default":true,"description":"Include posts in keyword search results."},"searchTerms":{"type":"array","items":{"type":"string"},"default":[],"description":"Enter one or more keywords to search Reddit (e.g. \"best laptops 2025\", \"AI news\"). Each keyword runs as a separate search. Leave empty if you only want to scrape Direct URLs below."},"maxPostsCount":{"type":"integer","default":10,"maximum":900,"minimum":0,"description":"Maximum number of posts to save across all search results, subreddit pages, and user profiles. Max: 900."},"searchComments":{"type":"boolean","default":false,"description":"Include comments in keyword search results."},"withinCommunity":{"type":"string","default":"","description":"Restrict keyword search to a single subreddit. Enter in format: r/developers. Leave empty to search all of Reddit. Only applies to Search Keywords."},"maxCommentsCount":{"type":"integer","default":10,"maximum":9007199254740991,"minimum":0,"description":"Maximum comments returned from keyword search (when 'Search for comments' is enabled). Does not affect per-post comment scraping."},"searchCommunities":{"type":"boolean","default":false,"description":"Include communities (subreddits) in keyword search results."},"maxCommentsPerPost":{"type":"integer","default":10,"maximum":9007199254740991,"minimum":0,"description":"Maximum comments to scrape per individual post (when 'Scrape comments for each post' is enabled)."},"maxCommunitiesCount":{"type":"integer","default":2,"maximum":9007199254740991,"minimum":0,"description":"Maximum communities returned from keyword search (when 'Search for communities' is enabled)."},"crawlCommentsPerPost":{"type":"boolean","default":false,"description":"When enabled, comments will be collected for every post found from both Search Keywords and Direct URLs. This significantly increases run time and data output."}},"description":"Normalized actor input. See field descriptions for the simplified shape; native Apify input also accepted (passed through).","additionalProperties":{}},"options":{"type":"object","properties":{"build":{"type":"string","maxLength":100,"minLength":1},"memory":{"type":"integer","maximum":32768,"minimum":128},"maxItems":{"type":"integer","maximum":100000,"minimum":1}},"description":"Optional Apify run options.","additionalProperties":false}}},"responseSchema":null,"example":{"request":{"input":{"username":"sarptecimer","includeEmail":false},"options":{"memory":1024,"maxItems":100}},"response":{"run":{"id":"o45aI7blXOAd0OALH","status":"READY","actorId":"9sHOY9RzPYGjmTHo8","startedAt":"2026-06-16T17:45:10.770Z","usageTotalUsd":0,"defaultDatasetId":"DvTJW20nc13dogQWt"},"token":"eyJhbGciOiJIUzI1NiJ9.eyJydW5JZCI6Im80NWFJN2JsWE9BZDBPQUxIIiwiYWN0b3JJZCI6ImhhcnNobWF1ci9yZWRkaXQtc2NyYXBlciIsImRlZmF1bHREYXRhc2V0SWQiOiJEdlRKVzIwbmMxM2RvZ1FXdCIsInciOiIweDljYzQyZjNkOTI0NWI4NjdhY2NjZDYzMGI0M2Y5MDZjMTY2NWIxNzYiLCJpYXQiOjE3ODE2MzE5MTAsImV4cCI6MTc4NDIyMzkxMH0.ev1UCcHog1SG3jM8G5UIJKyxH-G40vFEi1RAGG9h_ck"}},"exampleRequest":{"input":{"username":"sarptecimer","includeEmail":false},"options":{"memory":1024,"maxItems":100}},"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_aVvXnNBtyMq78CHy5Mru3","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Starts an Apify actor run that scrapes Reddit posts, comments, users, and communities without API rate limits, returning a run ID and dataset token for result retrieval.","exampleAgentPrompt":"Scrape the Reddit profile for user 'sarptecimer' — get up to 100 items, use 1024 MB memory, and don't include email addresses.","exampleUseCases":[{"title":"Reddit user activity research","prompt":"Can you scrape all recent posts and comments from Reddit user 'sarptecimer'? I need up to 100 items with 1024 MB memory allocated."},{"title":"Subreddit content extraction","prompt":"Extract the top posts from the r/MachineLearning subreddit — grab up to 200 items so I can analyze trending topics there."},{"title":"Competitor brand monitoring","prompt":"Scrape Reddit for any posts or comments mentioning 'OpenAI' across communities — I want up to 500 items to monitor what people are saying about them."}],"resultDescription":"Returns a JSON object containing the Apify actor run details: a run ID, status (e.g. READY), actor ID, start timestamp, total usage in USD, default dataset ID for retrieving results, and a signed JWT token used to poll or fetch the scraped dataset once the run completes.","failureModes":["Invalid username or subreddit returns an empty dataset or actor error","Insufficient memory setting causes actor run to fail mid-scrape","Payment failure (x402) prevents actor from starting","Exceeding maxItems cap truncates results silently","Actor run enters FAILED or TIMED-OUT status if Reddit blocks the scraper","Token expiry before dataset retrieval prevents accessing results"],"whenToPreferThis":"Choose this endpoint when you need to extract Reddit data — posts, comments, users, or communities — at scale without worrying about Reddit's native API rate limits. It is ideal for one-time bulk extractions, pay-per-result workflows, or when building pipelines that require flexible Reddit data without managing OAuth credentials or API quotas. Prefer this over the Reddit official API when you need higher volume, no authentication setup, or a pay-as-you-go cost model.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:43:05.810Z","isFirstParty":false}