{"stats":{"calls7d":0,"successRate":null,"avgMs":null,"reviews":0,"usefulRate":null},"id":"p/anyapi.reddit.subreddit_posts","kind":"provider","name":"anyapi_reddit_subreddit_posts","description":"Reddit Subreddit Posts. Fetch posts from a subreddit listing (hot, new, or top). (AnyAPI · Reddit)","tags":["reddit","social","anyapi","extended","data"],"method":"POST","path":"/v1/p/anyapi.reddit.subreddit_posts","url":"https://toll402.dev/v1/p/anyapi.reddit.subreddit_posts","specUrl":"https://toll402.dev/v1/spec/p/anyapi.reddit.subreddit_posts","price":"$0.0015","priceUsd":0.0015,"available":true,"inputSchema":{"type":"object","properties":{"after":{"type":"string","description":"Legacy pagination alias. Prefer `cursor`; omit both fields for the first page."},"cursor":{"type":"string","description":"Opaque pagination cursor from a previous response's `nextCursor`; omit for the first page."},"limit":{"type":"integer","description":"Page size to ask for (up to 100). Some sources honor it; others always return their whole page of about 25 posts. A page is never trimmed after the call, so pass nextCursor back as cursor to continue exactly where this response ended.","default":25,"examples":[5]},"sort":{"type":"string","description":"Listing sort order.","default":"hot","enum":["hot","new","top"]},"subreddit":{"type":"string","description":"Subreddit name without the leading r/ (e.g. \"golang\").","examples":["programming"]},"timeframe":{"type":"string","description":"Time window, applied when sort is \"top\" (e.g. \"year\" for the year's top posts). Ignored for hot/new. Omit to default to the current day for top.","enum":["all","year","month","week","day","hour"]}},"additionalProperties":true,"required":["subreddit"]},"example":{"limit":5,"subreddit":"programming"},"meta":{"provider":"AnyAPI","providerSlug":"anyapi","providerDocs":"https://getanyapi.com/docs","providerPricing":"https://getanyapi.com/catalog","providerLogo":"https://www.google.com/s2/favicons?domain=getanyapi.com&sz=64","platform":"reddit","platformLabel":"Reddit","category":"Social","capability":"extended","upstreamMethod":"POST","upstreamPriceUsd":0.0012,"pricing":"per_success","pricingNote":"4 sources serve this, cheapest first; a failed attempt retries on the next, up to $0.0012 at the dearest. The charge follows the answer's `costUsd`, not the listed price. Send X-Treg-Route-Max-Cost to refuse any source dearer than your ceiling.","verified":"2026-09-19","docs":"https://getanyapi.com/api/reddit/subreddit-posts","calls":0,"successRate":null,"via":"treg"}}