{"uid":"cap_RA3gIIHf2kv4BZuSd3ZiO","slug":"reddit-comments-scraper-7141b1a6","name":"Reddit Comments Scraper","description":"Pay-per-call structured web data. Failed or empty runs are not charged.","url":"https://api.scrapeforagents.tech/v1/reddit-comments?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"maxItems":{"type":"integer","default":0,"minimum":0,"description":"Hard cap across posts and comments. Zero means no overall cap."},"postUrls":{"type":"array","default":[],"description":"Public Reddit post URLs, comment permalinks, or redd.it short post URLs. Each URL collects its parent post and archived comment tree. Share links using /s/ are not supported."},"includeNSFW":{"type":"boolean","default":false,"description":"Include archived posts flagged as 18+ and their comments."},"maxCommentsPerPost":{"type":"integer","default":1000,"maximum":10000,"minimum":1,"description":"Maximum archived comments to collect for each post, including replies. The post item is additional."}}},"responseSchema":{"type":"json","example":{"count":1,"items":[{"id":null,"url":null,"postId":null,"postUrl":null,"dataType":null,"parsedId":null,"postTitle":null,"parsedPostId":null}],"product":"reddit-comments"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6EF4GFDMfB0vuTtGuHrl0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches archived Reddit post metadata and comment trees from one or more post URLs, returning structured JSON items per post and comment.","exampleAgentPrompt":"Can you scrape the comments from this Reddit thread — https://www.reddit.com/r/MachineLearning/comments/abc123/some_post/ — and get me up to 500 comments per post? Don't include NSFW content.","exampleUseCases":[{"title":"Competitive research from Reddit threads","prompt":"Pull all the comments from these three Reddit posts about our competitor's product launch — https://www.reddit.com/r/tech/comments/x1/, https://www.reddit.com/r/gadgets/comments/x2/, and https://www.reddit.com/r/apple/comments/x3/ — up to 1000 comments each, no NSFW."},{"title":"Sentiment dataset from community feedback","prompt":"I need to build a sentiment training dataset — can you collect up to 2000 comments total from these Reddit posts about electric vehicles? Cap at 200 comments per post and skip any NSFW threads."},{"title":"Archiving a viral thread before deletion","prompt":"Archive this Reddit thread for me before it gets taken down — https://www.reddit.com/r/worldnews/comments/zz9999/viral_post/ — grab up to 5000 comments including replies, and it's fine if some are NSFW."}],"resultDescription":"Returns a JSON object with a count of total items, a product identifier ('reddit-comments'), and an array of items where each item represents either a post or a comment, including fields for ID, URL, post ID, post URL, data type, parsed IDs, and post title.","failureModes":["Invalid or inaccessible Reddit URL returns empty items array (not charged)","Share links using /s/ format are unsupported and will fail","Private or deleted Reddit posts return no data","Rate limits or Reddit blocks may cause empty runs (not charged)","Malformed URL input causes request rejection"],"whenToPreferThis":"Choose this endpoint when you need structured, pay-per-use access to Reddit post and comment data without managing your own scraping infrastructure. It is especially useful for collecting large comment trees across multiple posts in a single call, with built-in caps to control data volume. Prefer it over general-purpose web scrapers when you want Reddit-specific parsed fields like postId, parsedId, and data type classification out of the box, and when you only want to pay for successful, non-empty results.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T04:06:40.606Z","isFirstParty":false,"canonicalSlug":"reddit-comments-scraper-7141b1a6"}