The Trade Desk Third Party API

The Third Party API from The Trade Desk — 1 operation(s) for third party.

Operations 1

POST /data/thirdparty Upload third-party data for the specified data provider for use in audience… #

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/trade-desk-third-party-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

trade-desk-third-party-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: TTD Data Third Party API
  version: v0.1
tags:
- name: Third Party
paths:
  /data/thirdparty:
    post:
      tags:
      - Third Party
      summary: Upload third-party data for the specified data provider for use in audience…
      operationId: IngestThirdPartyData
      parameters:
      - name: TTD-Auth
        in: header
        description: Data API token for authentication.
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ThirdPartyDataRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThirdPartyDataServerResponse'
        '400':
          description: Bad Request - Invalid JSON, missing items, data provider not configured, or policy restrictions
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThirdPartyDataServerResponse'
        '401':
          description: Unauthorized - Invalid or missing authentication token
          content:
            application/json:
              schema:
                type: string
        '403':
          description: Forbidden - Cannot create new targeting data for this data provider
          content:
            application/json:
              schema:
                type: string
        '413':
          description: Request Entity Too Large - Request size exceeds the allowed limit
          content:
            application/json:
              schema:
                type: string
        '429':
          description: Too Many Requests - Rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThirdPartyDataServerResponse'
        '500':
          description: Internal Server Error - Unexpected server error
        '503':
          description: Service Unavailable - Handler disabled or request dropped
      servers:
      - url: https://bulk-data.adsrvr.org
components:
  schemas:
    ThirdPartyDataResponseErrorCode:
      enum:
      - Unknown
      - MissingUserId
      - UserNotMapped
      - DataNameTooLong
      - UnauthorisedThirdPartyDataWithBaseBidCPM
      - InvalidTtlInMinutes
      - InvalidDataOwnerId
      - InvalidParameterFormat
      - TargetingDataCreationLimitExceeded
      - TargetingDataCountLimitExceeded
      - TenantRestrictionsExternalData
      - TargetingDataDisabled
      - ItemDeserializationError
      type: string
    ThirdPartyDataServerResponseLine:
      type: object
      properties:
        DataProviderUserId:
          type:
          - string
          - 'null'
        TDID:
          type:
          - string
          - 'null'
          format: uuid
        DataName:
          type:
          - string
          - 'null'
        ErrorCode:
          $ref: '#/components/schemas/ThirdPartyDataResponseErrorCode'
        Message:
          type:
          - string
          - 'null'
        ItemNumber:
          type:
          - string
          - 'null'
        DataNumber:
          type:
          - string
          - 'null'
      additionalProperties: false
    ThirdPartyDataItem:
      required:
      - Data
      type: object
      properties:
        DataProviderUserId:
          type:
          - string
          - 'null'
        TDID:
          type:
          - string
          - 'null'
        DAID:
          type:
          - string
          - 'null'
        UID2:
          type:
          - string
          - 'null'
        UID2Token:
          type:
          - string
          - 'null'
        RampID:
          type:
          - string
          - 'null'
        CoreID:
          type:
          - string
          - 'null'
        EUID:
          type:
          - string
          - 'null'
        EUIDToken:
          type:
          - string
          - 'null'
        ID5:
          type:
          - string
          - 'null'
        NetID:
          type:
          - string
          - 'null'
        FirstID:
          type:
          - string
          - 'null'
        UtiqID:
          type:
          - string
          - 'null'
        MerkuryID:
          type:
          - string
          - 'null'
        RealID:
          type:
          - string
          - 'null'
        IqviaPPID:
          type:
          - string
          - 'null'
        Data:
          type: array
          items:
            $ref: '#/components/schemas/ThirdPartyData'
        CookieMappingPartnerId:
          type:
          - string
          - 'null'
      additionalProperties: false
    ThirdPartyData:
      required:
      - Name
      type: object
      properties:
        Name:
          type: string
        TimestampUtc:
          type:
          - string
          - 'null'
          format: date-time
        TtlInMinutes:
          type:
          - integer
          - 'null'
          format: int32
      additionalProperties: false
    ThirdPartyDataRequest:
      required:
      - DataProviderId
      type: object
      properties:
        DataProviderId:
          type: string
        Items:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/ThirdPartyDataItem'
        DataLoadTraceId:
          type:
          - string
          - 'null'
        IsUserIdAlreadyHashed:
          type: boolean
          default: false
      additionalProperties: false
    ThirdPartyDataServerResponse:
      type: object
      properties:
        FailedLines:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/ThirdPartyDataServerResponseLine'
      additionalProperties: false