# TikTok LIVE Ranking API

> Get TikTok LIVE rankings: hourly, weekly, rookie and other leaderboards with rank, score and creator.

Source: https://www.sandbase.ai/apis/tiktok/app-v3/live-daily-rank
API reference: https://www.sandbase.ai/apis/tiktok/app-v3/live-daily-rank/docs

## Facts

- Provider: TikTok
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/tiktok/app-v3/live-daily-rank`
- Price: $0.0015 per call
- Free allowance: 100 calls per organization per UTC day, shared across eligible APIs
- Capabilities: api, tiktok
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/tiktok/app-v3/live-daily-rank` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `anchor_id` | string | no |  |
| `gap_interval` | integer | no |  |
| `rank_type` | integer | no |  |
| `region_type` | integer | no |  |
| `room_id` | string | no |  |

## FAQ

### How do I use the TikTok LIVE Ranking API?

Send a POST request to https://api.sandbase.ai/v1/api/tiktok/app-v3/live-daily-rank with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

### How much does the TikTok LIVE Ranking API cost?

$0.0015 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

### What parameters does the TikTok LIVE Ranking API accept?

No parameters are required. Optional: anchor_id (string), gap_interval (integer), rank_type (integer), region_type (integer) and room_id (string). The Parameters table and the Playground on this page list every field.

### What does the TikTok LIVE Ranking API return?

A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.

### Do I need a TikTok developer account or API key?

No. TikTok LIVE Ranking runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for TikTok API access separately.

## README

### TikTok LIVE Ranking API

Fetch TikTok LIVE leaderboards. Choose the board with `rank_type` (hourly, weekly, rookie star and more).

#### Use cases

- Track top live streamers.
- Find rising live creators for partnerships.
- Monitor live competition in a market.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/app-v3/live-daily-rank" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `room_id` | string | No | Live room id, which can be obtained from the live room information interface, use the default value, this parameter wil… |
| `anchor_id` | string | No | Anchor id, which can be obtained from the live room information interface, use the default value, this parameter will a… |
| `rank_type` | integer | No | Rank type: 0: hourly_rank (Hourly Rank); 1: weekly_rank (Weekly Rank); 5: rookie_star_rank (Rookie Star Rank); 6: sale_… |
| `region_type` | integer | No | Region type, use the default value, the specific meaning is unknown. |
| `gap_interval` | integer | No | Time interval, use the default value to represent the current day, use -1 to represent the ranking record. |

#### Example response

Real response for the request above, trimmed to the main fields. User names and long IDs are masked.

```json
{
  "data": {
    "rank_view": {
      "ranks": [
        {
          "rank": 1,
          "score": 1014521,
          "score_description": "1.0M",
          "rank_user": {
            "id": "<user id>",
            "nickname": "<user>"
          }
        }
      ]
    }
  }
}
```

#### Notes

- `rank_type`: 0 hourly, 1 weekly, 5 rookie star.

#### Related APIs

- [TikTok LIVE Status](/model/tiktok/app-v3/check-live-room-online): Check whether a TikTok LIVE room is currently live by room ID.
- [TikTok Creator Search Insights](/model/tiktok/app-v3/creator-search-insights): Get TikTok Creator Search Insights: trending search queries with popularity scores, trend history and video counts, including content-gap topics, by category a…
- [TikTok Creator Search Insights Detail](/model/tiktok/app-v3/creator-search-insights-detail): Get detailed statistics for a TikTok Creator Search Insights query: popularity over time and audience breakdown by age, gender and country.
