https://claw-callback.nexscope.ai/api/skill-api/v1/skills/tiktok-livestream-analytics/runRun this API
Send a JSON request to execute this API and receive the direct response payload.
Endpoint
| Method | POST |
| Path | https://claw-callback.nexscope.ai/api/skill-api/v1/skills/tiktok-livestream-analytics/run |
| Auth | Bearer API key |
| Content-Type | application/json |
Request body
| Name | Type | Required | Description |
|---|---|---|---|
region | string | optional | Region/market code, e.g., US. Max length 1000 Example: US |
dateRange | string | optional | Time range, e.g., last7Day (last 7 days), last30Day (last 30 days). Max length 1000 Example: last30Day |
pageNumber | integer | optional | Page number, value range 1-5 (out of range returns errcode 501) Example: 1 |
pageSize | integer | optional | Items per page, value range 5-100 Example: 10 |
language | string | optional | Return language, e.g., zh-CN, en-US. Max length 1000 |
currency | string | optional | Currency unit, e.g., USD. Max length 1000 |
sortField | object | optional | Sort criteria, structure defined by the gateway; pass an empty object {} for default rank order when not sorting Example: {} |
livestreamId | string | optional | 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.
| Name | Type | Required | Description |
|---|---|---|---|
errcode | integer | optional | Business status code, 200 indicates success Example: 1 |
data | array | optional | Livestream rank list or livestream detail data Example: [] |
costToken | integer | optional | Tokens consumed for this call, fixed at 14000 Example: 1 |
errmsg | string | optional | Status message, ok on success |
data[].livestream_start_time | integer | optional | Livestream start time (epoch milliseconds) Example: 1 |
data[].livestream_end_time | integer | optional | Livestream end time (epoch milliseconds) Example: 1 |
data[].livestream_duration | integer | optional | Livestream duration (seconds) Example: 1 |
data[].livestream_title | string | optional | Livestream title |
data[].livestream_id | string | optional | Livestream unique ID (string, to avoid large integer precision loss); can be used as livestreamId in the detail endpoint Example: example-id |
data[].creator_id | string | optional | Creator unique ID (string, to avoid large integer precision loss) Example: example-id |
data[].creator_handle | string | optional | Creator account handle |
data[].revenue | string | optional | Total revenue / GMV (in the requested currency; returned as string, e.g., "185590.52") |
data[].unit_price | string | optional | Unit price (in the requested currency; returned as string, e.g., "265.89") |
data[].views | integer | optional | View count Example: 1 |
data[].record_type | string | optional | Record type (e.g., SHORT) |
data[].viewers | integer | optional | Viewer count (note: DETAIL uses viewers, RANK uses views) Example: 1 |
data[].gpm | number | optional | GMV per mille, number type -- unique to DETAIL, not present in the RANK endpoint Example: 1 |
data[].product_number | integer | optional | Product count in the livestream Example: 1 |
code | string | optional | Provider-specific status code. |
msg | string | optional | Provider-specific status message. |
message | string | optional | Provider-specific message. |
type | string | optional | Provider-specific render or payload type. |
title | string | optional | Provider-specific response title. |
sourceType | string | optional | Provider-specific source platform type. |
sourceTool | string | optional | Provider-specific source tool name. |
costTime | integer | optional | Execution time reported by the upstream provider. |
page | integer | optional | Current page returned by the upstream provider. |
pageSize | integer | optional | Page size returned by the upstream provider. |
pageItemCount | integer | optional | Item count on the current page returned by the upstream provider. |
totalPage | integer | optional | Total page count returned by the upstream provider. |
dataSnapshotMonth | string | optional | 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
| Code | Description |
|---|---|
| 200 | API executed successfully. Body is the direct response payload. |
| 400 | Request JSON or required API parameters are invalid. |
| 401 | API key is missing, invalid, or cannot be matched to a user. |
| 5xx | API 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.