{"uid":"cap_zluk43v2X4xKl9dGTYqib","slug":"glim-sh-reddit-data-api-e8fc8a1b","name":"glim.sh Reddit Live Data","description":"One remote endpoint gives your agent live data from Twitter, Reddit, the open web, GitHub and more. No API keys, no scraping stack - just connect the URL and go.","url":"https://surf.cascade.fyi/api/v1/reddit/get","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"ref":{"type":"string","maxLength":2048,"minLength":1,"description":"Reddit post, subreddit, or user reference. Best: a post URL, subreddit URL/r/name, or user URL/u/name. A bare base36 post id also works. A comment permalink (…/comments/<post>/comment/<id>/) returns that comment with its ancestor context and replies."},"sort":{"enum":["hot","new","top","rising"],"type":"string","default":"hot","description":"Listing post sort"},"time":{"enum":["hour","day","week","month","year","all"],"type":"string","default":"day","description":"Listing time range"},"limit":{"type":"integer","default":10,"maximum":10,"minimum":1,"description":"Max listing posts (subreddit/user). Subreddit posts return full content + top comments; for user refs this also caps the comments returned."},"cursor":{"type":"string","pattern":"^\\s*(?:[tT]\\d_)?[a-zA-Z0-9]+\\s*$","maxLength":64,"description":"Pagination cursor from a prior subreddit response's next_cursor"},"comment_sort":{"enum":["confidence","top","new","controversial","old","qa"],"type":"string","default":"confidence","description":"Comment sort. Post refs only: subreddit/user listings always hydrate a fixed 2 top-level comments sorted by top."},"comment_depth":{"type":"integer","default":5,"maximum":10,"minimum":0,"description":"Max nesting depth (post refs only)"},"comment_limit":{"type":"integer","default":50,"maximum":200,"minimum":0,"description":"Max comments (post refs only)"},"include_posts":{"type":"boolean","default":true,"description":"Include recent posts for user refs"},"include_comments":{"type":"boolean","default":false,"description":"Include recent comments for user refs"}}},"responseSchema":{"type":"json","example":{"kind":"post","post":{"id":"abc","title":"Example"},"comments":[],"comment_count":0}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_bnjolSfCBoGd4s-0NUz0q","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches live Reddit posts, comments, subreddit listings, and user activity without requiring a Reddit API key","exampleAgentPrompt":"Pull the top 25 hot posts from r/MachineLearning right now and fetch the top-confidence comments up to 3 levels deep for the most upvoted one.","exampleUseCases":null,"resultDescription":"A JSON object containing the post kind (post, listing, or user), post metadata (id, title, etc.), an array of comments with nested replies up to the requested depth, and the total comment count.","failureModes":["Invalid or non-existent Reddit post URL returns an error","Private or banned subreddit returns access denied","Reddit rate limiting or downtime causes upstream failure","Malformed ref parameter (not a valid Reddit URL, post ID, r/, or u/ reference) causes a parsing error","comment_depth or comment_limit out of range returns validation error"],"whenToPreferThis":"Choose this endpoint when you need live, real-time Reddit data — posts, comments, subreddit feeds, or user activity — without setting up a Reddit API key or managing OAuth tokens. It is ideal for agents that need to read Reddit content on demand, per call, with pay-per-use pricing rather than maintaining a scraping infrastructure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:49:04.025Z","isFirstParty":false}