# API Direct – Reddit Subreddit Details

> API Direct – Reddit Subreddit Details is a paid API for AI agents from x402.apidirect.io, paid per call via x402, $0.004/call, status unknown (last checked 2026-10-30).

Fetches metadata and details for a Reddit subreddit, identified by name or full URL.

## Facts

- Endpoint: GET https://x402.apidirect.io/v1/reddit/subreddit?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-direct-reddit-subreddit-details-23a576a2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vxOzmf4wcpvkeKJOOHWuw

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 api-direct-reddit-subreddit-details-23a576a2
```

Example prompt: Can you pull up the details for the r/MachineLearning subreddit — things like its description, subscriber count, and general info?

## When to prefer this

Use this endpoint when you need structured metadata about a specific Reddit subreddit community by name or URL. Prefer it over scraping Reddit directly or using general web search when you need reliable, structured data like subscriber count, description, and community settings. Ideal for agents doing social listening, content strategy research, or community validation workflows.

## Known failure modes

- Subreddit does not exist — returns an error or empty result
- Subreddit is banned or quarantined — may return restricted access error
- Invalid input: both subreddit and url provided simultaneously — input validation error
- Subreddit name exceeds 25 characters — schema validation rejection
- Reddit API rate limit or downtime — upstream service error

## How this service works

Get a subreddit's details by name or URL.

## Output

Returns structured metadata about the subreddit including its display name, description, subscriber/member count, creation date, NSFW status, public/private visibility, and other community details.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "url": {
       "type": "string",
       "maxLength": 500,
       "description": "Subreddit URL, e.g. https://www.reddit.com/r/Python/ (max 500 characters). Provide exactly one of subreddit or url."
      },
      "subreddit": {
       "type": "string",
       "maxLength": 25,
       "description": "Subreddit name, with or without r/, e.g. Python. Provide exactly one of subreddit or url."
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-direct-reddit-subreddit-details-23a576a2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.apidirect.io](https://www.zero.xyz/host/x402.apidirect.io/llms.txt)
