Operations 1
Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay
Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/reddit:reddit-members-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Reddit Advertising Members API
version: '3'
x-logo:
url: https://www.redditstatic.com/desktop2x/img/favicon/favicon-32x32.png
description: '## Ads API terms
By accessing or using the Ads API and/or associated Reddit Data, you are agreeing that you have read, and that you Agree to comply with and to be bound by, the Ads API Terms and all applicable laws and regulations in their entirety without limitation or qualification. The Ads API Terms apply to and govern your access to and use of the Ads API and Reddit Data, constitute a legally binding agreement between you and Reddit, and include certain terms that are defined in the Advertising Platform Terms, Developer Terms, and User Agreement. You may use the Ads API and Reddit Data only in accordance with the Ads API Terms. Use of the Conversions API is subject to the Advertiser Measurement Program Terms in addition to the same agreements as the Ads API. If you do not agree to the Ads API Terms, and Advertiser Measurement Program Terms as applicable, then you must not access or use the Ads API, Conversions API, or Reddit Data. **Note:** The Reddit Ads API is open to all developers and **does not require allowlisting or approval from Reddit to access**. Get started with the API. API partners working on behalf of advertisers can request support by contacting us. See our supported partners. ## Overview
The Reddit Ads API lets advertisers tap into the Reddit Ads Platform to build and manage advertising campaigns and accounts programmatically. By integrating Reddit Ads API into your tooling, you can streamline workflows, reduce operational overhead, and accelerate the creation, optimization, and reporting of Reddit campaigns without needing to step into the Reddit Ads Manager directly. All API applications must be authenticated with OAuth2 by creating a developer application and obtaining access and refresh tokens. !v3 ERD diagram
Here are two popular ways to use the Reddit Ads API:
- **Postman:** A visual client that makes it simpler to set up and start testing requests and responses. This is the fastest way to familiarize yourself with the API if you prefer a point-and-click approach. You can explore our Postman collections. - **Programmatic access:** Use your preferred programming language or command-line tools to create automations and integrations. This approach is ideal if you want to embed API calls into your workflows or build custom tools. ### User agents
Rate-limiting issues often occur if you haven''t set your user agent to a unique descriptor. Many default user agents (like `“Python/urllib”` or `“Java”`) are drastically limited to encourage unique and descriptive user-agent strings. We recommend following this format for your client''s user agent string:
```
{{Target platform}}:{{Unique app ID}}:{{Version string}} (by /u/{{Your Reddit username}})
```
> **Note:** Including your version number helps us block old buggy or broken versions of your app safely. Just remember to update this string when you update your version number. Example
```
User-Agent: android:com.example.myredditapp:v1.2.3 (by /u/kemitche)
```
> **Important:** Never lie about your user agent! Don''t pretend to be popular browsers or other bots. We''ll ban anyone caught in the act. ### Pagination
Paginated endpoints respond with a `pagination` object containing up to 2 fields:
> **Important:** The URLs for these fields should be followed directly. Don''t assume pagination based on the query parameters in the provided URLs. - **`next_url`:** The full URL to access the next page of the response. If not available, the current page is the final page. - **`previous_url`:** The full URL to access the previous page of the response. If not available, the current page is the first page. All endpoints that return a list, such as `List Campaigns` and `Get a Report`, will be paginated. ### Response types
Response | Description
--- | ---
200 | Successfully processed the request. 400 | Request was invalid. See the client error message for specifics. 401 | No bearer token or a bad bearer token was provided. Check your application authentication.'
servers:
- url: https://ads-api.reddit.com/api/v3
description: Reddit AdsAPI Production
tags:
- name: Members
description: Information about members.
paths:
/me:
get:
description: 'Retrieve the authenticated actor.
Rate Limit
See the rate limits for Business Manager
Policy Slug: ads-business-manager
Window: 60 seconds
Quota: 100 requests'
summary: Get Me
operationId: get_me
responses:
'200':
description: The authenticated actor.
content:
application/json:
schema:
type: object
additionalProperties: false
required:
- data
properties:
data:
$ref: '#/components/schemas/components_schema_get_me_response_body'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'429':
$ref: '#/components/responses/TooManyRequests'
5XX:
$ref: '#/components/responses/ServerError'
security:
- RedditAPIKey:
- adsread
tags:
- Members
components:
schemas:
phone-2:
type:
- string
- 'null'
description: The member's phone number.
examples:
- +1-123-456-7890
lastname:
type:
- string
- 'null'
description: The member's last name.
examples:
- Snoo
components_errors_404:
type: object
required:
- error
additionalProperties: false
properties:
error:
type: object
required:
- message
additionalProperties: false
properties:
message:
type: string
description: A human friendly error message.
examples:
- Member ID not found
code:
type: integer
description: The error code.
examples:
- 404
reddit_username:
type: string
description: The member's username.
examples:
- reddit_user
readOnly: true
id-6:
type: string
description: The member's ID.
examples:
- '1234567890'
readOnly: true
components_errors_429:
type: object
required:
- error
additionalProperties: false
properties:
error:
type: object
additionalProperties: false
properties:
code:
type: integer
description: The error code.
examples:
- 429
message:
type: string
description: A human friendly error message.
examples:
- Too Many Requests
firstname:
type:
- string
- 'null'
description: The member's first name.
examples:
- John
email:
readOnly: true
type:
- string
- 'null'
example: john.snoo@reddit.com
description: The member's email address.
components_schema_get_me_response_body:
title: GetMeResponseBody
type: object
additionalProperties: false
properties:
type:
type: string
description: Indicates whether the access token belongs to a member or System User. System User responses do not contain human profile data.
enum:
- MEMBER
- SYSTEM_USER
email:
$ref: '#/components/schemas/email'
firstname:
$ref: '#/components/schemas/firstname'
id:
$ref: '#/components/schemas/id-6'
lastname:
$ref: '#/components/schemas/lastname'
phone:
$ref: '#/components/schemas/phone-2'
reddit_user_id:
$ref: '#/components/schemas/reddit_user_id'
reddit_username:
$ref: '#/components/schemas/reddit_username'
components_errors_403:
type: object
required:
- error
additionalProperties: false
properties:
error:
type: object
required:
- message
additionalProperties: false
properties:
message:
type: string
description: A human friendly error message.
examples:
- Access not granted for listing profiles.
code:
type: integer
description: The error code.
examples:
- 403
reddit_user_id:
description: The member's Reddit user ID.
examples:
- t2_123456
type: string
pattern: ^t2_.*
readOnly: true
components_errors_500:
type: object
required:
- error
additionalProperties: false
properties:
error:
type: object
required:
- message
additionalProperties: false
properties:
code:
type: integer
description: The error code.
examples:
- 500
message:
type: string
description: A human friendly error message.
examples:
- Internal Server Error
components_errors_401:
type: object
required:
- error
additionalProperties: false
properties:
error:
type: object
required:
- message
additionalProperties: false
properties:
message:
type: string
description: A human friendly error message.
examples:
- Bad bearer token provided.
code:
type: integer
description: The error code.
examples:
- 401
responses:
NotFound:
description: The specified resource was not found.
content:
application/json:
schema:
$ref: '#/components/schemas/components_errors_404'
Unauthorized:
description: No bearer token or a bad bearer token was provided.
content:
application/json:
schema:
$ref: '#/components/schemas/components_errors_401'
TooManyRequests:
description: Too many requests. See [Rate Limiting](/docs/v3/guides/quick-start/rate-limiting) for header details and best practices.
headers:
RateLimit-Policy:
description: The rate limit policies that apply to this request (IETF "RateLimit header fields for HTTP" draft). Each comma-separated policy is keyed by a public policy name and lists its quota `q` and window in seconds `w`.
schema:
type: string
examples:
- '"custom-audience-ingestion";q=3000;w=900,"custom-audience-ingestion-burst";q=500;w=60'
RateLimit:
description: 'The current rate limit state for each applicable policy (IETF "RateLimit header fields for HTTP" draft): remaining quota `r` and seconds until the window resets `t`. On a 429 the exhausted policy reports `r=0`.'
schema:
type: string
examples:
- '"custom-audience-ingestion";r=0;t=42,"custom-audience-ingestion-burst";r=0;t=5'
content:
application/json:
schema:
$ref: '#/components/schemas/components_errors_429'
ServerError:
description: Server error.
content:
application/json:
schema:
$ref: '#/components/schemas/components_errors_500'
Forbidden:
description: Insufficient authentication scopes.
content:
application/json:
schema:
$ref: '#/components/schemas/components_errors_403'
securitySchemes:
RedditAPIKey:
type: oauth2
flows:
authorizationCode:
authorizationUrl: https://www.reddit.com/api/v1/authorize
refreshUrl: https://www.reddit.com/api/v1/access_token
tokenUrl: https://www.reddit.com/api/v1/access_token
scopes:
adsconversions: Post conversion events through the API
adsread: Read advertising data through my account.
adsedit: Write advertising data through my account.
adsdatadeletion: Delete advertising data through my account.
description: Reddit OAuth2 Security Key