# Reddit Content Fetcher (glim.sh / twitter.surf.cascade.fyi)

> Reddit Content Fetcher (glim.sh / twitter.surf.cascade.fyi) is a paid API for AI agents from twitter.surf.cascade.fyi, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-18).

Fetches a Reddit post, subreddit listing, or user profile with comments and metadata by reference URL or ID

## Facts

- Endpoint: POST https://twitter.surf.cascade.fyi/api/v1/reddit/get?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/reddit-content-fetcher-glim-sh-twitter-surf-cascade-fyi-f46de87f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vIHhl7xDZBJr0BtCPONea

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability reddit-content-fetcher-glim-sh-twitter-surf-cascade-fyi-f46de87f -d '<json body>'
```

Example prompt: Fetch the top 5 hot posts from r/MachineLearning today, sorted by hot, with up to 50 comments each nested 3 levels deep.

## When to prefer this

Use this endpoint when you need to fetch Reddit-specific content — posts, subreddit listings, or user activity — with structured comment threading, pagination support, and configurable sort/time range. Prefer this over generic web scrapers when you need clean structured Reddit data including nested comment trees, metadata, and the ability to paginate through subreddit listings by cursor.

## Known failure modes

- Invalid or inaccessible Reddit URL returns an error
- Private or banned subreddits return access denied
- Non-existent user or deleted post returns not found
- Malformed base36 post ID returns an error
- Pagination cursor from a different subreddit or stale cursor may return empty or error
- Rate limiting may occur under high request volume
- Comment permalink format mismatch returns unexpected results

## How this service works

Fetch a Reddit post, subreddit, or user by ref

## Output

Returns structured data for the requested Reddit reference: for a post, the full post body plus a comment tree with configurable depth and limit; for a subreddit, a list of posts with full content and top comments plus a next_cursor for pagination; for a user, recent posts and optionally recent comments. Each item includes scores, timestamps, author info, and thread structure.

## Request schema (JSON Schema)

```json
{
 "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"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/reddit-content-fetcher-glim-sh-twitter-surf-cascade-fyi-f46de87f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from twitter.surf.cascade.fyi](https://www.zero.xyz/host/twitter.surf.cascade.fyi/llms.txt)
