MediaMath Classification (V3) API

V3.0 creative classification endpoints. Uses Bearer (JWT) authentication.

Operations 7

GET /v3.0/classification/{cid} Get a Classification by ID #
POST /v3.0/classification/{cid} Save a Classification #
POST /v3.0/classification/{cid}/force-publish Force-publish a Classification #
GET /v3.0/classification/{cid}/inflate Get an Inflated Classification by ID #
POST /v3.0/classification/bulk Save Bulk Classification #
GET /v3.0/classification/bulk/{cids} Get Bulk Classification by IDs #
GET /v3.0/classification/bulk/{cids}/inflate Get Bulk Inflated Classification by IDs #

Documentation

Specifications

Other Resources

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/mediamath-classification-v3-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

mediamath-classification-v3-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Video Creatives Classification (V3) API
  description: To work with the MediaMath API with Video Creatives, first generate an authentication token.
  contact:
    name: API Support
    url: https://support.infillion.com/
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  version: v1.0
servers:
- url: https://api.mediamath.com
tags:
- name: Classification (V3)
  description: V3.0 creative classification endpoints. Uses Bearer (JWT) authentication.
paths:
  /v3.0/classification/{cid}:
    get:
      tags:
      - Classification (V3)
      summary: Get a Classification by ID
      description: Retrieve a classification object using the atomic creative ID.
      operationId: GET_v3-0-classification-cid
      parameters:
      - name: cid
        in: path
        description: Atomic creative ID
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Classification'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UIErrorType'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UIErrorType'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UIErrorType'
    post:
      tags:
      - Classification (V3)
      summary: Save a Classification
      description: Save a classification object using the atomic creative ID.
      operationId: POST_v3-0-classification-cid
      parameters:
      - name: cid
        in: path
        description: Atomic creative ID
        required: true
        schema:
          type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Classification'
        description: Classification object to save
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InflatedClassificationResponse'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UIErrorType'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UIErrorType'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UIErrorType'
  /v3.0/classification/{cid}/force-publish:
    post:
      tags:
      - Classification (V3)
      summary: Force-publish a Classification
      description: Force-publish the classification for the given atomic creative ID.
      operationId: POST_v3-0-classification-cid-force-publish
      parameters:
      - name: cid
        in: path
        description: Classification ID
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Classification'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UIErrorType'
  /v3.0/classification/{cid}/inflate:
    get:
      tags:
      - Classification (V3)
      summary: Get an Inflated Classification by ID
      description: Retrieve an inflated classification object using the atomic creative ID.
      operationId: GET_v3-0-classification-cid-inflate
      parameters:
      - name: cid
        in: path
        description: Atomic creative ID
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InflatedClassificationResponse'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UIErrorType'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UIErrorType'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UIErrorType'
  /v3.0/classification/bulk:
    post:
      tags:
      - Classification (V3)
      summary: Save Bulk Classification
      description: Save multiple classification objects using a bulk request.
      operationId: POST_v3-0-classification-bulk
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BulkClassificationResponse'
        description: Bulk classification records to save
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BulkInflatedClassificationResponse'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UIErrorType'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UIErrorType'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UIErrorType'
  /v3.0/classification/bulk/{cids}:
    get:
      tags:
      - Classification (V3)
      summary: Get Bulk Classification by IDs
      description: Retrieve multiple classification objects using a comma-separated list of atomic creative IDs.
      operationId: GET_v3-0-classification-bulk-cids
      parameters:
      - name: cids
        in: path
        description: Comma-separated list of atomic creative IDs
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BulkClassificationResponse'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UIErrorType'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UIErrorType'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UIErrorType'
  /v3.0/classification/bulk/{cids}/inflate:
    get:
      tags:
      - Classification (V3)
      summary: Get Bulk Inflated Classification by IDs
      description: Retrieve multiple inflated classification objects using a comma-separated list of atomic creative IDs.
      operationId: GET_v3-0-classification-bulk-cids-inflate
      parameters:
      - name: cids
        in: path
        description: Comma-separated list of atomic creative IDs
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BulkInflatedClassificationResponse'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UIErrorType'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UIErrorType'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UIErrorType'
components:
  schemas:
    BulkInflatedClassificationResponse:
      type: object
      properties:
        records:
          type: array
          items:
            $ref: '#/components/schemas/BulkInflatedRecord'
    ClassificationAttribute:
      type: object
      properties:
        children:
          type: array
          items:
            type: integer
        id:
          type: integer
        name:
          type: string
        parent:
          type: string
    UIErrorType:
      type: object
      properties:
        errors:
          type: array
          items:
            $ref: '#/components/schemas/UIError'
    ClassificationLanguage:
      type: object
      properties:
        alpha2:
          type: string
        bibliographic:
          type: string
        id:
          type: integer
        name:
          type: string
        name_fr:
          type: string
        terminologic:
          type: string
    BulkInflatedRecord:
      type: object
      properties:
        atomic_creative_id:
          type: integer
        details:
          $ref: '#/components/schemas/InflatedDetails'
    ClassificationVertical:
      type: object
      properties:
        children:
          type: array
          items:
            type: integer
        code:
          type: string
        description:
          type: string
        id:
          type: integer
        parent:
          type: string
    InflatedClassificationResponse:
      type: object
      properties:
        attributes:
          type: array
          items:
            $ref: '#/components/schemas/ClassificationAttribute'
        language:
          $ref: '#/components/schemas/ClassificationLanguage'
        verticals:
          type: array
          items:
            $ref: '#/components/schemas/ClassificationVertical'
    Classification:
      type: object
      properties:
        attributes:
          type: array
          items:
            type: integer
        language:
          type: integer
        verticals:
          type: array
          items:
            type: integer
    BulkClassificationResponse:
      type: object
      properties:
        records:
          type: array
          items:
            $ref: '#/components/schemas/ClassificationDetail'
    UIError:
      type: object
      properties:
        errorCode:
          type: integer
        errorMessage:
          type: string
        reasonCode:
          type: integer
        resource:
          type: string
    InflatedDetails:
      type: object
      properties:
        attributes:
          type: array
          items:
            $ref: '#/components/schemas/ClassificationAttribute'
        language:
          $ref: '#/components/schemas/ClassificationLanguage'
        verticals:
          type: array
          items:
            $ref: '#/components/schemas/ClassificationVertical'
    ClassificationDetail:
      type: object
      properties:
        atomic_creative_id:
          type: integer
        details:
          $ref: '#/components/schemas/Classification'
  securitySchemes:
    OAuth2:
      type: oauth2
      flows:
        password:
          tokenUrl: https://auth.mediamath.com
          scopes: {}