# Reddit App Subreddit Post Channels API

> Returns post channel and flair details for a target subreddit. Supports custom sort methods and time range filters.

Source: https://www.sandbase.ai/apis/reddit/app/subreddit-post-channels
API reference: https://www.sandbase.ai/apis/reddit/app/subreddit-post-channels/docs

## Facts

- Provider: Reddit
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/reddit/app/subreddit-post-channels`
- Price: $0.0015 per call
- Free allowance: 100 calls per organization per UTC day, shared across eligible APIs
- Capabilities: api, reddit
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/reddit/app/subreddit-post-channels` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `need_format` | boolean | no |  |
| `range` | string | no |  |
| `sort` | string | no |  |
| `subreddit_name` | string | no |  |

## FAQ

### How do I use the Reddit App Subreddit Post Channels API?

Send a POST request to https://api.sandbase.ai/v1/api/reddit/app/subreddit-post-channels with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

### How much does the Reddit App Subreddit Post Channels API cost?

$0.0015 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

### What parameters does the Reddit App Subreddit Post Channels API accept?

No parameters are required. Optional: need_format (boolean), range (string), sort (string) and subreddit_name (string). The Parameters table and the Playground on this page list every field.

### What does the Reddit App Subreddit Post Channels API return?

A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.

### Do I need a Reddit developer account or API key?

No. Reddit App Subreddit Post Channels runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Reddit API access separately.

## README

### Reddit App Subreddit Post Channels API

Access subreddit channel metadata and flair templates using `subreddit_name`, with options for `sort` and `range` filtering.

#### Use cases

- Retrieve post channel and flair templates for a community.
- Inspect subreddit channel settings sorted by hot or top activity.
- Extract flair identifiers to categorize community posts.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/api/reddit/app/subreddit-post-channels" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `sort` | string | No | Sort method, supports HOT, NEW, TOP, CONTROVERSIAL, RISING |
| `range` | string | No | Time range, supports HOUR, DAY, WEEK, MONTH, YEAR, ALL |
| `need_format` | boolean | No | Whether to clean and format the data |
| `subreddit_name` | string | No | Subreddit name |

#### Example response

Real response for the request above, trimmed to the main fields. User names and long IDs are masked.

```json
{
  "subredditInfoByName": {
    "postFlairTemplates": [
      {
        "id": "f988392c-41f4-11ea-856e-0e3f43166111",
        "text": "Arts/Crafts"
      }
    ]
  }
}
```

#### Notes

- Supported `sort` values include HOT, NEW, TOP, CONTROVERSIAL, and RISING.
- Supported `range` values include HOUR, DAY, WEEK, MONTH, YEAR, and ALL.
- Set `need_format` to true to return cleaned and formatted data.

#### Related APIs

- [Reddit Subreddit Mute Status](/model/reddit/app/check-subreddit-muted): Checks whether a specified Reddit subreddit is muted by the current account using its ID.
- [Reddit App Comment Replies](/model/reddit/app/comment-replies): Returns replies and nested sub-comments under a Reddit post comment using a continuation cursor.
- [Reddit Community Highlights](/model/reddit/app/community-highlights): Returns featured highlight content for a designated Reddit community, such as popular posts and announcements, by subreddit ID.
