https://claw-callback.nexscope.ai/api/skill-api/v1/skills/tiktok-video-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-video-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 Example: US |
dateRange | string | optional | Time range, e.g., last7Day, last30Day Example: last30Day |
pageNumber | integer | optional | Page number, value range 1-5 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 |
currency | string | optional | Currency unit, e.g., USD |
sortField | object | optional | Sort criteria; omitted to use default rank order Example: {} |
videoId | string | optional | TikTok video ID, e.g., 7659161409279806734, obtainable from the video_id in the video rank response Example: 6768504823336815877 |
Request example
{
"pageNumber": 1,
"region": "US",
"videoId": "6768504823336815877",
"sortField": {},
"dateRange": "last30Day",
"pageSize": 10
}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 | Rank or detail data Example: [] |
costToken | integer | optional | Tokens consumed for this call, typically 14000 Example: 1 |
errmsg | string | optional | Status message, ok on success |
data[].video_id | string | optional | Video ID, string format to avoid large integer precision loss Example: example-id |
data[].video_title | string | optional | Video title / caption |
data[].views | integer | optional | View count Example: 1 |
data[].digg_count | integer | optional | Like count Example: 1 |
data[].comment_count | integer | optional | Comment count Example: 1 |
data[].share_count | integer | optional | Share count Example: 1 |
data[].revenue | number | optional | Total revenue / GMV, returned in the requested currency Example: 1 |
data[].revenue_growth_rate | number | optional | Revenue growth rate (%), can be positive or negative Example: 1 |
data[].ad | integer | optional | Whether ad/promotional video flag (1=yes) Example: 1 |
data[].ad_view_ratio | number | optional | Ad view share (%) Example: 1 |
data[].ad_revenue_ratio | number | optional | Ad revenue share (%) Example: 1 |
data[].ads_roas | number | optional | Ad ROAS Example: 1 |
data[].belonged_creator_id | string | optional | Belonged creator ID Example: example-id |
data[].belonged_creator_handle | string | optional | Belonged creator username |
data[].creator_debut | string | optional | Creator debut date (YYYY-MM-DD) |
data[].video_region | string | optional | Video region, may be empty string |
data[].sales_volumn | integer | optional | Sales volume, field spelled as volumn Example: 1 |
data[].video_gpm | number | optional | Video GPM (GMV per thousand views) Example: 1 |
data[].ads_views | integer | optional | Ad view count Example: 1 |
data[].ad_cpa | number | optional | Ad CPA Example: 1 |
data[].ads_period | integer | optional | Ad running period (days) Example: 1 |
data[].duration | number | optional | Video duration (seconds) Example: 1 |
data[].product_number | integer | optional | Associated product count in the video 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": [
{
"video_id": "example-id",
"views": 1,
"digg_count": 1,
"comment_count": 1,
"share_count": 1,
"revenue": 1,
"revenue_growth_rate": 1,
"ad": 1,
"ad_view_ratio": 1,
"ad_revenue_ratio": 1,
"ads_roas": 1,
"belonged_creator_id": "example-id",
"sales_volumn": 1,
"video_gpm": 1,
"ads_views": 1,
"ad_cpa": 1,
"ads_period": 1,
"duration": 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.