# 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 | A página do streamer, quando houver. |
| `username` | string \| null | Handle, quando o ranking informa. |
| `name` | string \| null | Display name; null where the platform gives none (douyin.live.streamers.metrics). |
| `avatar_url` | string \| null | URL da imagem do avatar. |
| `followers` | integer \| null | Seguidores. |
| `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 | Categoria de conteúdo ou produto, nos termos da plataforma. |
| `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 | Sessões de live no período. |
| `avg_views` | integer \| null | Média de visualizações por sessão. |
| `avg_unique_viewers` | integer \| null | Média de pessoas que assistiram por sessão. |
| `avg_viewers` | integer \| null | Média de pessoas assistindo ao mesmo tempo. |
| `peak_viewers` | integer \| null | Pico de espectadores simultâneos. |
| `avg_watch_seconds` | integer \| null | Média de segundos que um espectador permaneceu. |
| `new_followers` | integer \| null | Seguidores ganhos em lives no período. |
| `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 | Produtos vendidos ao vivo no período. |
| `ext` | object | Extras específicos da plataforma. Retornados apenas com 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

- [Ranking de compras do TikTok LIVE](https://okdata.online/apis/tiktok/live/streamers/trending/) (`tiktok.live.streamers.trending`): $0.002 per call · about 99 results per page
- [Rankings de streamers de live do Douyin](https://okdata.online/apis/douyin/live/streamers/trending/) (`douyin.live.streamers.trending`): $0.006 per call · about 100 results per page
- [Números de live de streamer do 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`
