Nexscope logo

TikTok Livestream 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

Search TikTok e-commerce livestream leaderboards via Kalodata and query detailed data for specific livestreams. Supports viewing high-ranking, high-sales TikTok shopping livestreams by region, currency, language, and date range, and using livestreamId to retrieve revenue, viewers, duration, GPM, and number of products sold.

Try this API
Endpoint
https://claw-callback.nexscope.ai/api/skill-api/v1/skills/tiktok-livestream-analytics/run
MCP method
nexscope_tiktok_livestream_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-livestream-analytics/run

Run an API

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

Slugtiktok-livestream-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-livestream-analytics/run \
  -H "Authorization: Bearer nk_xxxxxxxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{   "pageSize": 10,   "dateRange": "last30Day",   "pageNumber": 1,   "sortField": {},   "region": "US" }'
All categories/ TikTok / Social Commerce
POSThttps://claw-callback.nexscope.ai/api/skill-api/v1/skills/tiktok-livestream-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-livestream-analytics/run
AuthBearer API key
Content-Typeapplication/json

Request body

NameTypeRequiredDescription
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
currencystringoptional
Currency unit, e.g., USD. Max length 1000
sortFieldobjectoptional
Sort criteria, structure defined by the gateway; pass an empty object {} for default rank order when not sorting
Example: {}
livestreamIdstringoptional
Target livestream unique ID (camelCase), e.g., 7661409374878878494. Typically obtained from the livestream_id in the livestream rank endpoint. Max length 1000

Request example

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

Response body

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

NameTypeRequiredDescription
errcodeintegeroptional
Business status code, 200 indicates success
Example: 1
dataarrayoptional
Livestream rank list or livestream detail data
Example: []
costTokenintegeroptional
Tokens consumed for this call, fixed at 14000
Example: 1
errmsgstringoptional
Status message, ok on success
data[].livestream_start_timeintegeroptional
Livestream start time (epoch milliseconds)
Example: 1
data[].livestream_end_timeintegeroptional
Livestream end time (epoch milliseconds)
Example: 1
data[].livestream_durationintegeroptional
Livestream duration (seconds)
Example: 1
data[].livestream_titlestringoptional
Livestream title
data[].livestream_idstringoptional
Livestream unique ID (string, to avoid large integer precision loss); can be used as livestreamId in the detail endpoint
Example: example-id
data[].creator_idstringoptional
Creator unique ID (string, to avoid large integer precision loss)
Example: example-id
data[].creator_handlestringoptional
Creator account handle
data[].revenuestringoptional
Total revenue / GMV (in the requested currency; returned as string, e.g., "185590.52")
data[].unit_pricestringoptional
Unit price (in the requested currency; returned as string, e.g., "265.89")
data[].viewsintegeroptional
View count
Example: 1
data[].record_typestringoptional
Record type (e.g., SHORT)
data[].viewersintegeroptional
Viewer count (note: DETAIL uses viewers, RANK uses views)
Example: 1
data[].gpmnumberoptional
GMV per mille, number type -- unique to DETAIL, not present in the RANK endpoint
Example: 1
data[].product_numberintegeroptional
Product count in the livestream
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": [
    {
      "livestream_start_time": 1,
      "livestream_end_time": 1,
      "livestream_duration": 1,
      "livestream_id": "example-id",
      "creator_id": "example-id",
      "views": 1,
      "viewers": 1,
      "gpm": 1,
      "product_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_livestream_analytics",
    "arguments": {
      "pageSize": 10,
      "dateRange": "last30Day",
      "pageNumber": 1,
      "sortField": {},
      "region": "US"
    }
  }
}

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