---
title: "Get a Vendor"
method: GET
path: "/vendors/{vendor_id}"
tags: ["Vendors"]
---

# Get a Vendor

`GET /vendors/{vendor_id}`

## Request

- Base URL: `https://api.mediamath.com/api/v3.0`
- URL: `https://api.mediamath.com/api/v3.0/vendors/{vendor_id}`
- Auth: OAuth 2
  - Authorization code: `https://auth.mediamath.com/authorize`
  - Token URL: `https://auth.mediamath.com/oauth/token` scopes: `offline_access`, `manage:services`
- TypeScript: <https://skmtc.dev/mediamath/apis/campaigns-api/docs/vendors/:vendor_id/get.ts> (a function with typed inputs; its response is checked against the schema)

Get a vendor by ID

## Path parameters

- `vendor_id` integer, required

## Response `200`

Vendor response

- object
  - `data` VendorBase
    - `id` integer
    - `version` integer
    - `name` string
    - `adx_approved` boolean
    - `adx_declaration_required` boolean
    - `adx_vendor_identifier` string
    - `mm_contract_available` boolean
    - `rate_card_price` number, double
    - `rate_card_type` 'CPM' | 'FIXED'
    - `wholesale_price` number, double
    - `is_eligible` boolean
    - `created_on` string, date-time, nullable
    - `updated_on` string, date-time, nullable
    - `description` string
    - `vendor_type` 'AD_SERVER' | 'AD_VERIFICATION' | 'AUDIENCE_VERIFICATION' | 'CONTEXTUAL' | 'DATA' | 'DSP' | 'DYNAMIC_CREATIVE' | 'MEASUREMENT' | 'NETWORK' | 'OBA_COMPLIANCE' | 'OTHER' | 'PIXEL_TRACKING' | 'RICH_MEDIA' | 'SURVEY' | 'VIEWABILITY' | 'VIEWABILITY_BYO_DISPLAY' | 'VIEWABILITY_BYO_VIDEO'
    - `code` string
    - `adx_ssl_approved` boolean
    - `adx_video_ssl_approved` boolean
    - `adx_video_approved` boolean
    - `auto_tag_display` boolean
    - `provider_tax` number, double
    - `set_by` string
  - `meta` SingleMetadata
    - `status` string, required

## Other responses

- `400`: Error response
- `401`: Error response
- `403`: Error response
- `404`: Error response

---

[API](https://skmtc.dev/mediamath/apis/campaigns-api.md) - [All operations](https://skmtc.dev/mediamath/apis/campaigns-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mediamath/apis/campaigns-api/revisions/408743891def?raw)
