{"uid":"cap_JPqMDdlG5aEcR4BAsdozR","slug":"datapipe-api-reddit-top-posts-506aafc6","name":"DataPipe API — Reddit Top Posts","description":"Multi-source data API for AI agents. Search, news, Reddit, translation, web scraping. Pay with x402 on Base chain.","url":"https://v2kidnapi.vercel.app/api/reddit/top","method":"POST","headers":{},"bodySchema":{"type":"object","required":["subreddit"],"properties":{"limit":{"type":"number","description":"Number of posts"},"subreddit":{"type":"string"}}},"responseSchema":{"type":"object","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":"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_87oaGeoJ9G0Ik0HYMli4u","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 the top posts from a specified Reddit subreddit","exampleAgentPrompt":"Can you grab the top 25 posts from r/MachineLearning on Reddit so I can see what the community is talking about right now?","exampleUseCases":null,"resultDescription":"Returns a JSON object with a success boolean and a data object containing the top posts from the specified subreddit, including post metadata such as titles, scores, and other Reddit post fields.","failureModes":["Invalid or private subreddit name returns an error","Subreddit not found results in failure response","Rate limiting or Reddit API downtime causes request failure","Missing required subreddit parameter causes validation error","Malformed request body causes 400-level error"],"whenToPreferThis":"Use this endpoint when you need to retrieve top Reddit posts from a specific subreddit programmatically and pay per use via crypto (x402/USDC on Base chain), without needing a Reddit developer account. Prefer this over direct Reddit API access when you want a simple pay-as-you-go model without OAuth setup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:39:43.479Z","isFirstParty":false}