API DocsdouyinContentGet DOU+ video ranking
Get DOU+ video ranking
What this API is for
- Get the DOU+ video ranking board, filterable by time range, category and dimension
POST
/openapi/api/v1/douyin/douplus/fetch_video_rankingPrice:Price unavailable · Actual charges depend on free quota and account discounts
Authentication
All API requests require a Bearer project token in the Authorization header
Authorization header
Authorization: Bearer YOUR_API_TOKENRequest parameters
- time_range: Time range, 1 / 2 / 3, default 2
- tag_id: Category id, default 634 (Entertainment). Full map: 601 Plot, 602 Star, 606 Music, 607 ACGN,
- 608 Game, 609 CurrentAffairs, 612 Dance, 614 Agriculture, 615 Sci-Tech, 616 Finance, 617 ParentChild,
- 619 Life, 621 Health, 623 Emotion, 624 Culture, 625 Office, 626 Education, 627 Photography, 628 Food,
- 629 Travel, 631 Fashion, 633 Sport, 634 Entertainment, 635 Car
- dim_type: Ranking dimension, default 5. 1=low-fan hits, 2=high completion, 3=high like-rate, 4=high follower-growth, 5=hotness index
- adv_id: Advertiser id, optional
| Name | Location / type | Required | Notes | Example |
|---|---|---|---|---|
| time_range | body / integer | null | No |
| 2 |
| tag_id | body / integer | null | No |
| 634 |
| dim_type | body / integer | null | No |
| 5 |
| adv_id | body / string | null | No |
|
Request body example
{
"time_range": 2,
"tag_id": 634,
"dim_type": 5,
"adv_id": ""
}Request examples
curl -X POST "https://api.trmesh.com/openapi/api/v1/douyin/douplus/fetch_video_ranking" \ -H "Authorization: Bearer sdc_your_project_token"
Response fields
- Video ranking data (items, authors, metrics, etc.)
Common response envelope
Common fields for response status, request identifiers and data
| Field | Type | Notes | Example |
|---|---|---|---|
| code | integer |
| |
| request_id | string | null |
| |
| message | string |
| |
| message_zh | string |
| |
| support | string |
| |
| time | string |
| |
| time_stamp | integer |
| |
| time_zone | string |
| |
| docs | string | null |
| |
| cache_message | string | null |
| |
| cache_message_zh | string | null |
| |
| cache_url | string | null |
| |
| router | string |
| |
| params | unknown |
| |
| data | unknown | null |
|
Errors and limits
The docs cover not only success responses, but also auth failures, rate limits, and data-service errors
| Code | Meaning | Notes |
|---|---|---|
| 200 | Success | The request completed and returned the standard response envelope. |
| 401 | Unauthorized | The token is missing, invalid, or no longer active. |
| 429 | Rate limited | The request exceeded token, user, or plan-level throughput limits. |
| 502 | Service unavailable | The gateway could not obtain a healthy result. Retry in a moment. |
Next steps
New to the API? Read the guide or explore examples