---
title: "Get a Single Audience Segment Taxonomy"
method: GET
path: "/audience_taxonomies/{taxonomy_id}"
tags: ["Targeting"]
---

# Get a Single Audience Segment Taxonomy

`GET /audience_taxonomies/{taxonomy_id}`

## Request

- Base URL: `https://api.mediamath.com/api/v3.0`
- URL: `https://api.mediamath.com/api/v3.0/audience_taxonomies/{taxonomy_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/audience_taxonomies/:taxonomy_id/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns a single audience segment taxonomy by ID with its full nested segment tree.

## Path parameters

- `taxonomy_id` integer, required

## Response `200`

Single audience segment taxonomy

- AudienceTaxonomySingleResponse
  - `data` AudienceTaxonomiesCollectionItem
    - `taxonomy_id` integer, required: ID of the audience_taxonomies row
    - `created_by` integer, nullable, required: ID of the user who created the taxonomy (audience_taxonomies.created_by)
    - `updated_by` integer, nullable, required: ID of the user who last updated the taxonomy (audience_taxonomies.updated_by)
    - `created_on` string, date-time, nullable, required: Timestamp when the taxonomy was created (audience_taxonomies.created_on)
    - `updated_on` string, date-time, nullable, required: Timestamp when the taxonomy was last updated (audience_taxonomies.updated_on)
    - `audience_vendor_id` integer, required: ID of the audience_vendors row associated with this taxonomy
    - `vendor_id` integer, required: ID of the underlying vendor owning this taxonomy
    - `revenue_share_pct` number, double, nullable: Revenue share percentage
    - `visibility` 'GLOBAL' | 'RESTRICTED', required: Visibility scope of the taxonomy
    - `permissions` object: Entity-scoped access permissions. Included only when the caller is authorized to view permissions for this taxonomy.
      - `organizations` integer[], required
      - `agencies` integer[], required
      - `advertisers` integer[], required
    - `taxonomy` AudienceTaxonomiesCollectionNodeResponse, required
      - `id` integer, required: ID of the audience_segments row for this node
      - `name` string, required: Display name of this segment node
      - `code` string, nullable: Vendor-defined segment code (raw or CRC32-hashed)
      - `buyable` boolean, required: Whether this segment can be purchased/targeted
      - `retail_cpm` number, double, nullable: Retail cost per thousand impressions
      - `wholesale_cpm` number, double, nullable: Wholesale cost per thousand impressions
      - `uniques` integer, nullable: Estimated number of unique users in this segment
      - `children` AudienceTaxonomiesCollectionNodeResponse[], required: Nested child segment nodes (may be empty)
  - `meta` SingleMetadata
    - `status` string, required

## Other responses

- `400`: Error response
- `401`: Error response
- `403`: Error response
- `404`: Error response
- `500`: 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)
