Nexscope

TikTok / Social Commerce

TikTok Product Analytics MCP Tool

Query TikTok e-commerce product leaderboards via Kalodata and query detailed data for specific products. Supports viewing high-ranking/hot-selling products by region, currency, language, and date range, and using productId to retrieve price range, sales, revenue, commission rate, listing/delisting time, and owning shop.

MCP tool name
nexscope_tiktok_product_analytics
Equivalent REST API path
https://api.nexscope.ai/api/skill-api/v1/skills/tiktok-product-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-product-analytics-1",
  "method": "tools/call",
  "params": {
    "name": "nexscope_tiktok_product_analytics",
    "arguments": {
      "dateRange": "last30Day",
      "sortField": {},
      "region": "US",
      "pageNumber": 1,
      "productId": "1732505564636812173",
      "pageSize": 10
    }
  }
}
REST API equivalent
POST https://api.nexscope.ai/api/skill-api/v1/skills/tiktok-product-analytics/run
Canonical detail URL
https://www.nexscope.ai/mcp-map/tiktok-product-analytics

Arguments

NameTypeRequiredMeaning
regionstringoptional
TikTok Shop market region code, e.g., US. If not specified, defaults to the server default (usually US)
Example: US
dateRangestringoptional
Relative date range, e.g., last7Day, last30Day
Example: last30Day
currencystringoptional
Currency code, e.g., USD
Example: {}
languagestringoptional
Return language, e.g., zh-CN, en-US
Example: {}
sortFieldobjectoptional
Sort specification object; omitted to use default ranking
Example: {}
category_idsarrayoptional
Category ID list filter
Example: []
shop_idstringoptional
Shop ID filter
Example: {}
creator_idstringoptional
Creator ID filter
Example: {}
video_idstringoptional
Return products associated with the specified video
Example: {}
livestream_idstringoptional
Return products associated with the specified livestream
Example: {}
revenue_rangestringoptional
Revenue / GMV range filter
Example: {}
is_affiliatestringoptional
Affiliate filter: PUBLIC_PLAN or NON_AFFILIATE
Example: {}
commission_ratenumberoptional
Affiliate commission rate, e.g. 0.15
Example: {}
is_tts_productintegeroptional
Fully managed product filter: 1 or 0
Example: {}
unit_price_rangestringoptional
Product unit-price range filter
Example: {}
pageNumberintegeroptional
Page number, range 1-5
Example: 1
pageSizeintegeroptional
Items per page, range 5-100
Example: 10
productIdstringoptional
TikTok product ID, e.g., 1729508370969629931 (string format, to avoid large integer precision loss), obtainable from the product_id in the product rank response
Example: 1732505564636812173

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
Rank or detail data
Example: []
data.costTokenintegeroptional
Tokens consumed for this call, typically 14000
Example: 1
data.data[].product_idstringoptional
Product ID (string format, to avoid large integer precision loss); used as productId to query details
Example: example-id
data.data[].product_namestringoptional
Product title
Example: null
data.data[].unit_pricenumberoptional
Unit price (currency depends on region, e.g., US means USD)
Example: 1
data.data[].sales_volumnintegeroptional
Sales volume (units). Note: the field name is spelled sales_volumn (as-is, not volume). Use this exact name when extracting with jq/ConvertFrom-Json
Example: 1
data.data[].revenuenumberoptional
Total revenue (GMV), = video_revenue + live_revenue + showcase_revenue
Example: 1
data.data[].video_revenuenumberoptional
Video channel revenue
Example: 1
data.data[].live_revenuenumberoptional
Livestream channel revenue
Example: 1
data.data[].showcase_revenuenumberoptional
Showcase/display channel revenue
Example: 1
data.data[].revenue_growth_ratenumberoptional
Revenue growth rate (percentage, e.g., 27.94 means 27.94%)
Example: 1
data.data[].commission_ratenumberoptional
Commission rate (percentage, e.g., 25.0 means 25%; not basis points)
Example: 1
data.data[].launch_datestringoptional
Launch date (YYYY-MM-DD)
Example: 2026-01-01
data.data[].product_regionstringoptional
Product region/market (e.g., us)
Example: null
data.data[].product_shop_idstringoptional
Belonged shop ID
Example: example-id
data.data[].pri_cate_idstringoptional
Primary category ID
Example: example-id
data.data[].sec_cate_idstringoptional
Secondary category ID
Example: example-id
data.data[].ter_cate_idstringoptional
Tertiary category ID
Example: example-id
data.data[].min_pricenumberoptional
Minimum price (in the requested currency)
Example: 1
data.data[].max_pricenumberoptional
Maximum price (in the requested currency)
Example: 1
data.data[].product_review_countintegeroptional
Product review count
Example: 1
data.data[].delivery_typestringoptional
Delivery method (e.g., local)
Example: null
data.data[].video_numberintegeroptional
Associated video count
Example: 1
data.data[].live_numberintegeroptional
Associated livestream count
Example: 1
data.data[].shopping_mall_revenuenumberoptional
Mall revenue (in the requested currency)
Example: 1
data.data[].creator_numberintegeroptional
Associated creator 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,
  "productId": "1732505564636812173",
  "pageSize": 10
}

Example structuredContent

{
  "data": {
    "data": [
      {
        "product_id": "example-id",
        "unit_price": 1,
        "sales_volumn": 1,
        "revenue": 1,
        "video_revenue": 1,
        "live_revenue": 1,
        "showcase_revenue": 1,
        "revenue_growth_rate": 1,
        "commission_rate": 1,
        "launch_date": "2026-01-01",
        "product_shop_id": "example-id",
        "pri_cate_id": "example-id",
        "sec_cate_id": "example-id",
        "ter_cate_id": "example-id",
        "min_price": 1,
        "max_price": 1,
        "product_review_count": 1,
        "video_number": 1,
        "live_number": 1,
        "shopping_mall_revenue": 1,
        "creator_number": 1
      }
    ],
    "costToken": 1
  },
  "code": 0,
  "msg": null,
  "ts": "0",
  "time": "2026-01-01 00:00:00",
  "cost": "-1",
  "traceId": null
}