# Reddit Surf ClaudeCode Posts

> Reddit Surf ClaudeCode Posts is a paid API for AI agents from reddit.surf.cascade.fyi, paid per call via x402, $0.003/call, status down (last checked 2026-09-14).

Fetches paginated posts from the r/ClaudeCode subreddit with sorting and time filtering options.

## Facts

- Endpoint: GET https://reddit.surf.cascade.fyi/r/ClaudeCode/posts
- Price: $0.003/call
- Payment: x402
- Status: down
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/reddit-surf-cascade-fyi-e8f8fc03
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NrZYG4jiHHp11_0_6wQEz

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-surf-cascade-fyi-e8f8fc03
```

Example prompt: Show me the top 25 hot posts from r/ClaudeCode from the past week so I can see what people are discussing about Claude Code right now.

## When to prefer this

Use this endpoint when you need programmatic, paid-tier access to r/ClaudeCode Reddit posts with reliable pagination, sorting, and time filtering. Prefer it over scraping Reddit directly or using the free Reddit API when you need consistent access, support for USDC micropayments via x402, and structured post metadata for downstream analysis or display.

## Known failure modes

- Subreddit not found or inaccessible — returns 404 or empty result
- Invalid sort or time filter enum value — returns validation error
- Limit out of range (below 1 or above 100) — returns error or clamps to bounds
- Payment failure (x402 protocol) — returns 402 Payment Required
- Reddit API rate limits exceeded — returns 429 or timeout
- Truncated response for very large result sets

## How this service works

Fetches posts from the r/ClaudeCode subreddit, returning post content, metadata, and pagination for each submission.

## Output

Returns a paginated list of Reddit submissions from r/ClaudeCode, including post titles, content bodies, author info, scores, comment counts, timestamps, flair, and pagination tokens for fetching additional results.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "t": "week",
   "sort": "hot",
   "limit": 25
  }
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "t": {
       "enum": [
        "hour",
        "day",
        "week",
        "month",
        "year",
        "all"
       ],
       "type": "string"
      },
      "sort": {
       "enum": [
        "hot",
        "new",
        "top",
        "rising"
       ],
       "type": "string"
      },
      "limit": {
       "type": "number",
       "description": "Max results (1-100)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "_truncated",
  "_originalSize"
 ],
 "properties": {
  "_truncated": {
   "type": "boolean"
  },
  "_originalSize": {
   "type": "number"
  }
 }
}
```

## More

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