{"uid":"cap_xRupb6cjdO0tGIK352CGF","slug":"reddit-comments-scraper-x402-a85bbfb5","name":"Reddit Comments Scraper (x402)","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-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_DtNd7gkRH-AWv4lWIeLgo","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 structured comment trees and post metadata from public Reddit URLs, billed per successful call via x402 micropayments.","exampleAgentPrompt":"Scrape the comments from this Reddit thread — https://www.reddit.com/r/MachineLearning/comments/xyz123/ — and give me up to 500 comments per post, skipping any NSFW content.","exampleUseCases":[{"title":"Product sentiment from Reddit threads","prompt":"Pull all the comments from these three Reddit posts about our new product launch — https://reddit.com/r/gadgets/comments/abc1/, https://reddit.com/r/tech/comments/abc2/, https://reddit.com/r/buyitforlife/comments/abc3/ — up to 1000 comments each, so I can run sentiment analysis on community feedback."},{"title":"Competitor research from subreddit discussions","prompt":"Grab the full comment tree from this Reddit thread where people are comparing our competitor's software — https://www.reddit.com/r/software/comments/def456/ — I want up to 500 comments and no NSFW posts."},{"title":"Training data collection from Reddit AMA","prompt":"Scrape the comments from this AMA thread — https://www.reddit.com/r/IAmA/comments/ghi789/ — I need up to 2000 comments including all replies so I can build a Q&A dataset, and cap the total at 5000 items across everything."}],"resultDescription":"A JSON object containing a count of returned items and an array of items, each representing either a post or a comment with fields for id, url, postId, postUrl, dataType, parsedId, postTitle, and parsedPostId. The product field confirms the endpoint used.","failureModes":["Unsupported URL format (e.g. Reddit /s/ share links) returns empty or error","Private or deleted posts return no items and are not charged","Rate limits or Reddit access restrictions may cause empty results","Invalid URL format causes request rejection","Posts with zero public comments return only the post item"],"whenToPreferThis":"Choose this endpoint when you need structured, machine-readable Reddit comment data without building your own scraper or managing Reddit API credentials. It is especially useful for bulk comment extraction across multiple posts, sentiment analysis pipelines, or research tasks requiring archived comment trees. Pay only for successful, non-empty runs makes it cost-efficient for exploratory scraping.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T00:47:11.791Z","isFirstParty":false,"canonicalSlug":"reddit-comments-scraper-x402-a85bbfb5"}