MediaMath Marketplaces API

Marketplaces

Operations 4

GET /marketplaces/{marketplace_id} Get a Marketplace #
POST /marketplaces/{marketplace_id} Update a Marketplace #
GET /marketplaces List Marketplaces #
POST /marketplaces Create a Marketplace #

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-marketplaces-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-marketplaces-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Campaigns Ad Servers Marketplaces API
  description: 'MediaMath Campaign Management API


    [Postman Collection](https://apidocs.mediamath.com/guides/postman-collections)

    '
  version: 3.0.1807
  contact:
    url: https://support.infillion.com/
servers:
- url: https://api.mediamath.com/api/v3.0
  description: Live Server
security:
- Auth0:
  - offline_access
  - manage:services
tags:
- name: Marketplaces
  description: Marketplaces
paths:
  /marketplaces/{marketplace_id}:
    get:
      operationId: get-marketplace
      summary: Get a Marketplace
      description: Get a marketplace by ID
      tags:
      - Marketplaces
      responses:
        '200':
          description: Marketplace response
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/marketplace_full_response'
                  meta:
                    $ref: '#/components/schemas/single_metadata'
        '400':
          $ref: '#/components/responses/error'
        '401':
          $ref: '#/components/responses/error'
        '403':
          $ref: '#/components/responses/error'
        '404':
          $ref: '#/components/responses/error'
      parameters:
      - schema:
          type: integer
        name: marketplace_id
        in: path
        required: true
        description: Numeric ID of the marketplace to get
    post:
      operationId: update-marketplace
      summary: Update a Marketplace
      description: Update a marketplace by ID
      tags:
      - Marketplaces
      responses:
        '200':
          $ref: '#/components/responses/marketplace'
        '400':
          $ref: '#/components/responses/error'
        '401':
          $ref: '#/components/responses/error'
        '403':
          $ref: '#/components/responses/error'
        '404':
          $ref: '#/components/responses/error'
        '409':
          $ref: '#/components/responses/error'
      requestBody:
        $ref: '#/components/requestBodies/marketplace_update'
      parameters:
      - schema:
          type: integer
        name: marketplace_id
        in: path
        required: true
        description: Numeric ID of the marketplace to update
  /marketplaces:
    get:
      operationId: list-marketplaces
      summary: List Marketplaces
      description: Get a list of marketplaces
      tags:
      - Marketplaces
      responses:
        '200':
          description: List marketplaces response
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/marketplace_full_response'
                  meta:
                    $ref: '#/components/schemas/list_metadata'
        '400':
          $ref: '#/components/responses/error'
        '401':
          $ref: '#/components/responses/error'
        '403':
          $ref: '#/components/responses/error'
    post:
      operationId: create-marketplace
      summary: Create a Marketplace
      description: Create a marketplace
      tags:
      - Marketplaces
      requestBody:
        $ref: '#/components/requestBodies/marketplace_create'
      responses:
        '201':
          $ref: '#/components/responses/marketplace'
        '400':
          $ref: '#/components/responses/error'
        '401':
          $ref: '#/components/responses/error'
        '403':
          $ref: '#/components/responses/error'
components:
  schemas:
    single_metadata:
      title: single_metadata
      type: object
      properties:
        status:
          type: string
          example: success
      required:
      - status
    marketplace_update:
      type: object
      allOf:
      - type: object
        properties:
          version:
            type: integer
            format: int32
            example: 3
      - $ref: '#/components/schemas/marketplace_full'
    marketplace_create:
      type: object
      allOf:
      - $ref: '#/components/schemas/marketplace_full'
      - type: object
        required:
        - name
        - strategy_id
    marketplace_full_response:
      allOf:
      - type: object
        properties:
          id:
            type: integer
            format: int32
            example: 33
          version:
            type: integer
            format: int32
            example: 3
      - $ref: '#/components/schemas/marketplace_full'
    error_response:
      title: error response
      type: object
      required:
      - errors
      - meta
      properties:
        errors:
          type: array
          items:
            type: object
            properties:
              code:
                type: string
              field:
                description: Optional when it is a schema error
                type: string
              message:
                type: string
        meta:
          type: object
          required:
          - status
          properties:
            status:
              type: string
    marketplace_full:
      type: object
      properties:
        created_on:
          type: string
          format: date-time
          readOnly: true
        updated_on:
          type: string
          format: date-time
          readOnly: true
        name:
          type: string
          minLength: 1
        supply_type:
          type: string
          minLength: 1
        status:
          type: boolean
        rtb_enabled:
          type: boolean
        strategy_id:
          type: integer
          format: int32
          example: 5
        code:
          type: string
          minLength: 1
        bidder_exchange_identifier:
          type: integer
          format: int32
          example: 8
        rtb_type:
          type: string
          minLength: 1
        has_display:
          type: boolean
        has_mobile_display:
          type: boolean
        has_video:
          type: boolean
        has_mobile_video:
          type: boolean
        requires_creative_audit:
          type: boolean
        has_desktop_video:
          type: boolean
        has_connected_tv:
          type: boolean
        mma_free:
          type: boolean
        private:
          type: boolean
        mkt_sell_price:
          type:
          - number
          - 'null'
          format: float
          minimum: -1
        mkt_sell_price_currency_code:
          type:
          - string
          - 'null'
          minLength: 3
          maxLength: 3
          example: USD
        permission_organizations:
          type: array
          items:
            type: integer
            format: int32
            example: 7
        permission_agencies:
          type: array
          items:
            type: integer
            format: int32
            example: 9
    list_metadata:
      title: pagination metadata
      type: object
      properties:
        status:
          type: string
          example: success
          description: The status of the response, indicating success or failure.
        count:
          type: integer
          example: 10
          description: The number of items returned in the current response.
        total_count:
          type: integer
          example: 100
          description: The total number of items available in the dataset.
        offset:
          type: integer
          example: 0
          description: The offset from the start of the dataset, used for pagination.
        next_page:
          type: string
          description: The URL to fetch the next page of results.
        prev_page:
          type: string
          description: The URL to fetch the previous page of results.
      required:
      - status
      - count
  requestBodies:
    marketplace_create:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/marketplace_create'
    marketplace_update:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/marketplace_update'
  responses:
    error:
      description: Error response
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/error_response'
    marketplace:
      description: Marketplace response
      content:
        application/json:
          schema:
            type: object
            properties:
              data:
                $ref: '#/components/schemas/marketplace_full_response'
              meta:
                $ref: '#/components/schemas/single_metadata'
  securitySchemes:
    Auth0:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://auth.mediamath.com/authorize
          scopes:
            offline_access: for refresh tokens
            manage:services: normal access
          tokenUrl: https://auth.mediamath.com/oauth/token
          refreshUrl: https://auth.mediamath.com/authorize?scope=offline_access
x-tagGroups:
- name: Hierarchy
  tags:
  - Advertisers
  - Agencies
  - Campaign Plans
  - Campaigns
  - Campaigns Budget Flights
  - New Strategy Plans
  - Organizations
  - Strategies
  - Strategy Parameters
  - Strategy Templates
- name: Targeting
  tags:
  - Segment Groups
  - Targeting
  - Targeting Attachments
  - Targeting Segment Objectives
  - Targeting Segments
- name: Creatives
  tags:
  - Atomic Creatives
  - Concepts
  - Creatives
  - Pixel Bundles
  - Pixel Providers
- name: Vendors & Contracts
  tags:
  - Audience Vendors
  - Contracts
  - Marketplaces
  - Vendor Contracts
  - Vendors
- name: Users & Access
  tags:
  - Enterprise Controls
  - User Permissions
  - Users
- name: Reference Data
  tags:
  - Ad Servers
  - Currency Rates
  - General
  - Sidekick Usage Logs
  - Site Lists
  - Supply Sources
  - Timezones
  - Verticals