# BrandHistory

> A brand's search, content and spread indexes on a platform's trend tool, day by day.

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

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. |
| `points` | BrandPoint[] | 하루 1건, 오래된 순. |
| `ext` | object | 플랫폼별 추가 필드. view=full일 때만 반환됩니다. |

### BrandPoint

| Field | Type | Description |
|---|---|---|
| `date` | string | The day: a calendar day in China time (UTC+8), written as 00:00 UTC of that date. |
| `search_index` | integer \| null | Search index: search interest in the brand, not a count of searches. |
| `content_index` | integer \| null | Content index: how much content there was about the brand, not a count of posts. |
| `spread_index` | integer \| null | Spread index: how far that content travelled, not a count. |

## Endpoints that return a BrandHistory

- [Douyin 지수: 브랜드 트렌드](https://okdata.online/apis/douyin/index/brands/history/) (`douyin.index.brands.history`): $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`, `points`
- standard: —
- full: `ext`
