Nexscope logo

TikTok Product Analytics API

REST API and MCP service documentation generated from server-side API definitions. Responses shown here are the direct payload returned by each API execution.

API selector
TikTok / Social Commerce

API overview

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.

Try this API
Endpoint
https://claw-callback.nexscope.ai/api/skill-api/v1/skills/tiktok-product-analytics/run
MCP method
nexscope_tiktok_product_analytics

Authentication

All run endpoints require a user API key. Send it as a bearer token in the Authorization header.

Authorization: Bearer nk_xxxxxxxxxxxxxxxxx
Missing or invalid API keys return an authentication error. Manage keys from .
POSThttps://claw-callback.nexscope.ai/api/skill-api/v1/skills/tiktok-product-analytics/run

Run an API

Request parameters documented by ecommerce.tiktok-product-analytics.

Slugtiktok-product-analytics
HeadersAuthorization: Bearer nk_...
Content-Type: application/json
Request bodyAPI-specific JSON object.
Response bodyDirect API response payload. No data/result wrapper is added.

Status codes

CodeDescription
200API executed successfully. Body is the direct response payload.
400Request JSON or required API parameters are invalid.
401API key is missing, invalid, or cannot be matched to a user.
5xxAPI execution or upstream service failed.

Example request

curl -X POST https://api.nexscope.ai/api/skill-api/v1/skills/tiktok-product-analytics/run \
  -H "Authorization: Bearer nk_xxxxxxxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{   "productId": "1732505564636812173",   "pageNumber": 1,   "region": "US",   "sortField": {},   "dateRange": "last30Day",   "pageSize": 10 }'
All categories/ TikTok / Social Commerce
POSThttps://claw-callback.nexscope.ai/api/skill-api/v1/skills/tiktok-product-analytics/run

Run this API

Send a JSON request to execute this API and receive the direct response payload.

Open tester

Endpoint

MethodPOST
Pathhttps://claw-callback.nexscope.ai/api/skill-api/v1/skills/tiktok-product-analytics/run
AuthBearer API key
Content-Typeapplication/json

Request body

NameTypeRequiredDescription
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
languagestringoptional
Return language, e.g., zh-CN, en-US
sortFieldobjectoptional
Sort specification object; omitted to use default ranking
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

Request example

{
  "productId": "1732505564636812173",
  "pageNumber": 1,
  "region": "US",
  "sortField": {},
  "dateRange": "last30Day",
  "pageSize": 10
}

Response body

Returns the documented upstream API response directly without an additional wrapper.

NameTypeRequiredDescription
errcodeintegeroptional
Business status code, 200 indicates success
Example: 1
dataarrayoptional
Rank or detail data
Example: []
costTokenintegeroptional
Tokens consumed for this call, typically 14000
Example: 1
errmsgstringoptional
Status message, ok on success
data[].product_idstringoptional
Product ID (string format, to avoid large integer precision loss); used as productId to query details
Example: example-id
data[].product_namestringoptional
Product title
data[].unit_pricenumberoptional
Unit price (currency depends on region, e.g., US means USD)
Example: 1
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[].revenuenumberoptional
Total revenue (GMV), = video_revenue + live_revenue + showcase_revenue
Example: 1
data[].video_revenuenumberoptional
Video channel revenue
Example: 1
data[].live_revenuenumberoptional
Livestream channel revenue
Example: 1
data[].showcase_revenuenumberoptional
Showcase/display channel revenue
Example: 1
data[].revenue_growth_ratenumberoptional
Revenue growth rate (percentage, e.g., 27.94 means 27.94%)
Example: 1
data[].commission_ratenumberoptional
Commission rate (percentage, e.g., 25.0 means 25%; not basis points)
Example: 1
data[].launch_datestringoptional
Launch date (YYYY-MM-DD)
Example: 2026-01-01
data[].product_regionstringoptional
Product region/market (e.g., us)
data[].product_shop_idstringoptional
Belonged shop ID
Example: example-id
data[].pri_cate_idstringoptional
Primary category ID
Example: example-id
data[].sec_cate_idstringoptional
Secondary category ID
Example: example-id
data[].ter_cate_idstringoptional
Tertiary category ID
Example: example-id
data[].min_pricenumberoptional
Minimum price (in the requested currency)
Example: 1
data[].max_pricenumberoptional
Maximum price (in the requested currency)
Example: 1
data[].product_review_countintegeroptional
Product review count
Example: 1
data[].delivery_typestringoptional
Delivery method (e.g., local)
data[].video_numberintegeroptional
Associated video count
Example: 1
data[].live_numberintegeroptional
Associated livestream count
Example: 1
data[].shopping_mall_revenuenumberoptional
Mall revenue (in the requested currency)
Example: 1
data[].creator_numberintegeroptional
Associated creator count
Example: 1
codestringoptional
Provider-specific status code.
msgstringoptional
Provider-specific status message.
messagestringoptional
Provider-specific message.
typestringoptional
Provider-specific render or payload type.
titlestringoptional
Provider-specific response title.
sourceTypestringoptional
Provider-specific source platform type.
sourceToolstringoptional
Provider-specific source tool name.
costTimeintegeroptional
Execution time reported by the upstream provider.
pageintegeroptional
Current page returned by the upstream provider.
pageSizeintegeroptional
Page size returned by the upstream provider.
pageItemCountintegeroptional
Item count on the current page returned by the upstream provider.
totalPageintegeroptional
Total page count returned by the upstream provider.
dataSnapshotMonthstringoptional
Data snapshot month returned by the upstream provider.

Response example

Direct response payload. No extra wrapper is added.

{
  "errcode": 1,
  "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
}

Responses

CodeDescription
200API executed successfully. Body is the direct response payload.
400Request JSON or required API parameters are invalid.
401API key is missing, invalid, or cannot be matched to a user.
5xxAPI execution or upstream service failed.

Data source, freshness, and limitations

Source, freshness, coverage, rate limits, and estimation notes are not specified in this API definition unless they appear in the request or response field documentation above. Do not assume official marketplace data or real-time freshness when it is not explicitly documented.

Related APIs

MCP

Use the MCP endpoint when an agent needs to discover and call API tools with JSON-RPC.

GET /api/skill-api/v1/mcp
POST /api/skill-api/v1/mcp
Authorization: Bearer nk_xxxxxxxxxxxxxxxxx
Content-Type: application/json

Call a tool

{
  "jsonrpc": "2.0",
  "id": "tool-call-1",
  "method": "tools/call",
  "params": {
    "name": "nexscope_tiktok_product_analytics",
    "arguments": {
      "productId": "1732505564636812173",
      "pageNumber": 1,
      "region": "US",
      "sortField": {},
      "dateRange": "last30Day",
      "pageSize": 10
    }
  }
}

Online test

Execute the current API with your API key and JSON payload.

Try it

Send a real request with the same contract shown in the reference.

Endpoint
https://claw-callback.nexscope.ai/api/skill-api/v1/skills/tiktok-product-analytics/run
MCP method
nexscope_tiktok_product_analytics
cURL
curl -X POST \
  https://claw-callback.nexscope.ai/api/skill-api/v1/skills/tiktok-product-analytics/run \
  -H "Authorization: Bearer nk-..." \
  -H "Content-Type: application/json" \
  -d '{ "productId": "1732505564636812173", "pageNumber": 1, "region": "US", "sortField": {}, "dateRange": "last30Day", "pageSize": 10 }'
Response
No response yet. Run the request to see the response here.