Nexscope

TikTok Top Selling Products API

REST API and MCP service documentation generated from server-side API definitions. Responses use the shared code, msg, and data envelope.

API selector
TikTok / Social Commerce

API overview

Query TikTok Shop top-selling product rankings by day, week, month, market, and category. View request parameters, response fields, and MCP usage.

Try this API
Endpoint
https://api.nexscope.ai/api/skill-api/v1/skills/tiktok-top-selling-products/run
MCP method
nexscope_tiktok_top_selling_products

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://api.nexscope.ai/api/skill-api/v1/skills/tiktok-top-selling-products/run

Run an API

Request parameters documented by ecommerce.tiktok-top-selling-products.

Slugtiktok-top-selling-products
HeadersAuthorization: Bearer nk-...
Content-Type: application/json
Request bodyAPI-specific JSON object.
Response bodyPlatform envelope: code, msg, data, ts, time, cost, traceId. Inspect data.status for asynchronous completion.

Status codes

CodeDescription
200HTTP request completed. Check JSON code; only 0 indicates business success or acceptance.
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-top-selling-products/run \
  -H "Authorization: Bearer nk-xxxxxxxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{   "page": 1,   "dateInfo": {     "value": "2026-08-01",     "type": "day"   },   "orderby": {     "field": "units_sold",     "order": "desc"   },   "pageSize": 10,   "region": "US" }'
All categories/ TikTok / Social Commerce
POSThttps://api.nexscope.ai/api/skill-api/v1/skills/tiktok-top-selling-products/run

Run this API

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

Endpoint

MethodPOST
Pathhttps://api.nexscope.ai/api/skill-api/v1/skills/tiktok-top-selling-products/run
AuthBearer API key
Content-Typeapplication/json

Request body

NameTypeRequiredDescription
regionstringrequired
Market region code. Options: US (United States), GB (United Kingdom), MX (Mexico), ES (Spain), DE (Germany), IT (Italy), FR (France), ID (Indonesia), VN (Vietnam), MY (Malaysia), TH (Thailand), PH (Philippines), BR (Brazil), JP (Japan), SG (Singapore)
Example: US
dateInfoobjectrequired
Date specification object, containing type and value fields
Example: { "value": "2026-08-01", "type": "day" }
dateInfo.typestringrequired
Time granularity: day, week, month
Example: day
dateInfo.valuestringrequired
Date value: day format YYYY-MM-DD, week format YYYY-weekNumber (e.g., 2025-18), month format YYYY-MM
Example: 2026-01-01
categorystringoptional
Product category name (English), matched to TikTok category ID. Non-English input must be translated to English first
orderbyobjectoptional
Sort rule object, containing field and order fields
Example: { "field": "units_sold", "order": "desc" }
orderby.fieldstringoptional
Sort field: units_sold (sales), gmv (GMV), total_units_sold (total sales), total_gmv (total GMV), growth_rate (growth rate)
Example: units_sold
orderby.orderstringoptional
Sort direction: desc (descending), asc (ascending), default desc
Example: desc
pageintegeroptional
Page number, default 1
Example: 1
pageSizeintegeroptional
Items per page, max 10, default 10
Example: 10

Request example

{
  "page": 1,
  "dateInfo": {
    "value": "2026-08-01",
    "type": "day"
  },
  "orderby": {
    "field": "units_sold",
    "order": "desc"
  },
  "pageSize": 10,
  "region": "US"
}

