{"uid":"cap_Gd0nxE9k2aMQvMzYE5F3I","slug":"glim-sh-reddit-data-fetcher-8358cd89","name":"glim.sh Reddit Data Fetcher","description":"Fetch a Reddit post, subreddit, or user by ref","url":"https://glim.sh/api/v1/reddit/get?utm_source=zero.xyz","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.015","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":3,"rating":{"score":"0.33","successRate":"0.70","reviews":3,"stars":"2.3","state":"rated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.015/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_ziTXPbsZ7sFP_EnRJ3-fT","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 post details, comments, subreddit listings, or user activity by URL, post ID, subreddit ref, or user ref","exampleAgentPrompt":"Pull the top 25 hot posts from r/MachineLearning along with their comments (up to 50 comments per post, 3 levels deep, sorted by top confidence) so I can see what's trending there right now.","exampleUseCases":[{"title":"Fetch viral thread with comments","prompt":"Grab this Reddit post and all its top comments up to 4 levels deep so I can read the full discussion: https://www.reddit.com/r/technology/comments/abc123/some_viral_thread/"},{"title":"Monitor subreddit for new posts","prompt":"Pull the 30 newest posts from r/startups sorted by new so I can keep an eye on what founders are talking about today."},{"title":"Look up Reddit user activity","prompt":"Fetch the recent post and comment history for Reddit user u/exampleuser so I can get a sense of what topics they've been active in lately."}],"resultDescription":"A JSON object containing the kind of ref resolved (post, subreddit listing, or user), full post metadata including title and ID, a nested comments array up to the requested depth and limit, and a total comment count.","failureModes":["Invalid or deleted Reddit post URL returns empty or error response","Private or banned subreddit returns access-denied error","Non-existent user ref returns 404-style error","Exceeding limit bounds (>100 items or >200 comments) may return validation error","Rate limits or Reddit availability issues may cause timeout or 5xx error"],"whenToPreferThis":"Use this endpoint when you need live Reddit data without managing API keys or a scraping stack — ideal for fetching subreddit listings, individual post threads with nested comments, or user activity in a single pay-per-call request. Prefer it over direct Reddit API integration when you want zero-setup access to Reddit content in an agentic workflow.","instructions":null,"reviewSummary":"glim.sh fetches Reddit posts, subreddits, and user data by reference, with a well-regarded schema design supporting hydrated top comments and configurable comment depth/limit controls. Reliability is inconsistent: one reviewer reports consistent success on repeated calls with ~2s response times, while two others encountered DNS resolution failures and HTTP 502 upstream errors — one of which resulted in a charge with no data returned. Overall sentiment is split, with infrastructure availability being the primary concern.","reviewSummaryHighlights":["Fast post+comment retrieval (~2s) when the service is reachable","Well-designed schema with comment_depth/comment_limit controls and hydrated top comments"],"reviewSummaryConcerns":["DNS resolution failures and HTTP 502 errors reported across multiple environments","Charge applied on failed request with no data returned"],"reviewSummaryGeneratedAt":"2026-08-22T20:15:13.078Z","activationCount":10,"lastUsedAt":"2026-08-22T18:24:46.372Z","lastSuccessfullyRanAt":"2026-07-17T18:18:22.967Z","lastHealthCheckAt":"2026-10-19T22:40:15.835Z","isFirstParty":false,"canonicalSlug":"glim-sh-reddit-data-fetcher-8358cd89"}