# SocialFetch Reddit Subreddit Details

> SocialFetch Reddit Subreddit Details is a paid API for AI agents from api.socialfetch.dev, paid per call via x402, $0.014/call, status unknown (last checked 2026-09-15).

Fetches metadata and details for a Reddit community (subreddit) by name or URL.

## Facts

- Endpoint: GET https://api.socialfetch.dev/v1/reddit/subreddits
- Price: $0.014/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/socialfetch-reddit-subreddit-details-4fb15944
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zjWA-K7DI5ISmFgipoSaZ

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 socialfetch-reddit-subreddit-details-4fb15944
```

Example prompt: Can you pull up the details for the r/MachineLearning subreddit — I want to know its description, subscriber count, and general info about the community?

## When to prefer this

Use this endpoint when you need structured metadata about a specific Reddit community by name or URL, especially when you already know the subreddit name and want to retrieve its description, size, and community information programmatically.

## Known failure modes

- Invalid or misspelled subreddit name returns an error or empty result
- Private or banned subreddits may not return data
- Case sensitivity mismatch in subreddit name may cause lookup failure
- Missing required subreddit or URL parameter returns a validation error
- Rate limiting or API quota exceeded returns a payment/rate error

## How this service works

Get details for a Reddit community (subreddit).

## Output

Returns metadata about the specified Reddit subreddit, including community details such as name, description, subscriber count, creation date, and other public community attributes.

## 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": {
      "url": {
       "type": "string",
       "maxLength": 4096,
       "minLength": 1,
       "description": "Optional subreddit URL for the request."
      },
      "subreddit": {
       "type": "string",
       "maxLength": 256,
       "minLength": 1,
       "description": "Subreddit name, optional `r/` prefix, or Reddit subreddit URL. Must match Reddit's exact casing."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/socialfetch-reddit-subreddit-details-4fb15944/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.socialfetch.dev](https://www.zero.xyz/host/api.socialfetch.dev/llms.txt)
