# Douyin DOU+ Video Ranking API

> Retrieves DOU+ video leaderboard metrics filterable by category, ranking dimension, and time range. Returns video titles, author details, and engagement statistics.

Source: https://www.sandbase.ai/apis/douyin/douplus/video-ranking
API reference: https://www.sandbase.ai/apis/douyin/douplus/video-ranking/docs

## Facts

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

## Call it

`POST https://api.sandbase.ai/v1/api/douyin/douplus/video-ranking` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `adv_id` | any | no |  |
| `dim_type` | any | no |  |
| `tag_id` | any | no |  |
| `time_range` | any | no |  |

## FAQ

### How do I use the Douyin DOU+ Video Ranking API?

Send a POST request to https://api.sandbase.ai/v1/api/douyin/douplus/video-ranking 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 Douyin DOU+ Video 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 Douyin DOU+ Video Ranking API accept?

No parameters are required. Optional: adv_id (any), dim_type (any), tag_id (any) and time_range (any). The Parameters table and the Playground on this page list every field.

### What does the Douyin DOU+ Video 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 Douyin developer account or API key?

No. Douyin DOU+ Video 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 Douyin API access separately.

## README

### Douyin DOU+ Video Ranking API

Queries the DOU+ video leaderboard using optional filters such as `dim_type`, `tag_id`, and `time_range`. It returns video engagement metrics, author follower counts, and post titles.

#### Use cases

- Track top-performing DOU+ promotional videos across specific content categories.
- Compare video completion rates, like ratios, and follower growth across leaderboard metrics.
- Identify trending Douyin short videos ranked by the platform hotness index.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/api/douyin/douplus/video-ranking" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `adv_id` | string | No | Advertiser id, optional |
| `tag_id` | string | No | Category id, default 634 (Entertainment). |
| `dim_type` | string | No | Ranking dimension, default 5. 1=low-fan hits, 2=high completion, 3=high like-rate, 4=high follower-growth, 5=hotness index |
| `time_range` | string | No | Time range, 1 / 2 / 3, default 2 |

#### Example response

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

```json
{
  "data": [
    {
      "createTime": "1790162085",
      "title": "我宣布这是新的上海落地签#无畏契约 #巴黎世家 #上海 #网吧  #万万没想到",
      "author": {
        "followerCount": 3525257,
        "nickname": "<user>"
      },
      "statistics": {
        "FinishPlayRate": 0.19741609101658283,
        "LikeRate": 0.04709622998026867,
        "NewFansRate": 0.0001355522866117548
      }
    }
  ]
}
```

#### Notes

- `dim_type` sets the ranking dimension: 1 for low-fan hits, 2 for high completion, 3 for like rate, 4 for follower growth, and 5 for hotness index.
- `tag_id` filters by category ID, defaulting to 634 (Entertainment) with options such as 601 (Plot), 602 (Star), 606 (Music), and 607 (ACGN).
- `time_range` specifies the period using values 1, 2, or 3, with 2 as the default.

#### Related APIs

- [Douyin DOU+ Promotable Items](/model/douyin/douplus/promotable-item-list): Returns the promotable video item list for a Douyin account on the DOU+ promotion page.
- [Douyin DOU+ User Search](/model/douyin/douplus/search-user): Searches for Douyin users in the DOU+ delivery context using a Douyin ID or nickname.
- [Douyin DOU+ Talent Categories](/model/douyin/douplus/talent-categories): Returns the Douyin DOU+ talent category directory.
