Reddit Subreddits API
Endpoints for managing and retrieving information about subreddits, including subscription, creation, rules, and settings.
Reddit Subreddits API is one of 21 APIs that Reddit publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include Subreddits. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and authentication docs.
This API exposes 4 operations across 4 paths, and defines 4 schemas. It is described by OpenAPI 3.1.0, at version 3.
Requests are made against a single base URL, https://ads-api.reddit.com/api/v3.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 1
Reddit Subreddits API declares
1 security scheme
for authenticating requests.
It supports OAuth 2.0 (oauth2) using the authorizationCode flow, exposing 1 scope.
By default, every request must be authenticated.
oauth2— Reddit Ads API uses OAuth 2.0 for authentication. Access tokens are obtained via the authorization code flow.
Paths & Operations 4
Across 4 paths, the API surfaces 4 operations — 3 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.
Endpoints for managing and retrieving information about subreddits, including subscription, creation, rules, and settings.
Schemas 4
The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are SubredditRule (6 properties), Listing (2 properties), Subreddit (2 properties), Thing (2 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from Reddit 12
Other APIs Reddit publishes across the network.