TikTok / Social Commerce
TikTok Shop Analytics MCP Tool
Search TikTok e-commerce store leaderboards via Kalodata and query detailed information for specific stores. Supports viewing high-ranking, high-sales TikTok Shop stores by region, currency, language, and date range, and using shopId to retrieve revenue, sales volume, on-sale product count, self-operated/affiliate/shopping mall channel revenue, and creator collaboration count.
nexscope_tiktok_shop_analytics/api/skill-api/v1/mcptools/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-shop-analytics-1",
"method": "tools/call",
"params": {
"name": "nexscope_tiktok_shop_analytics",
"arguments": {
"region": "US",
"pageNumber": 1,
"shopId": "7496162162184128712",
"pageSize": 10,
"dateRange": "last30Day",
"sortField": {}
}
}
}POST /api/skill-api/v1/mcphttps://www.nexscope.ai/mcp-map/tiktok-shop-analyticsArguments
| Name | Type | Required | Meaning |
|---|---|---|---|
region | string | optional | Region/market code, e.g., US. Max length 1000 Example: US |
dateRange | string | optional | Time range, e.g., last7Day (last 7 days), last30Day (last 30 days). Max length 1000 Example: last30Day |
pageNumber | integer | optional | Page number, value range 1-5 (out of range returns errcode 501) 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. Max length 1000 Example: {} |
currency | string | optional | Currency unit, e.g., USD. Max length 1000 Example: {} |
sortField | object | optional | Sort criteria; pass an empty object {} for default rank order when not sorting Example: {} |
category_ids | array | optional | Category ID list filter; results use the selected category dimension Example: [] |
revenue_range | string | optional | Revenue / GMV range filter Example: {} |
shop_type | string | optional | Shop type filter: BRAND or RETAILER Example: {} |
category_id | string | optional | Optional category ID dimension Example: {} |
shopId | string | optional | TikTok shop unique ID (string, to avoid large integer precision loss), e.g., 7495514739648989419. Obtainable from the shop_id field in the shop rank response Example: 7496162162184128712 |
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 | Shop rank list (rank) or 1-element detail array (detail) Example: [] |
data.costToken | integer | optional | Tokens consumed for this call, fixed at 14000 Example: 1 |
data.data[].rank | integer | optional | Rank position (1 is highest) Example: 1 |
data.data[].shop_name | string | optional | Shop name Example: null |
data.data[].shop_id | string | optional | Shop unique ID (string, to avoid large integer precision loss) Example: example-id |
data.data[].shop_type | string | optional | Shop type (e.g., BRAND) Example: null |
data.data[].revenue | number | optional | Total revenue / GMV (in the requested currency) Example: 1 |
data.data[].sales_volumn | integer | optional | Sales volume (note the field is spelled volumn) Example: 1 |
data.data[].on_sell_product_count | integer | optional | Products currently on sale Example: 1 |
data.data[].unit_price | number | optional | Unit price (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[].self_promotion_revenue | number | optional | Self-operated/self-promoted revenue Example: 1 |
data.data[].affiliate_revenue | number | optional | Affiliate distribution revenue Example: 1 |
data.data[].shopping_mall_revenue | number | optional | Mall revenue Example: 1 |
data.data[].seller_type | string | optional | Shop/seller type (e.g., BRAND) -- detail uses seller_type, not shop_type Example: null |
data.data[].region | string | optional | Region/market (e.g., US) Example: US |
data.data[].product_number | integer | optional | Products currently on sale Example: 1 |
data.data[].self_account_revenue | number | optional | Self-operated/self-broadcast revenue -- detail uses self_account_revenue, not self_promotion_revenue Example: 1 |
data.data[].shoppingmall_revenue | number | optional | Mall revenue (note: no underscore between shopping and mall) Example: 1 |
data.data[].creator_number | integer | optional | Creator collaborations Example: 1 |
data.data[].video_number | integer | optional | Associated video count Example: 1 |
data.data[].live_number | integer | optional | Associated livestream count 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
{
"region": "US",
"pageNumber": 1,
"shopId": "7496162162184128712",
"pageSize": 10,
"dateRange": "last30Day",
"sortField": {}
}Example structuredContent
{
"data": {
"data": [
{
"rank": 1,
"shop_id": "example-id",
"revenue": 1,
"sales_volumn": 1,
"on_sell_product_count": 1,
"unit_price": 1,
"revenue_growth_rate": 1,
"self_promotion_revenue": 1,
"affiliate_revenue": 1,
"shopping_mall_revenue": 1,
"region": "US",
"product_number": 1,
"self_account_revenue": 1,
"shoppingmall_revenue": 1,
"creator_number": 1,
"video_number": 1,
"live_number": 1
}
],
"costToken": 1
},
"code": 0,
"msg": null,
"ts": "0",
"time": "2026-01-01 00:00:00",
"cost": "-1",
"traceId": null
}