# LiveStreamer

> A streamer's live figures over a period, as a live board or a creator marketplace shows them: rank, sessions, viewers and sales bands.

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

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 |
|---|---|---|
| `id` | string | The streamer's ID on the board's source: the Xingtu creator ID on Douyin (what douyin.live.streamers.metrics takes), the user ID on TikTok. |
| `url` | string \| null | Страница стримера, если она есть. |
| `username` | string \| null | Имя пользователя, если рейтинг его указывает. |
| `name` | string \| null | Display name; null where the platform gives none (douyin.live.streamers.metrics). |
| `avatar_url` | string \| null | URL аватара. |
| `followers` | integer \| null | Подписчики. |
| `rank` | integer \| null | Place on the board, from 1; null outside boards. |
| `score` | number \| null | The board's score: TikTok's points, or Xingtu's score from 0 to 1. |
| `category` | string \| null | Категория контента или товара в формулировках платформы. |
| `room_id` | string \| null | The room the streamer is live in now, where the board gives it. |
| `days` | integer \| null | Days the figures cover; null when the board does not say. |
| `sessions` | integer \| null | Трансляций за период. |
| `avg_views` | integer \| null | Среднее число просмотров за трансляцию. |
| `avg_unique_viewers` | integer \| null | Среднее число зрителей за трансляцию. |
| `avg_viewers` | integer \| null | Среднее число одновременных зрителей. |
| `peak_viewers` | integer \| null | Максимум зрителей одновременно. |
| `avg_watch_seconds` | integer \| null | Среднее время просмотра в секундах. |
| `new_followers` | integer \| null | Подписчики, привлечённые в трансляциях за период. |
| `engagement_rate` | Band \| null | Engagement rate as the platform works it out, 0 to 1, as a band. |
| `gmv` | Band \| null | Sales over the period, in yuan, as a band. |
| `avg_gmv` | Band \| null | Average sales a session, in yuan, as a band. |
| `gpm` | Band \| null | Sales per thousand views (GPM), in yuan, as a band. |
| `avg_price` | Band \| null | Average price of the products sold, in yuan, as a band. |
| `products` | integer \| null | Товары, проданные в эфирах за период. |
| `ext` | object | Дополнительные поля конкретной платформы. Возвращаются только при view=full. |

### Band

| Field | Type | Description |
|---|---|---|
| `min` | number \| null | Low end of the band; null when open-ended ("< 400"). |
| `max` | number \| null | High end of the band; null when open-ended ("> 0.95"). |

## Endpoints that return a LiveStreamer

- [Рейтинг LIVE-продаж TikTok](https://okdata.online/apis/tiktok/live/streamers/trending/) (`tiktok.live.streamers.trending`): $0.002 per call · about 99 results per page
- [Рейтинги стримеров Douyin](https://okdata.online/apis/douyin/live/streamers/trending/) (`douyin.live.streamers.trending`): $0.006 per call · about 100 results per page
- [Показатели трансляций стримера Douyin](https://okdata.online/apis/douyin/live/streamers/metrics/) (`douyin.live.streamers.metrics`): $0.04 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: `id`, `url`, `username`, `name`, `followers`, `rank`, `category`, `days`, `sessions`, `avg_views`, `avg_viewers`, `new_followers`, `gmv`, `avg_gmv`, `products`
- standard: `avatar_url`, `score`, `room_id`, `avg_unique_viewers`, `peak_viewers`, `avg_watch_seconds`, `engagement_rate`, `gpm`, `avg_price`
- full: `ext`
