# BrandHistory

> 品牌在平台指數工具裡的逐日搜尋、內容和傳播指數。

網頁版：https://okdata.online/zh/docs/objects/brand_history/

所有平台同一種結構。平台沒有的欄位為 null，meta.unavailable 會說明原因。用 fields= 只取需要的欄位。

| 欄位 | 型別 | 說明 |
|---|---|---|
| `brand` | string | 品牌名。 |
| `category` | string \| null | 平台給品牌歸的行業，平台原文。 |
| `points` | BrandPoint[] | 逐日資料，一天一條，從早到晚。 |
| `ext` | object | 平台特有欄位，只在 view=full 時返回。 |

### BrandPoint

| 欄位 | 型別 | 說明 |
|---|---|---|
| `date` | string | 日期：中國時間（UTC+8）的一個自然日，寫成該日期的 UTC 零點。 |
| `search_index` | integer \| null | 搜尋指數：品牌的搜尋熱度，不是搜尋次數。 |
| `content_index` | integer \| null | 內容指數：品牌相關內容的多少，不是內容條數。 |
| `spread_index` | integer \| null | 傳播指數：相關內容的傳播範圍，不是次數。 |

## 返回 BrandHistory 的介面

- [抖音巨量算數品牌指數趨勢](https://okdata.online/zh/apis/douyin/index/brands/history/) (`douyin.index.brands.history`): $0.002/次

## 各 view 返回的欄位

每一級 view 都包含上一級的欄位。`view=compact` 最精簡；`full` 會在 `ext` 里加上平台特有欄位。

- compact：`brand`, `category`, `points`
- standard：—
- full：`ext`
