API · Reddit
GET /reddit/subreddits/{name}/sidebar
A subreddit's old-style sidebar text (its about description).
| Request | GET /v1/reddit/subreddits/{name}/sidebar |
| Operation id | reddit.subreddit.sidebar |
| Cost | 1 credit, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
A subreddit's old-style sidebar text (its about description).
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
name | string | yes | Subreddit name, with or without "r/". "all" and "popular" also work for posts. Example: typescript. |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | The sidebar. | SubredditSidebar |
400 | Invalid input. Nothing was charged. | Error |
401 | Missing or invalid API key. | Error |
402 | Not enough credits, a spend cap was reached, or payment is required. | Error |
403 | The target is private, or the account is suspended. | Error |
404 | The subreddit, post or user does not exist. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | Reddit is temporarily unavailable. Retryable; nothing was charged. | Error |
SubredditSidebar fields
| Field | Type | Description |
|---|---|---|
display_name | string | |
description_html | string | null | |
description | string | Markdown. |
Errors use one shape everywhere; see Errors for every code and what to do.