Doordash Resources API

To retrieve brands and categories available for behavioral targeting.

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

POST /ads/api/v1/resources/search Search ad categories or brands · Search resources #
Ask an LLM
“Which categories or brands can I target in ads?”
“Can I search resources by classification type?”
Tell an agent
Search ad resources of classification {classificationType}.
Find {resourceTypes} resources under classification {classificationType}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/doordash-resources-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API 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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

doordash-resources-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 1.0.29
  title: DoorDash Ads Resources API
  description: DoorDash Ads API for Sponsored Products for campaign management and reporting operations.
servers:
- url: https://openapi.doordash.com
security:
- Ads API Key Authentication: []
tags:
- name: Resources
  description: To retrieve brands and categories available for behavioral targeting.
paths:
  /ads/api/v1/resources/search:
    post:
      tags:
      - Resources
      operationId: searchResources
      summary: Search resources
      description: Get a list of resources (categories or advertiser's brands) based on classification type and resource type.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ResourcesSearchRequest'
      responses:
        '200':
          description: Success.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourcesSearchResponse'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '500':
          $ref: '#/components/responses/InternalServerError'
components:
  schemas:
    CpgResource:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        type:
          $ref: '#/components/schemas/ResourceType'
        l1Id:
          type: string
        l1name:
          type: string
    ResourcesSearchResponse:
      type: object
      properties:
        results:
          type: array
          items:
            $ref: '#/components/schemas/CpgResource'
        searchAfter:
          type: string
    ResourceType:
      type: string
      enum:
      - L1_BRAND
      - L1_CATEGORY
      - L2_CATEGORY
    Error:
      properties:
        code:
          description: An enumerated error for machine use.
          type: string
          readOnly: true
        details:
          description: A human-readable description of the error.
          type: string
          readOnly: true
    ClassificationType:
      type: string
      enum:
      - BRAND
      - CATEGORY
    ResourcesSearchRequest:
      type: object
      required:
      - classificationType
      properties:
        classificationType:
          $ref: '#/components/schemas/ClassificationType'
        resourceTypes:
          allOf:
          - type: array
          - items:
              $ref: '#/components/schemas/ResourceType'
          - description: "When classificationType = BRAND, resourceTypes must be at least one of [L1_BRAND].\n\nWhen classificationType = CATEGORY, resourceTypes must be at least one of [L1_CATEGORY, L2_CATEGORY].\n\nWhen not provided, will return only L1s for the provided classification. \n\nWhen provided, will returns associated resources of the provided classification type.\n"
        searchAfter:
          type: string
          description: 'Null when results included all matching resources. Base64 encoded string of the request payload when there are additional resources not included within the current result set.

            '
        limit:
          type: number
          default: 10
  responses:
    Unauthorized:
      description: Unauthorized.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    InternalServerError:
      description: One or more query parameters contained an invalid value.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    BadRequest:
      description: Bad request.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    Ads_API_Key_Authentication:
      type: apiKey
      scheme: bearer
      in: header
      name: Authorization
      description: We will be using stateful token based API keys to authenticate clients, passed in the 'Authorization' header as 'Bearer {API_KEY}'.