# 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 | 1 日あたりの平均検索指数。 |
| `content_index` | integer \| null | 1 日あたりの平均コンテンツ指数。 |
| `spread_index` | integer \| null | 1 日あたりの平均拡散指数。 |

## 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`