Response body

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.totalintegeroptional
Record count
Example: 1
data.productsarrayoptional
Hot selling product list (see product object below)
Example: []
data.columnsarrayoptional
Rendered columns
Example: []
data.typestringoptional
Render style
Example: null
data.costTokenintegeroptional
Token cost
Example: 1
data.products[].titlestringoptional
Product name
Example: null
data.products[].productIdstringoptional
Product ID
Example: example-id
data.products[].regionstringoptional
Region code
Example: US
data.products[].pricenumberoptional
Product price
Example: 1
data.products[].minPricenumberoptional
Minimum price
Example: 1
data.products[].maxPricenumberoptional
Maximum price
Example: 1
data.products[].currencystringoptional
Currency
Example: null
data.products[].totalSaleCntintegeroptional
Total sales
Example: 1
data.products[].totalSale1dCntintegeroptional
Sales in last 1 day (returned when dateType=day)
Example: 1
data.products[].totalSale7dCntintegeroptional
Sales in last 7 days (returned when dateType=week)
Example: 1
data.products[].totalSale30dCntintegeroptional
Sales in last 30 days (returned when dateType=month)
Example: 1
data.products[].totalSaleGmvAmtnumberoptional
Total GMV
Example: 1
data.products[].totalSaleGmv1dAmtnumberoptional
GMV in last 1 day (returned when dateType=day)
Example: 1
data.products[].totalSaleGmv7dAmtnumberoptional
GMV in last 7 days (returned when dateType=week)
Example: 1
data.products[].totalSaleGmv30dAmtnumberoptional
GMV in last 30 days (returned when dateType=month)
Example: 1
data.products[].growthRatenumberoptional
Growth rate (percentage)
Example: 1
data.products[].shopNamestringoptional
Store name
Example: null
data.products[].shopTotalUnitsSoldintegeroptional
Store total sales
Example: 1
data.products[].shopSellerIdstringoptional
Store seller ID
Example: example-id
data.products[].categoryNamestringoptional
Product category
Example: null
data.products[].productCommissionRatenumberoptional
Product commission rate (basis points, 1000=10%)
Example: 1
data.products[].imageUrlstringoptional
Product image URL
Example: https://example.com/image.jpg
data.products[].offShelvesTextstringoptional
Whether delisted ("Yes"=delisted, "No"=on sale)
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.

Response example

Platform response envelope. code 0 indicates success or acceptance; data contains the business result.

{
  "data": {
    "total": 1,
    "products": [
      {
        "productId": "example-id",
        "region": "US",
        "price": 1,
        "minPrice": 1,
        "maxPrice": 1,
        "totalSaleCnt": 1,
        "totalSale1dCnt": 1,
        "totalSale7dCnt": 1,
        "totalSale30dCnt": 1,
        "totalSaleGmvAmt": 1,
        "totalSaleGmv1dAmt": 1,
        "totalSaleGmv7dAmt": 1,
        "totalSaleGmv30dAmt": 1,
        "growthRate": 1,
        "shopTotalUnitsSold": 1,
        "shopSellerId": "example-id",
        "productCommissionRate": 1,
        "imageUrl": "https://example.com/image.jpg"
      }
    ],
    "columns": [],
    "costToken": 1
  },
  "code": 0,
  "msg": null,
  "ts": "0",
  "time": "2026-01-01 00:00:00",
  "cost": "-1",
  "traceId": null
}

Responses

CodeDescription
200HTTP request completed. Check JSON code; only 0 indicates business success or acceptance.
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_top_selling_products",
    "arguments": {
      "page": 1,
      "dateInfo": {
        "value": "2026-08-01",
        "type": "day"
      },
      "orderby": {
        "field": "units_sold",
        "order": "desc"
      },
      "pageSize": 10,
      "region": "US"
    }
  }
}

Online test

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

15 credits / callAPI usage records

Try it

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

Endpoint
https://api.nexscope.ai/api/skill-api/v1/skills/tiktok-top-selling-products/run
MCP method
nexscope_tiktok_top_selling_products
cURL
curl -X POST \
  https://api.nexscope.ai/api/skill-api/v1/skills/tiktok-top-selling-products/run \
  -H "Authorization: Bearer nk-..." \
  -H "Content-Type: application/json" \
  -d '{ "page": 1, "dateInfo": { "value": "2026-08-01", "type": "day" }, "orderby": { "field": "units_sold", "order": "desc" }, "pageSize": 10, "region": "US" }'
Response
No response yet. Run the request to see the response here.