{"uid":"cap_fWj3EJnwBOa0GTeKs1jly","slug":"reddit-posts-scraper-api-x402-pay-per-call-b00fbb14","name":"Reddit Posts Scraper API (x402 Pay-per-call)","description":"Pay-per-call structured web data. Failed or empty runs are not charged.","url":"https://x402.186-241-26-229.sslip.io/v1/reddit-posts?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"sort":{"enum":["best","top","new","old","controversial","qa"],"type":"string","default":"best","description":"Order comments from the scanned archive records. Best uses score as an approximation; Q&A puts original-poster comments first."},"filter":{"enum":["","answered","unanswered"],"type":"string","default":"","description":"Keep only threads answered by the original poster or only unanswered threads. Applies to scanned comments."},"postUrl":{"type":"string","description":"One public Reddit post URL, redd.it link, or post ID."},"queries":{"type":"array","items":{"type":"string"},"default":[],"description":"Find archived public posts by keyword when no URLs are supplied."},"maxItems":{"type":"integer","default":0,"minimum":0,"description":"Maximum combined post and comment rows. Set 0 for no output cap."},"postUrls":{"type":"array","items":{"type":"string"},"default":[],"description":"Multiple public post URLs or IDs to collect in one run."},"postUrlsFile":{"type":"string","description":"HTTPS URL of a TXT file with one post per line or CSV with a url or permalink column, up to 5 MB."},"maxScanPerPost":{"type":"integer","default":1000,"maximum":10000,"minimum":100,"description":"Maximum comments to scan per post before sorting; extended scan raises this to at least 10,000."},"maxPostsPerQuery":{"type":"integer","default":25,"maximum":1000,"minimum":1,"description":"Maximum matching posts to collect for each search keyword."},"expandAllComments":{"type":"boolean","default":false,"description":"Scan up to 10,000 archived comments per post before sorting and filtering. This cannot recover comments absent from the archive."},"maxCommentsPerPost":{"type":"integer","default":200,"minimum":0,"description":"Maximum comment rows per post. Set 0 to keep all scanned comments."}}},"responseSchema":{"type":"json","example":{"count":1,"items":[{"id":null,"_type":null,"title":null,"author":null,"_status":null,"postUrl":null,"_post_id":null,"subreddit":null}],"product":"reddit-posts"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.025","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.025/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.025","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.025","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Ceud6XzcSS35gXr1IWCGO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.025","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches structured Reddit post and comment data by URL, post ID, or keyword search, billed per successful call via x402 micropayments.","exampleAgentPrompt":"Search Reddit for posts about 'mechanical keyboard switches', return up to 25 posts sorted by best, and include up to 200 comments per post.","exampleUseCases":[{"title":"Competitor sentiment research on Reddit","prompt":"Search Reddit for posts mentioning 'Notion AI' and grab up to 50 posts sorted by top, with 100 comments each — I want to see what users are saying about it."},{"title":"Fetch full comment thread from a specific post","prompt":"Pull all the comments from this Reddit post — https://www.reddit.com/r/personalfinance/comments/abc123/ — sorted by best, up to 500 comments total."},{"title":"Find unanswered questions in a subreddit","prompt":"Search Reddit for posts about 'sourdough starter troubleshooting', filter to only unanswered threads, and give me up to 30 posts with up to 50 comments each."}],"resultDescription":"Returns a JSON object with a count of results and an array of items, each representing a Reddit post or comment row including fields like post ID, title, author, post URL, subreddit, status, and post type. Only successful, non-empty runs are charged.","failureModes":["Empty result set if archived data is unavailable for the given URL or keyword — not charged","Invalid or private Reddit post URL returns an error or empty items","Keyword search returns no matching posts if terms are too narrow","Rate limits or archive gaps may result in partial comment coverage","postUrlsFile exceeding 5 MB will be rejected","maxScanPerPost below minimum of 100 is rejected by schema validation"],"whenToPreferThis":"Choose this endpoint when you need structured Reddit post and comment data at scale, with pay-per-successful-call pricing (no charge for empty runs), and you want flexible ingestion via URLs, post IDs, keyword search, or a bulk file. Prefer this over general web scrapers when your target is specifically Reddit content with control over comment sorting, filtering, and volume limits.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T00:46:28.090Z","isFirstParty":false,"canonicalSlug":"reddit-posts-scraper-api-x402-pay-per-call-b00fbb14"}