Nexscope

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://api.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": {
      "dateRange": "last30Day",
      "sortField": {},
      "region": "US",
      "pageNumber": 1,
      "shopId": "7496162162184128712",
      "pageSize": 10
    }
  }
}
REST API equivalent
POST https://api.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: {}
category_idsarrayoptional
Category ID list filter; results use the selected category dimension
Example: []
revenue_rangestringoptional
Revenue / GMV range filter
Example: {}
shop_typestringoptional
Shop type filter: BRAND or RETAILER
Example: {}
category_idstringoptional
Optional category ID dimension
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.

NameTypeRequiredDescription
dataanyrequired
Data value used by this API operation.
codeintegerrequired
0 means accepted or successful; nonzero is a platform error.
msgstring | nullrequired
Msg value used by this API operation.
tsstringrequired
Epoch milliseconds.
timestringrequired
Server local time: yyyy-MM-dd HH:mm:ss.
coststringrequired
Elapsed milliseconds, never credits; -1 outside web requests.
traceIdstring | nullrequired
Trace id value used by this API operation.

Any of option 1

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

Any of option 2

NameTypeRequiredDescription
datanullrequired
Data value used by this API operation.

Examples

Example arguments

{
  "dateRange": "last30Day",
  "sortField": {},
  "region": "US",
  "pageNumber": 1,
  "shopId": "7496162162184128712",
  "pageSize": 10
}

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
}