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_analyticshttps://claw-callback.nexscope.ai/api/skill-api/v1/skills/tiktok-shop-analytics/runtools/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": {
"shopId": "7496162162184128712",
"pageNumber": 1,
"region": "US",
"sortField": {},
"dateRange": "last30Day",
"pageSize": 10
}
}
}POST /api/skill-api/v1/runhttps://claw-callback.nexscope.ai/api/skill-api/v1/skills/tiktok-shop-analytics/runhttps://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: {} |
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 | Meaning |
|---|---|---|---|
errcode | integer | optional | Business status code, 200 indicates success Example: 1 |
data | array | optional | Shop rank list (rank) or 1-element detail array (detail) Example: [] |
costToken | integer | optional | Tokens consumed for this call, fixed at 14000 Example: 1 |
errmsg | string | optional | Status message, ok on success Example: {} |
data[].rank | integer | optional | Rank position (1 is highest) Example: 1 |
data[].shop_name | string | optional | Shop name Example: {} |
data[].shop_id | string | optional | Shop unique ID (string, to avoid large integer precision loss) Example: example-id |
data[].shop_type | string | optional | Shop type (e.g., BRAND) Example: {} |
data[].revenue | number | optional | Total revenue / GMV (in the requested currency) Example: 1 |
data[].sales_volumn | integer | optional | Sales volume (note the field is spelled volumn) Example: 1 |
data[].on_sell_product_count | integer | optional | Products currently on sale Example: 1 |
data[].unit_price | number | optional | Unit price (in the requested currency) Example: 1 |
data[].revenue_growth_rate | number | optional | Revenue growth rate (%, can be positive or negative) Example: 1 |
data[].self_promotion_revenue | number | optional | Self-operated/self-promoted revenue Example: 1 |
data[].affiliate_revenue | number | optional | Affiliate distribution revenue Example: 1 |
data[].shopping_mall_revenue | number | optional | Mall revenue Example: 1 |
data[].seller_type | string | optional | Shop/seller type (e.g., BRAND) -- detail uses seller_type, not shop_type Example: {} |
data[].region | string | optional | Region/market (e.g., US) Example: US |
data[].product_number | integer | optional | Products currently on sale Example: 1 |
data[].self_account_revenue | number | optional | Self-operated/self-broadcast revenue -- detail uses self_account_revenue, not self_promotion_revenue Example: 1 |
data[].shoppingmall_revenue | number | optional | Mall revenue (note: no underscore between shopping and mall) Example: 1 |
data[].creator_number | integer | optional | Creator collaborations Example: 1 |
data[].video_number | integer | optional | Associated video count Example: 1 |
data[].live_number | integer | optional | Associated livestream count Example: 1 |
code | string | optional | Provider-specific status code. Example: {} |
msg | string | optional | Provider-specific status message. Example: {} |
message | string | optional | Provider-specific message. Example: {} |
type | string | optional | Provider-specific render or payload type. Example: {} |
title | string | optional | Provider-specific response title. Example: {} |
sourceType | string | optional | Provider-specific source platform type. Example: {} |
sourceTool | string | optional | Provider-specific source tool name. Example: {} |
costTime | integer | optional | Execution time reported by the upstream provider. Example: {} |
page | integer | optional | Current page returned by the upstream provider. Example: {} |
pageSize | integer | optional | Page size returned by the upstream provider. Example: {} |
pageItemCount | integer | optional | Item count on the current page returned by the upstream provider. Example: {} |
totalPage | integer | optional | Total page count returned by the upstream provider. Example: {} |
dataSnapshotMonth | string | optional | Data snapshot month returned by the upstream provider. Example: {} |
Examples
Example arguments
{
"shopId": "7496162162184128712",
"pageNumber": 1,
"region": "US",
"sortField": {},
"dateRange": "last30Day",
"pageSize": 10
}Example structuredContent
{
"errcode": 1,
"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
}