Reddit App Subreddit Settings

https://api.sandbase.ai/v1/api/reddit/app/subreddit-settings

Returns settings and configuration details for a specified Reddit subreddit, including posting rules, flair settings, and moderation configurations.

Price
$0.0015USD / callFirst 100 calls per day free (shared per organization)
Method
POST
Response
JSON
Parameters
1 required · 1 optional
Production route

Try the model

Playground

Open playground
Input
Whether to clean and format the data
Subreddit ID with format starting with t5_, e.g., "t5_2qh0u" (can be obtained from the fetch_subreddit_info endpoint)
OutputExample
Responseoutputs · 1.1 KB · 48 lines
[
  {
    "data": {
      "subredditInfoById": {
        "__typename": "Subreddit",
        "allAllowedPostTypes": [
          "LINK",
          "IMAGE",
          "GALLERY"
        ],
        "amaSettings": {
          "postPermissions": "OFF"
        },
        "authorFlairSettings": {
          "isEnabled": true,
          "isSelfAssignable": false
        },
        "commentContributionSettings": {
          "allowedMediaTypes": [
            "GIPHY",
            "STATIC",
            "EXPRESSION",
            "VIDEO"
          ]
        },
        "countrySiteSettings": {
          "countryCode": "",
          "isCountrySiteEditable": true,
          "languageCode": "",
          "modMigrationAt": "2023-07-03T16:04:00.000000+0000"
        },
        "id": "t5_2qh0u",
        "isArchivePostsEnabled": true,
        "isDiscoveryAllowed": true,
        "isSubredditChannelsEnabled": {
          "isChatEnabled": false,
          "isPostEnabled": true
        },
        "isTopListingAllowed": true,
        "language": "en",
        "postFlairSettings": {
          "isEnabled": true,
          "isSelfAssignable": false
        }
      }
    }
  }
]

Examples

Select an example to load its inputs and result into the playground.

Model card

Specifications

Pricing

Base price
$0.0015 / run
Daily free calls
First 100 calls per day free (shared per organization)

Request & response

Method
POST
Request body
application/json
Response
application/json
Execution
sync

Parameters

subreddit_id
string · required
need_format
boolean · optional

Access

Provider
Reddit
API
Platform API
Base URL
https://api.sandbase.ai
Endpoint
/v1/api/reddit/app/subreddit-settings
Authentication
Bearer API key

API README

Reddit App Subreddit Settings API

Retrieve community configuration and moderation rules by specifying a subreddit_id.

Use cases

  • Inspect posting rules and flair configurations for a community.
  • Review subreddit moderation and permission settings.
  • Audit community operational settings across multiple subreddits.

Request

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

Parameters

NameTypeRequiredDescription
subreddit_idstringYesSubreddit ID with format starting with t5_, e.g., "t5_2qh0u" (can be obtained from the fetch_subreddit_info endpoint)
need_formatbooleanNoWhether to clean and format the data

Notes

  • The subreddit_id must start with the t5_ prefix, such as t5_2qh0u.
  • Set need_format to true to return cleaned and formatted data.

Related APIs

Start building

Send your first request

Platform API endpoint with unified authentication and usage tracking.

Production API
Platform API endpoint
https://api.sandbase.ai/v1/api/reddit/app/subreddit-settings
Authorization header
Authorization: Bearer $SANDBASE_API_KEY
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/api/reddit/app/subreddit-settings" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "need_format": false,
  "subreddit_id": "t5_2qh0u"
}
SANDBASE_JSON
)
printf '%s\n' "$result"

Explore more

Related APIs

All APIs
APIPriceResponseReleased
Reddit$0.0015 per callJSONJul 31, 2026
Reddit$0.0015 per callJSONJul 31, 2026
Reddit$0.0015 per callJSONJul 31, 2026
Reddit$0.0015 per callJSONJul 31, 2026
Reddit$0.0015 per callJSONJul 31, 2026
Reddit$0.0015 per callJSONJul 31, 2026

Questions

FAQ

How do I use the Reddit App Subreddit Settings API?

Send a POST request to https://api.sandbase.ai/v1/api/reddit/app/subreddit-settings 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 Settings 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 Settings API accept?

Required: subreddit_id (string). Optional: need_format (boolean). The Parameters table and the Playground on this page list every field.

What does the Reddit App Subreddit Settings API return?

A JSON response returned in the same HTTP request (synchronous).

Do I need a Reddit developer account or API key?

No. Reddit App Subreddit Settings 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.