Operations 4
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-businesses-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 Businesses 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: Businesses
description: Information about businesses.
paths:
/businesses/{business_id}:
get:
description: 'Retrieve business by ID.
Rate Limit
See the rate limits for Business Manager
Policy Slug: ads-business-manager
Window: 60 seconds
Quota: 100 requests'
summary: Get Business
operationId: get_business
parameters:
- description: The business ID.
in: path
name: business_id
required: true
schema:
type: string
format: uuid
example: 1e200a0b-4e98-32cc-dd47-3006e4c85bb2
responses:
'200':
description: A business.
content:
application/json:
schema:
type: object
title: GetBusinessResponse
additionalProperties: false
required:
- data
properties:
data:
$ref: '#/components/schemas/components_schema_business'
'400':
$ref: '#/components/responses/BadRequest'
'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:
- Businesses
patch:
description: 'Update business by ID.
Rate Limit
See the rate limits for Business Manager
Policy Slug: ads-business-manager
Window: 60 seconds
Quota: 100 requests'
summary: Update Business
operationId: update_business
parameters:
- description: The business ID.
in: path
name: business_id
required: true
schema:
type: string
format: uuid
example: 1e200a0b-4e98-32cc-dd47-3006e4c85bb2
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateBusinessRequest'
responses:
'200':
description: The updated business.
content:
application/json:
schema:
additionalProperties: false
type: object
title: UpdateBusinessResponse
properties:
data:
$ref: '#/components/schemas/components_schema_business'
'400':
$ref: '#/components/responses/BadRequest'
'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:
- adsedit
tags:
- Businesses
/industries:
get:
description: 'List supported industries.
Rate Limit
See the rate limits for Business Manager
Policy Slug: ads-business-manager
Window: 60 seconds
Quota: 100 requests'
summary: List Industries
operationId: list_industries
responses:
'200':
description: The supported industries.
content:
application/json:
schema:
type: object
title: ListIndustriesResponse
additionalProperties: false
required:
- data
properties:
data:
type: array
title: IndustriesList
items:
$ref: '#/components/schemas/components_schema_industry'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'429':
$ref: '#/components/responses/TooManyRequests'
5XX:
$ref: '#/components/responses/ServerError'
security:
- RedditAPIKey:
- adsread
tags:
- Businesses
/me/businesses:
get:
summary: List My Businesses
description: 'Retrieve all businesses associated with the authenticated user. Apply filters to narrow results by the user''s access.
Rate Limit
See the rate limits for Business Manager
Policy Slug: ads-business-manager
Window: 60 seconds
Quota: 100 requests'
operationId: list_my_businesses
parameters:
- name: ad_account_id
in: query
description: Filter by the ID of the ad account the user has access to.
required: false
schema:
type: string
example: a2_123
- name: role
in: query
description: Filter by the business role the user has.
required: false
schema:
$ref: '#/components/schemas/components_enums_business_role'
example: BUSINESS_ADMIN
- $ref: '#/components/parameters/components_parameters_page_token'
- description: The number of items to be returned by page.
in: query
name: page.size
allowEmptyValue: true
schema:
type: integer
maximum: 700
responses:
'200':
description: A list of businesses.
content:
application/json:
schema:
type: object
title: ListMyBusinessesResponse
additionalProperties: false
required:
- data
- pagination
properties:
data:
type: array
title: BusinessesList
items:
$ref: '#/components/schemas/components_schema_business'
pagination:
$ref: '#/components/schemas/components_schema_pagination'
'400':
$ref: '#/components/responses/BadRequest'
'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:
- Businesses
components:
schemas:
components_schema_modified_at:
title: Modified At
description: When this entity was last changed ([ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html)).
example: '2023-03-27T21:18:39Z'
type: string
format: date-time
readOnly: true
primary_contact_id:
type:
- string
- 'null'
description: The ID of the business's primary contact.
examples:
- t2_example
components_enums_industry_type:
description: The industry type.
type: string
example: RETAIL_AND_ECOMMERCE
enum:
- ADULT
- ADVERTISING
- ALCOHOL
- AUTO
- CLOTHING_AND_FASHION
- CONSULTING
- CONSUMER_PACKAGED_GOODS
- DATING
- EDUCATION
- EMPLOYMENT
- ENTERTAINMENT
- FINANCIAL_SERVICES
- GAMBLING_AND_FANTASY_SPORTS
- GAMING
- HEALTH_AND_BEAUTY
- OTHER
- POLITICS_AND_GOVERNMENT
- PUBLISHING
- REAL_ESTATE
- RESTAURANTS_AND_FOOD
- RETAIL_AND_ECOMMERCE
- SPORTS
- TECH_B2B
- TECH_B2C
- TECH_OTHER
- TRAVEL
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
phone:
type:
- string
- 'null'
description: The business's phone number.
examples:
- +1-123-456-7890
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
components_schema_created_at:
description: When this entity was created ([ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html)).
example: '2023-03-27T21:18:39Z'
type: string
format: date-time
readOnly: true
components_schema_business_id:
description: The business ID.
examples:
- 1e200a0b-4e98-32cc-dd47-3006e4c85bb2
type: string
format: uuid
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_enums_business_role:
type: string
description: The user's role in a business. Used to filter businesses by the user's role.
examples:
- BUSINESS_ADMIN
enum:
- BUSINESS_ADMIN
- CATALOG_ADMIN
country:
type:
- string
- 'null'
description: The business's country code ([ISO 3166-1 alpha-2](https://www.iso.org/iso-3166-country-codes.html)). If unavailable, set to `Other`.
examples:
- CA
name-6:
type: string
description: The name of the business.
examples:
- Reddit Inc.
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
components_schema_pagination:
type: object
additionalProperties: false
properties:
next_url:
description: 'The full URL for the next page. If not available, the current page is the final page.
> **Important:** The URL should be followed directly. Don''t assume pagination based on the query parameters in the provided URLs.
'
example: https://ads-api.reddit.com/api/v3?page.token=nextToken
type:
- string
- 'null'
readOnly: true
previous_url:
description: 'The full URL for the previous page. If not available, the current page is the first page.
> **Important:** The URL should be followed directly. Don''t assume pagination based on the query parameters in the provided URLs.
'
example: https://ads-api.reddit.com/api/v3?page.token=previousToken
type:
- string
- 'null'
readOnly: true
components_schema_industry:
type: object
additionalProperties: false
properties:
id:
$ref: '#/components/schemas/components_enums_industry_type'
description: The industry type.
display:
description: The industry name.
examples:
- Retail & eCommerce
type: string
UpdateBusinessRequest:
type: object
additionalProperties: false
required:
- data
properties:
data:
type: object
additionalProperties: false
properties:
name:
$ref: '#/components/schemas/name-6'
industry:
$ref: '#/components/schemas/industry'
country:
$ref: '#/components/schemas/country'
website_url:
$ref: '#/components/schemas/website_url'
phone:
$ref: '#/components/schemas/phone'
primary_contact_id:
$ref: '#/components/schemas/primary_contact_id'
agency_affiliated:
$ref: '#/components/schemas/agency_affiliated'
agency_affiliated:
type: boolean
description: Whether the business is affiliated with an agency.
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
industry:
$ref: '#/components/schemas/components_enums_industry_type'
description: The business's industry.
components_errors_400:
type: object
required:
- error
additionalProperties: false
properties:
error:
type: object
required:
- message
additionalProperties: false
properties:
code:
type: integer
description: The error code.
examples:
- 400
message:
type: string
description: A human friendly error message.
examples:
- Bad request.
fields:
title: FieldsList
type: array
items:
type: object
required:
- field
- message
additionalProperties: false
properties:
field:
title: FieldName
type: string
description: The field that caused the error.
examples:
- field_name
message:
type: string
description: A human friendly error message.
examples:
- Invalid value.
description: The fields that caused the error.
website_url:
type:
- string
- 'null'
description: The business's website URL.
examples:
- https://www.redditinc.com/
components_schema_business:
title: Business
type: object
additionalProperties: false
description: The parent entity that owns all the entities in an organization.
properties:
agency_affiliated:
type: boolean
description: Whether the business is affiliated with an agency.
country:
type:
- string
- 'null'
description: The business's country code ([ISO 3166-1 alpha-2](https://www.iso.org/iso-3166-country-codes.html)). If unavailable, set to `Other`.
examples:
- CA
created_at:
$ref: '#/components/schemas/components_schema_created_at'
creator_id:
type:
- string
- 'null'
description: The ID of the member that created the business.
examples:
- t2_example
id:
allOf:
- $ref: '#/components/schemas/components_schema_business_id'
- readOnly: true
industry:
$ref: '#/components/schemas/components_enums_industry_type'
description: The business's industry.
modified_at:
$ref: '#/components/schemas/components_schema_modified_at'
name:
type: string
description: The name of the business.
examples:
- Reddit Inc.
phone:
type:
- string
- 'null'
description: The business's phone number.
examples:
- +1-123-456-7890
primary_contact_id:
type:
- string
- 'null'
description: The ID of the business's primary contact.
examples:
- t2_example
website_url:
type:
- string
- 'null'
description: The business's website URL.
examples:
- https://www.redditinc.com/
responses:
BadRequest:
description: Bad request.
content:
application/json:
schema:
$ref: '#/components/schemas/components_errors_400'
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'
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'
parameters:
components_parameters_page_token:
description: The token for the page to retrieve.
in: query
name: page.token
schema:
type: string
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