# Get Subreddit Info API

> Fetch subreddit metadata: subscriber count, description, rules, active users and appearance settings. Requires a Reddit session cookie in sessionCookies (obtain it from reddit-login.post, or copy reddit_session out of a signed-in browser) — Reddit has blocked every anonymous read surface since 2026-07-30.

Category: [Social Media APIs](https://upapi.io/apis/social-media) · Last updated 2026-09-04

## How to call it

- Endpoint: `POST https://api.upapi.io/reddit-subreddit-info.get`, key in the `X-Api-Key` header, JSON body.
- Cost: 4 weighted units per call.
- Timeout: 60 seconds.
- Cache: identical requests are served from cache for 600 seconds, unbilled.
- Try it without writing code: https://app.upapi.io/try/reddit-subreddit-info.get

```bash
curl -X POST https://api.upapi.io/reddit-subreddit-info.get \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: YOUR_API_KEY' \
  -d '{ "subreddit": "example" }'
```

## Request parameters

- `proxyUrl` (string) — User-provided proxy URL
- `subreddit` (string, required) — Subreddit name (without r/)
- `sessionCookies` (string) — REQUIRED IN PRACTICE. Reddit account session cookies, as a JSON object or a '; '-delimited cookie header; the blob must contain reddit_session. Since 2026-07-30 Reddit blocks EVERY anonymous read surface, so a call without cookies returns a classified UPSTREAM_BLOCKED rather than data. Obtain the blob from reddit-login.post, or copy the reddit_session cookie out of a signed-in browser. A lead-gen account-pool row stores it nested at cookies->>'sessionCookies', not at the row's top level.

## Response fields

- `rules` (array, required)
- `rules[].priority` (integer, required)
- `rules[].shortName` (string, required)
- `rules[].description` (string, required)
- `title` (string, required)
- `isNsfw` (boolean, required)
- `iconUrl` (string, required)
- `language` (string, required)
- `bannerUrl` (string, required)
- `elapsedMs` (integer, required)
- `fetchedAt` (string, required)
- `subreddit` (string, required)
- `createdUtc` (number, required)
- `activeUsers` (integer, required)
- `description` (string, required)
- `subscribers` (integer, required)

## Example request and response

The example response is generated from the published output schema: it shows the shape and field names, not values from a recorded call.

```json
{
  "subreddit": "example"
}
```

```json
{
  "rules": [
    {
      "priority": 1,
      "shortName": "example",
      "description": "example"
    }
  ],
  "title": "Alan Turing",
  "isNsfw": false,
  "iconUrl": "example",
  "language": "en",
  "bannerUrl": "example",
  "elapsedMs": 1,
  "fetchedAt": "example",
  "subreddit": "example",
  "createdUtc": 1,
  "activeUsers": 1,
  "description": "example",
  "subscribers": 1
}
```

## Frequently asked questions

### How much does the Get Subreddit Info API cost per call?

Each call spends 4 weighted units of your plan's monthly quota. Full pricing is at https://upapi.io/pricing.

### How do I authenticate to the Get Subreddit Info API?

Send your key in the X-Api-Key header. A free guest key is available without creating an account.

### Are Get Subreddit Info API responses cached?

Yes — identical requests are served from cache for 600 seconds, and a cache hit is not billed.

## More Social Media APIs

- [Get Trending Reddit Posts](https://upapi.io/apis/social-media/reddit-get-trending)
- [Reddit - post a comment as a registered app](https://upapi.io/apis/social-media/reddit-oauth-post-comment)
- [Reddit - who does this OAuth app speak as?](https://upapi.io/apis/social-media/reddit-oauth-me)
- [Scrape Reddit Post & Comments](https://upapi.io/apis/social-media/reddit-scrape-post)
- [Search Reddit Posts](https://upapi.io/apis/social-media/reddit-search-posts)
- [Check Reddit Account Health](https://upapi.io/apis/social-media/reddit-check-account-health)
- [Check Reddit Comment Visibility](https://upapi.io/apis/social-media/reddit-check-comment-visibility)
- [Instagram Get Post Info](https://upapi.io/apis/social-media/instagram-get-post-info)
