---
title: "Get information about a public subreddit"
method: GET
path: "/v1/reddit/subreddits/{name}"
tags: ["Reddit"]
---

# Get information about a public subreddit

`GET /v1/reddit/subreddits/{name}`

## Request

- Base URL: `https://api.weirapp.io`
- URL: `https://api.weirapp.io/v1/reddit/subreddits/{name}`
- Auth: HTTP bearer

A community's description, member count, type, language, and whether it is NSFW or
quarantined. A community that does not exist is a 404; one that is private, banned,
quarantined, or otherwise not publicly readable is a 404 whose `details.reason` says which.

## Path parameters

- `name` string, required: Community name without the `r/` prefix: 3-21 letters, digits, or underscores starting with a letter or digit, or a two-letter language community such as `de`.

## Response `200`

Subreddit metadata, in Reddit's own field names.

- object
  - `data` object, required
    - `id` string, required: Reddit's fullname for the community, `t5_` included.
    - `name` string, required: Community name without the `r/` prefix.
    - `title` string, required
    - `description` string, nullable, required: The short public description. Null if unset.
    - `url` string, required
    - `subscribers` integer, required
    - `over18` boolean, required: The whole community is marked NSFW.
    - `createdUtc` number, required
    - `createdAt` string, date-time, required
    - `subredditType` string, required: `public`, `restricted`, `private`, `archived`, `gold_restricted`, or `user`.
    - `submissionType` string, nullable, required: What may be posted: `any`, `link`, or `self`.
    - `lang` string, nullable, required: The community's declared language, such as `en`.
    - `quarantine` boolean, required: Quarantined by Reddit: hidden from search and listings.
    - `communityIcon` string, nullable, required: URL of the community icon. Null if unset.
    - `bannerImg` string, nullable, required: URL of the banner image. Null if unset.
  - `meta` object, required
    - `requestId` string, required
    - `nextCursor` string, nullable

## Other responses

- `400`: The request failed validation.
- `401`: The API key is missing, malformed, expired, or revoked.
- `402`: The account is out of credit. Not retryable: this cannot clear until the billing period resets or the plan changes.
- `403`: The API key does not carry the scope this route requires.
- `404`: The requested resource does not exist.
- `429`: The per-minute rate limit is exhausted. Retryable: wait for Retry-After and try again.
- `500`: An unexpected error occurred.
- `503`: The source is temporarily unavailable. The request is safe to retry.

---

[API](https://skmtc.dev/weirapp/apis/weir-api.md) · [All operations](https://skmtc.dev/weirapp/apis/weir-api/llms.txt) · [OpenAPI document](https://skmtc.dev/weirapp/apis/weir-api/revisions/4c6a9ae0bfca?raw)
