# Get TikTok LIVE gift rankings

Returns the gifting ranking for one TikTok LIVE room. Requires the numeric `room_id` and the host's `anchor_id`, both available from the LIVE room info response.

- Platform: TikTok V2
- Request: `GET https://api.toolzerhub.com/v2/tiktok/app/live/ranking`
- Auth: `x-api-key` header
- Cost: 2 credits per successful request. Failed requests are not billed.
- Page: https://docs.toolzerhub.com/reference/tiktok-v2/live/get-tik-tok-live-ranking-list

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `room_id` | query | yes | string | Numeric LIVE room id, from the LIVE room info or LIVE search response. |
| `anchor_id` | query | yes | string | Numeric user id of the LIVE host, from the LIVE room info response. |

## Example request

```bash
curl "https://api.toolzerhub.com/v2/tiktok/app/live/ranking?room_id=<room_id>&anchor_id=<anchor_id>" \
  -H "x-api-key: $TOOLZERHUB_API_KEY"
```

Success responses are wrapped as `{ "data": ... }`. Errors return `{ "error": { "code", "status", "message", "retryable", "details" } }`. See https://docs.toolzerhub.com/docs/responses-and-errors.
