# 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 | La pagina dello streamer, se esiste. |
| `username` | string \| null | Handle, se la classifica lo indica. |
| `name` | string \| null | Display name; null where the platform gives none (douyin.live.streamers.metrics). |
| `avatar_url` | string \| null | URL dell'immagine avatar. |
| `followers` | integer \| null | Follower. |
| `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 di contenuto o prodotto, con le parole della piattaforma. |
| `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 | Sessioni live nel periodo. |
| `avg_views` | integer \| null | Visualizzazioni medie per sessione. |
| `avg_unique_viewers` | integer \| null | Spettatori medi per sessione. |
| `avg_viewers` | integer \| null | Spettatori medi in contemporanea. |
| `peak_viewers` | integer \| null | Massimo di spettatori contemporanei. |
| `avg_watch_seconds` | integer \| null | Secondi medi di permanenza dello spettatore. |
| `new_followers` | integer \| null | Follower acquisiti in live nel periodo. |
| `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 | Prodotti venduti in diretta nel periodo. |
| `ext` | object | Dati aggiuntivi specifici della piattaforma. Restituiti solo con 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

- [Classifica shopping di TikTok LIVE](https://okdata.online/apis/tiktok/live/streamers/trending/) (`tiktok.live.streamers.trending`): $0.002 per call · about 99 results per page
- [Classifiche streamer Douyin](https://okdata.online/apis/douyin/live/streamers/trending/) (`douyin.live.streamers.trending`): $0.006 per call · about 100 results per page
- [Dati delle dirette dello streamer 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`
