{"uid":"cap__0iIfLROX-uTWhmRbc-Sa","slug":"scrapfly-reddit-top-posts-api-f23f835c","name":"ScrapFly Reddit Top Posts API","description":"69 endpoints for data, content generation, and web scraping. Pay per request via x402 on Base chain.","url":"https://scrapfly.vercel.app/api/reddit/top?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["query"],"properties":{"query":{"type":"string","description":"Input query"}}},"responseSchema":{"type":"object","required":["success"],"properties":{"data":{"type":"object"},"success":{"type":"boolean"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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_4kNwznP8Ok0DvMRATfrTI","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches the top posts from Reddit for a given query or subreddit via a pay-per-request scraping endpoint","exampleAgentPrompt":"Pull the top Reddit posts about 'electric vehicles' so I can see what the community is currently talking about and which threads are getting the most attention.","exampleUseCases":[{"title":"Brand sentiment monitoring on Reddit","prompt":"Search Reddit for the top posts mentioning 'OpenAI' right now — I want to see what people are saying and which discussions are getting the most upvotes."},{"title":"Market research via Reddit trends","prompt":"Find the top Reddit posts about 'sourdough bread' so I can understand what home bakers are most interested in and what questions come up most often."},{"title":"Competitor analysis from Reddit discussions","prompt":"Get me the top Reddit posts about 'Notion' so I can see what users love or hate about it and what feature requests keep coming up."}],"resultDescription":"Returns a success flag and a data object containing the top Reddit posts matching the query, including post titles, scores, metadata, and community engagement details scraped from Reddit.","failureModes":["Query parameter missing — returns validation error","Reddit rate limiting or blocking — scrape may fail or return partial data","Invalid or empty query string — may return empty results","Network timeout from Reddit's servers — request may time out","Subreddit not found or private — returns empty or error data"],"whenToPreferThis":"Use this endpoint when you need programmatic access to Reddit's top posts without managing Reddit API credentials or rate limits, especially when paying per-request via crypto (x402/Base chain) is acceptable and you need Reddit data integrated into an agent workflow quickly.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T12:44:36.619Z","isFirstParty":false,"canonicalSlug":"scrapfly-reddit-top-posts-api-f23f835c"}