# BrandMetrics

> A brand's average indexes over a period, with its industry's averages to compare.

Canonical page: https://okdata.online/docs/objects/brand_metrics/

The same shape on every platform. A field a platform does not have is null, and meta.unavailable says why. Use fields= to keep only what you need.

| Field | Type | Description |
|---|---|---|
| `brand` | string | Название бренда. |
| `category` | string \| null | The industry the platform files the brand under, in its words. |
| `search_index` | integer \| null | Среднедневной поисковый индекс за период. |
| `content_index` | integer \| null | Среднедневной индекс контента за период. |
| `spread_index` | integer \| null | Среднедневной индекс распространения за период. |
| `benchmarks` | BrandBenchmark[] \| null | The same averages for the whole industry and for its leading brands. |
| `ext` | object | Дополнительные поля конкретной платформы. Возвращаются только при view=full. |

### BrandBenchmark

| Field | Type | Description |
|---|---|---|
| `scope` | string | Which brands the average is over: the whole industry, or its top 3, 5, 10, 15 or 30. |
| `search_index` | integer \| null | Их средний дневной поисковый индекс. |
| `content_index` | integer \| null | Их средний дневной индекс контента. |
| `spread_index` | integer \| null | Их средний дневной индекс распространения. |

## Endpoints that return a BrandMetrics

- [Индекс Douyin: бренд и отрасль](https://okdata.online/apis/douyin/index/brands/metrics/) (`douyin.index.brands.metrics`): $0.002 per call

## Fields by view

Each view includes the fields of the views above it. `view=compact` is the smallest; `full` adds platform extras under `ext`.

- compact: `brand`, `category`, `search_index`, `content_index`, `spread_index`, `benchmarks`
- standard: —
- full: `ext`
