{"uid":"cap_WvdB6k2Oa5pJLQ_r420dT","slug":"reddit-scraper-api-x402-pay-per-call-22ac6dea","name":"Reddit 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?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"maxItems":{"type":"integer","default":100,"minimum":0,"description":"Hard cap on all dataset rows. Set 0 for no overall cap."},"searches":{"type":"array","items":{"type":"string"},"description":"Title and comment text queries. A community is required for keyword search."},"startUrls":{"type":"array","items":{"type":"object","required":["url"],"properties":{"url":{"type":"string","title":"URL","description":"Public Reddit URL."}}},"description":"Public Reddit community, post, or user URLs. Search terms are ignored when URLs are supplied."},"includeNSFW":{"type":"boolean","default":false,"description":"Include records marked as mature content."},"maxComments":{"type":"integer","default":100,"minimum":0,"description":"Maximum comment rows from each post URL, user comment URL, or search term."},"searchPosts":{"type":"boolean","default":true,"description":"Return matching post titles for each search term."},"searchUsers":{"type":"boolean","default":false,"description":"Look up a user whose name exactly matches each search term."},"maxPostCount":{"type":"integer","default":100,"minimum":0,"description":"Maximum post rows from each community or user URL or search term."},"maxUserCount":{"type":"integer","default":10,"minimum":0,"description":"Maximum exact user matches for a search term."},"skipComments":{"type":"boolean","default":false,"description":"Do not collect comments when a direct post URL is supplied."},"postDateLimit":{"type":"string","description":"Only return posts created on or after this ISO date or timestamp."},"skipCommunity":{"type":"boolean","default":false,"description":"Do not add a community metadata row when collecting a community URL."},"skipUserPosts":{"type":"boolean","default":false,"description":"Do not collect posts from a user URL."},"searchComments":{"type":"boolean","default":false,"description":"Return matching comment bodies for each search term."},"commentDateLimit":{"type":"string","description":"Only return comments created on or after this ISO date or timestamp."},"searchCommunities":{"type":"boolean","default":false,"description":"Look up a community whose name exactly matches each search term."},"maxCommunitiesCount":{"type":"integer","default":10,"minimum":0,"description":"Maximum exact community matches for a search term."},"searchCommunityName":{"type":"string","description":"Community to search, without r/. Required when using search terms."}}},"responseSchema":{"type":"json","example":{"count":1,"items":[{"id":null,"url":null,"title":null,"userId":null,"dataType":null,"parsedId":null,"username":null,"communityName":null}],"product":"reddit"}},"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_7tdrgCo8US3xW87WcAk5_","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":"Scrapes structured Reddit data — posts, comments, users, and communities — by URL or keyword search, billed per successful call via x402 micropayment.","exampleAgentPrompt":"Search Reddit's r/MachineLearning for posts and comments mentioning 'LLM agents' from the past 30 days — grab up to 50 posts and 100 comments per post, and skip any NSFW content.","exampleUseCases":[{"title":"Brand sentiment research on Reddit","prompt":"Scrape Reddit for posts and comments mentioning 'Notion AI' in r/productivity and r/artificial — up to 200 posts total, posted after 2024-01-01, and include comments so I can see what people are saying."},{"title":"Competitor analysis from subreddit discussions","prompt":"Pull the top 100 posts from r/webdev that mention 'Vercel' or 'Netlify' so I can analyze what developers are complaining about or praising."},{"title":"User profile and history lookup","prompt":"Fetch the recent post history for Reddit user 'spez' — up to 50 posts and skip collecting their comments for now."}],"resultDescription":"Returns a JSON object with a count and an array of items, each containing fields like id, url, title, userId, dataType, parsedId, username, and communityName. Data type label distinguishes posts, comments, users, and community rows. Failed or empty scrapes are not charged.","failureModes":["Private or banned subreddit returns empty result (not charged)","Invalid or malformed Reddit URL causes scrape failure","Rate limiting by Reddit blocks data collection","Search without specifying a community returns an error or empty result","Keyword search without a required community field may be rejected","Truncated results if maxItems cap is hit before all data is collected"],"whenToPreferThis":"Choose this endpoint when you need structured Reddit data — posts, comments, or user info — without managing scraping infrastructure yourself, and want pay-per-successful-call pricing so failed runs cost nothing. It is ideal for agents doing brand monitoring, sentiment research, or community analysis on Reddit. Prefer this over general web scrapers when you need Reddit-specific fields like community name, username, post ID, and comment threading out of the box.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T00:47:54.395Z","isFirstParty":false,"canonicalSlug":"reddit-scraper-api-x402-pay-per-call-22ac6dea"}