TikTok Intelligence KD
TikTok Intelligence KD: shop/rank API
TikTok Intelligence KD: shop/rank API.
MCP tool name
nexscope_data_kd_shop_rankMCP endpoint
https://api.nexscope.ai/mcpJSON-RPC method
tools/callAuthentication
Use OAuth 2.1 Authorization Code with PKCE and the mcp:tools scope. API keys remain supported as a compatibility option.
Authorization: Bearer nk-xxxxxxxxxxxxxxxxxIf authentication fails, ask the user to open API Access and copy a valid key.
Call this MCP tool
Initialize an MCP 2025-11-25 Streamable HTTP session at https://api.nexscope.ai/mcp, then use tools/call.
{
"jsonrpc": "2.0",
"id": "data-kd-shop-rank-1",
"method": "tools/call",
"params": {
"name": "nexscope_data_kd_shop_rank",
"arguments": {
"currency": "USD",
"dateRange": "last7Day",
"pageNumber": 1,
"pageSize": 10,
"region": "US"
}
}
}MCP 2025-11-25 · Streamable HTTPProgress is delivered on the original POST SSE response. GET SSE carries notifications; reconnecting must query existing asynchronous work rather than submit again.
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
region | string | optional | Region/market code, such as `US`; maximum length 1000 Example: {} |
dateRange | string | optional | Time range, such as `last7Day`, `last30Day`; maximum length 1000 Example: {} |
pageNumber | integer | optional | Page number, value 1-5; out of range returns `errcode 501` Example: {} |
pageSize | integer | optional | Quantity per page, value 5-100 Example: {} |
language | string | optional | Return language, such as `zh-CN`, `en-US`; maximum length 1000 Example: {} |
currency | string | optional | Currency unit, such as `USD`; maximum length 1000 Example: {} |
category_ids | string[] | optional | Category ID list filtering; after specifying, return the transaction amount under the corresponding category Example: {} |
revenue_range | string | optional | Transaction amount / GMV range, left closed and right open Example: {} |
shop_type | string | optional | Store type: `BRAND` (brand) or `RETAILER` (retailer) Example: {} |
sortField | object | optional | Sorting conditions; when not sorting, pass an empty object `{}` Example: {} |
shopId | string | required | TikTok store unique ID (string, to avoid loss of large integer precision), such as `7495514739648989419`, which can be obtained from `shop_id` in the list Example: {} |
category_id | string | optional | Category ID, which can further limit the returned category dimensions Example: {} |
Response fields
Treat structuredContent as the programmatic API response payload.
| Name | Type | Required | Description |
|---|---|---|---|
errcode | integer | optional | Business status code, `200` indicates success Example: {} |
data | array | optional | Store list list or 1-element details array Example: {} |
costToken | integer | optional | The deduction token for this call is fixed to `14000` Example: {} |
errmsg | string | optional | Status message, `ok` on success Example: {} |
rank | integer | optional | Ranking position, 1 is the highest Example: {} |
shop_name | string | optional | Store name Example: {} |
shop_id | string | optional | Store unique ID (string, to avoid loss of large integer precision) Example: {} |
shop_type | string | optional | Store type, such as `BRAND` Example: {} |
revenue | number | optional | Total sales/GMV by requested `currency` currency Example: {} |
sales_volumn | integer | optional | Sales volume, field spelled `volumn` Example: {} |
on_sell_product_count | integer | optional | Number of items on sale Example: {} |
unit_price | number | optional | Unit price in requested `currency` currency Example: {} |
revenue_growth_rate | number | optional | Sales growth rate (%), can be positive or negative Example: {} |
self_promotion_revenue | number | optional | Self-operated/self-promoted sales Example: {} |
affiliate_revenue | number | optional | Master Distribution Sales Example: {} |
shopping_mall_revenue | number | optional | Mall sales Example: {} |
shop_id | string | optional | Store unique ID (string, to avoid loss of large integer precision) Example: {} |
shop_name | string | optional | Store name Example: {} |
seller_type | string | optional | Store/seller type, such as `BRAND`; use `seller_type` for details, not `shop_type` Example: {} |
region | string | optional | Region/market such as `US` Example: {} |
revenue | number | optional | Total sales/GMV by requested `currency` currency Example: {} |
sales_volumn | integer | optional | Sales volume, field spelled `volumn` Example: {} |
product_number | integer | optional | Number of items on sale Example: {} |
unit_price | number | optional | Unit price in requested `currency` currency Example: {} |
self_account_revenue | number | optional | Self-operated/self-broadcast self-promoted sales; use `self_account_revenue` for details Example: {} |
affiliate_revenue | number | optional | Master Distribution Sales Example: {} |
shoppingmall_revenue | number | optional | Mall sales; there is no underscore between `shopping` and `mall` in the detail field name Example: {} |
creator_number | integer | optional | Number of collaborations with experts Example: {} |
video_number | integer | optional | Number of associated videos Example: {} |
live_number | integer | optional | Number of associated live broadcasts Example: {} |
Examples
Example arguments
{
"currency": "USD",
"dateRange": "last7Day",
"pageNumber": 1,
"pageSize": 10,
"region": "US"
}Example structuredContent
{
"code": 0,
"cost": "-1",
"data": {},
"msg": null,
"time": "2026-01-01 00:00:00",
"traceId": null,
"ts": "0"
}