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.

MCP tool name
nexscope_tiktok_shop_analytics
Equivalent REST API path
https://claw-callback.nexscope.ai/api/skill-api/v1/skills/tiktok-shop-analytics/run
JSON-RPC method
tools/call

Authentication

Send the user API key as a bearer token on every MCP JSON-RPC request.

Authorization: Bearer nk_xxxxxxxxxxxxxxxxx

If 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
    }
  }
}
REST API equivalent
POST /api/skill-api/v1/runhttps://claw-callback.nexscope.ai/api/skill-api/v1/skills/tiktok-shop-analytics/run
Canonical detail URL
https://www.nexscope.ai/mcp-map/tiktok-shop-analytics

Arguments

NameTypeRequiredMeaning
regionstringoptional
Region/market code, e.g., US. Max length 1000
Example: US
dateRangestringoptional
Time range, e.g., last7Day (last 7 days), last30Day (last 30 days). Max length 1000
Example: last30Day
pageNumberintegeroptional
Page number, value range 1-5 (out of range returns errcode 501)
Example: 1
pageSizeintegeroptional
Items per page, value range 5-100
Example: 10
languagestringoptional
Return language, e.g., zh-CN, en-US. Max length 1000
Example: {}
currencystringoptional
Currency unit, e.g., USD. Max length 1000
Example: {}
sortFieldobjectoptional
Sort criteria; pass an empty object {} for default rank order when not sorting
Example: {}
shopIdstringoptional
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.

NameTypeRequiredMeaning
errcodeintegeroptional
Business status code, 200 indicates success
Example: 1
dataarrayoptional
Shop rank list (rank) or 1-element detail array (detail)
Example: []
costTokenintegeroptional
Tokens consumed for this call, fixed at 14000
Example: 1
errmsgstringoptional
Status message, ok on success
Example: {}
data[].rankintegeroptional
Rank position (1 is highest)
Example: 1
data[].shop_namestringoptional
Shop name
Example: {}
data[].shop_idstringoptional
Shop unique ID (string, to avoid large integer precision loss)
Example: example-id
data[].shop_typestringoptional
Shop type (e.g., BRAND)
Example: {}
data[].revenuenumberoptional
Total revenue / GMV (in the requested currency)
Example: 1
data[].sales_volumnintegeroptional
Sales volume (note the field is spelled volumn)
Example: 1
data[].on_sell_product_countintegeroptional
Products currently on sale
Example: 1
data[].unit_pricenumberoptional
Unit price (in the requested currency)
Example: 1
data[].revenue_growth_ratenumberoptional
Revenue growth rate (%, can be positive or negative)
Example: 1
data[].self_promotion_revenuenumberoptional
Self-operated/self-promoted revenue
Example: 1
data[].affiliate_revenuenumberoptional
Affiliate distribution revenue
Example: 1
data[].shopping_mall_revenuenumberoptional
Mall revenue
Example: 1
data[].seller_typestringoptional
Shop/seller type (e.g., BRAND) -- detail uses seller_type, not shop_type
Example: {}
data[].regionstringoptional
Region/market (e.g., US)
Example: US
data[].product_numberintegeroptional
Products currently on sale
Example: 1
data[].self_account_revenuenumberoptional
Self-operated/self-broadcast revenue -- detail uses self_account_revenue, not self_promotion_revenue
Example: 1
data[].shoppingmall_revenuenumberoptional
Mall revenue (note: no underscore between shopping and mall)
Example: 1
data[].creator_numberintegeroptional
Creator collaborations
Example: 1
data[].video_numberintegeroptional
Associated video count
Example: 1
data[].live_numberintegeroptional
Associated livestream count
Example: 1
codestringoptional
Provider-specific status code.
Example: {}
msgstringoptional
Provider-specific status message.
Example: {}
messagestringoptional
Provider-specific message.
Example: {}
typestringoptional
Provider-specific render or payload type.
Example: {}
titlestringoptional
Provider-specific response title.
Example: {}
sourceTypestringoptional
Provider-specific source platform type.
Example: {}
sourceToolstringoptional
Provider-specific source tool name.
Example: {}
costTimeintegeroptional
Execution time reported by the upstream provider.
Example: {}
pageintegeroptional
Current page returned by the upstream provider.
Example: {}
pageSizeintegeroptional
Page size returned by the upstream provider.
Example: {}
pageItemCountintegeroptional
Item count on the current page returned by the upstream provider.
Example: {}
totalPageintegeroptional
Total page count returned by the upstream provider.
Example: {}
dataSnapshotMonthstringoptional
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
}