TikTok / Social Commerce
TikTok Video Analytics MCP Tool
Search TikTok e-commerce trending promotional video leaderboards via Kalodata and query detailed data for specific videos. Supports viewing high-ranking/high-view/hot-selling promotional videos by region, currency, language, and date range, and using videoId to retrieve views, likes, comments, shares, revenue, GPM, and advertising metrics.
MCP tool name
nexscope_tiktok_video_analyticsEquivalent REST API path
https://api.nexscope.ai/api/skill-api/v1/skills/tiktok-video-analytics/runJSON-RPC method
tools/callAuthentication
Send the user API key as a bearer token on every MCP JSON-RPC request.
Authorization: Bearer nk-xxxxxxxxxxxxxxxxxIf authentication is missing or invalid, ask the user to open API Access and copy a valid key before calling this tool.
Call this MCP tool
Use tools/call with the MCP tool name below. The arguments object should match the table on this page.
{
"jsonrpc": "2.0",
"id": "tiktok-video-analytics-1",
"method": "tools/call",
"params": {
"name": "nexscope_tiktok_video_analytics",
"arguments": {
"dateRange": "last30Day",
"sortField": {},
"videoId": "6768504823336815877",
"region": "US",
"pageNumber": 1,
"pageSize": 10
}
}
}REST API equivalent
POST https://api.nexscope.ai/api/skill-api/v1/skills/tiktok-video-analytics/runCanonical detail URL
https://www.nexscope.ai/mcp-map/tiktok-video-analyticsArguments
| Name | Type | Required | Meaning |
|---|---|---|---|
region | string | optional | Region/market code, e.g., US Example: US |
dateRange | string | optional | Time range, e.g., last7Day, last30Day Example: last30Day |
pageNumber | integer | optional | Page number, value range 1-5 Example: 1 |
pageSize | integer | optional | Items per page, value range 5-100 Example: 10 |
language | string | optional | Return language, e.g., zh-CN, en-US Example: {} |
currency | string | optional | Currency unit, e.g., USD Example: {} |
sortField | object | optional | Sort criteria; omitted to use default rank order Example: {} |
category_id | string | optional | Category ID filter Example: {} |
shop_id | string | optional | Shop ID filter Example: {} |
creator_id | string | optional | Creator ID filter Example: {} |
product_id | string | optional | Product ID filter Example: {} |
revenue_range | string | optional | GMV range; response field revenue is total GMV Example: {} |
followers_range | string | optional | Creator follower range filter Example: {} |
ads_roas | number | optional | Advertising ROAS filter Example: {} |
videoId | string | optional | TikTok video ID, e.g., 7659161409279806734, obtainable from the video_id in the video rank response Example: 6768504823336815877 |
Response fields
Treat structuredContent as the programmatic API response payload.
| Name | Type | Required | Description |
|---|---|---|---|
data | any | required | Data value used by this API operation. |
code | integer | required | 0 means accepted or successful; nonzero is a platform error. |
msg | string | null | required | Msg value used by this API operation. |
ts | string | required | Epoch milliseconds. |
time | string | required | Server local time: yyyy-MM-dd HH:mm:ss. |
cost | string | required | Elapsed milliseconds, never credits; -1 outside web requests. |
traceId | string | null | required | Trace id value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data | object | required | Data value used by this API operation. |
data.data | array | optional | Rank or detail data Example: [] |
data.costToken | integer | optional | Tokens consumed for this call, typically 14000 Example: 1 |
data.data[].video_id | string | optional | Video ID, string format to avoid large integer precision loss Example: example-id |
data.data[].video_title | string | optional | Video title / caption Example: null |
data.data[].views | integer | optional | View count Example: 1 |
data.data[].digg_count | integer | optional | Like count Example: 1 |
data.data[].comment_count | integer | optional | Comment count Example: 1 |
data.data[].share_count | integer | optional | Share count Example: 1 |
data.data[].revenue | number | optional | Total revenue / GMV, returned in the requested currency Example: 1 |
data.data[].revenue_growth_rate | number | optional | Revenue growth rate (%), can be positive or negative Example: 1 |
data.data[].ad | integer | optional | Whether ad/promotional video flag (1=yes) Example: 1 |
data.data[].ad_view_ratio | number | optional | Ad view share (%) Example: 1 |
data.data[].ad_revenue_ratio | number | optional | Ad revenue share (%) Example: 1 |
data.data[].ads_roas | number | optional | Ad ROAS Example: 1 |
data.data[].belonged_creator_id | string | optional | Belonged creator ID Example: example-id |
data.data[].belonged_creator_handle | string | optional | Belonged creator username Example: null |
data.data[].creator_debut | string | optional | Creator debut date (YYYY-MM-DD) Example: null |
data.data[].video_region | string | optional | Video region, may be empty string Example: null |
data.data[].sales_volumn | integer | optional | Sales volume, field spelled as volumn Example: 1 |
data.data[].video_gpm | number | optional | Video GPM (GMV per thousand views) Example: 1 |
data.data[].ads_views | integer | optional | Ad view count Example: 1 |
data.data[].ad_cpa | number | optional | Ad CPA Example: 1 |
data.data[].ads_period | integer | optional | Ad running period (days) Example: 1 |
data.data[].duration | number | optional | Video duration (seconds) Example: 1 |
data.data[].product_number | integer | optional | Associated product count in the video Example: 1 |
data.type | string | optional | Provider-specific render or payload type. Example: null |
data.title | string | optional | Provider-specific response title. Example: null |
data.sourceType | string | optional | Provider-specific source platform type. Example: null |
data.sourceTool | string | optional | Provider-specific source tool name. Example: null |
data.costTime | integer | optional | Execution time reported by the upstream provider. Example: null |
data.page | integer | optional | Current page returned by the upstream provider. Example: null |
data.pageSize | integer | optional | Page size returned by the upstream provider. Example: null |
data.pageItemCount | integer | optional | Item count on the current page returned by the upstream provider. Example: null |
data.totalPage | integer | optional | Total page count returned by the upstream provider. Example: null |
data.dataSnapshotMonth | string | optional | Data snapshot month returned by the upstream provider. Example: null |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data | null | required | Data value used by this API operation. |
Examples
Example arguments
{
"dateRange": "last30Day",
"sortField": {},
"videoId": "6768504823336815877",
"region": "US",
"pageNumber": 1,
"pageSize": 10
}Example structuredContent
{
"data": {
"data": [
{
"video_id": "example-id",
"views": 1,
"digg_count": 1,
"comment_count": 1,
"share_count": 1,
"revenue": 1,
"revenue_growth_rate": 1,
"ad": 1,
"ad_view_ratio": 1,
"ad_revenue_ratio": 1,
"ads_roas": 1,
"belonged_creator_id": "example-id",
"sales_volumn": 1,
"video_gpm": 1,
"ads_views": 1,
"ad_cpa": 1,
"ads_period": 1,
"duration": 1,
"product_number": 1
}
],
"costToken": 1
},
"code": 0,
"msg": null,
"ts": "0",
"time": "2026-01-01 00:00:00",
"cost": "-1",
"traceId": null
}