TikTok Intelligence KD
TikTok Intelligence KD: video/rank API
TikTok Intelligence KD: video/rank API.
MCP tool name
nexscope_data_kd_video_rankMCP endpoint
https://api.nexscope.ai/mcpJSON-RPC method
tools/callAuthentication
Use OAuth 2.1 Authorization Code with PKCE and the mcp:tools scope. API keys remain supported as a compatibility option.
Authorization: Bearer nk-xxxxxxxxxxxxxxxxxIf authentication fails, ask the user to open API Access and copy a valid key.
Call this MCP tool
Initialize an MCP 2025-11-25 Streamable HTTP session at https://api.nexscope.ai/mcp, then use tools/call.
{
"jsonrpc": "2.0",
"id": "data-kd-video-rank-1",
"method": "tools/call",
"params": {
"name": "nexscope_data_kd_video_rank",
"arguments": {
"currency": "USD",
"dateRange": "last7Day",
"pageNumber": 1,
"pageSize": 10,
"region": "US",
"revenue_range": "1-100",
"sortField": {
"field": "revenue",
"type": "DESC"
}
}
}
}MCP 2025-11-25 · Streamable HTTPProgress is delivered on the original POST SSE response. GET SSE carries notifications; reconnecting must query existing asynchronous work rather than submit again.
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
region | string | optional | Region/market code, such as `US` Example: {} |
dateRange | string | optional | Time range, such as `last7Day`, `last30Day` Example: {} |
pageNumber | integer | optional | Page number, value 1-5 Example: {} |
pageSize | integer | optional | Quantity per page, value 5-100 Example: {} |
language | string | optional | Return language, for example `zh-CN`, `en-US` Example: {} |
currency | string | optional | Currency unit, such as `USD` Example: {} |
category_id | string | optional | Category ID filter Example: {} |
shop_id | string | optional | Store ID filter Example: {} |
creator_id | string | optional | Expert ID filtering Example: {} |
product_id | string | optional | Product ID filter Example: {} |
revenue_range | string | optional | GMV ranges such as `1-100`, `>1000`, `<100` Example: {} |
followers_range | string | optional | Filter by number of fans Example: {} |
ads_roas | number | optional | Advertising ROAS filtering Example: {} |
sortField | object | optional | GMV sort criteria, such as `{"field":"revenue","type":"DESC"}` Example: {} |
videoId | string | required | TikTok video ID, such as `7659161409279806734`, can be obtained from `video_id` in the list response Example: {} |
Response fields
Treat structuredContent as the programmatic API response payload.
| Name | Type | Required | Description |
|---|---|---|---|
errcode | integer | optional | Business status code, `200` indicates success Example: {} |
data | array | optional | List or detailed data Example: {} |
costToken | integer | optional | The deduction token for this call is usually `14000` Example: {} |
errmsg | string | optional | Status message, `ok` on success Example: {} |
video_id | string | optional | Video ID, string format to avoid loss of precision for large integers Example: {} |
video_title | string | optional | Video title/copywriting Example: {} |
views | integer | optional | Play volume Example: {} |
digg_count | integer | optional | Number of likes Example: {} |
comment_count | integer | optional | Number of comments Example: {} |
share_count | integer | optional | Number of shares Example: {} |
revenue | number | optional | Total sales/GMV, returned by requested `currency` Example: {} |
revenue_growth_rate | number | optional | Sales growth rate (%), can be positive or negative Example: {} |
ad | integer | optional | Whether to use advertising/product video logo, 1=yes Example: {} |
ad_view_ratio | number | optional | Advertisement playback proportion (%) Example: {} |
ad_revenue_ratio | number | optional | Proportion of sales generated by advertising (%) Example: {} |
ads_roas | number | optional | Advertising ROAS Example: {} |
belonged_creator_id | string | optional | Belonging expert ID Example: {} |
belonged_creator_handle | string | optional | User name of the expert Example: {} |
creator_debut | string | optional | Date of entry of the expert (`YYYY-MM-DD`) Example: {} |
video_id | string | optional | Video ID, string format to avoid loss of precision for large integers Example: {} |
video_title | string | optional | Video title/copywriting Example: {} |
video_region | string | optional | Video region, may be an empty string Example: {} |
belonged_creator_id | string | optional | Attribution expert ID Example: {} |
belonged_creator_handle | string | optional | Attribution expert username Example: {} |
views | integer | optional | Play volume Example: {} |
digg_count | integer | optional | Number of likes Example: {} |
comment_count | integer | optional | Number of comments Example: {} |
share_count | integer | optional | Number of shares Example: {} |
revenue | number | optional | Total Sales/GMV Example: {} |
sales_volumn | integer | optional | Sales volume, field spelled `volumn` Example: {} |
video_gpm | number | optional | Video GPM, or GMV per thousand plays Example: {} |
ad | integer | optional | Whether to run ads, 1=with ads, 0=without ads Example: {} |
ads_views | integer | optional | Number of ad plays Example: {} |
ads_roas | number | optional | Advertising ROAS Example: {} |
ad_cpa | number | optional | Advertising CPA Example: {} |
ad_view_ratio | number | optional | Advertisement playback proportion (%) Example: {} |
ads_period | integer | optional | Advertising period (days) Example: {} |
duration | number | optional | Video duration (seconds) Example: {} |
product_number | integer | optional | Number of video related products Example: {} |
Examples
Example arguments
{
"currency": "USD",
"dateRange": "last7Day",
"pageNumber": 1,
"pageSize": 10,
"region": "US",
"revenue_range": "1-100",
"sortField": {
"field": "revenue",
"type": "DESC"
}
}Example structuredContent
{
"code": 0,
"cost": "-1",
"data": {},
"msg": null,
"time": "2026-01-01 00:00:00",
"traceId": null,
"ts": "0"
}