https://api.nexscope.ai/et/batchVideoDetailRun this API
Send a JSON request to execute this API and receive the documented response payload.
Endpoint
| Method | POST |
| Path | https://api.nexscope.ai/et/batchVideoDetail |
| Auth | Bearer API key |
| Content-Type | application/json |
Request parameters
| Name | Type | Required | Description |
|---|---|---|---|
videoIds | string[] | optional | TikTok video ID list, up to 1000. Can be obtained from video list query results |
videoUrls | string[] | optional | List of TikTok video URLs (in the form of `https://www.tiktok.com/@<unique_id>/video/<videoId>` or `https://www.tiktok.com/video/<videoId>`), up to 1,000; the server extracts the last `videoId` from each URL and merges it into `videoIds`, which is not mutually exclusive with `videoIds` |
Code example
{
"videoIds": [
"7030893014180531462",
"6768504823336815877",
"7425631540178160939"
]
}Response example
Platform response envelope. code 0 indicates success or acceptance; data contains the business result.
{
"code": 0,
"cost": "-1",
"data": {},
"msg": null,
"time": "2026-01-01 00:00:00",
"traceId": null,
"ts": "0"
}Response fields
Response field reference (40 fields)
| Name | Type | Required | Description |
|---|---|---|---|
errcode | integer | optional | Business status code, 200 indicates success (see error code below for details) |
errmsg | string | optional | Business status description |
total | integer | optional | Number of videos returned |
columns | array | optional | Render column definition (each item contains `field`/`title`/`cellType`/`filterable`/`sortable`) |
videos | array | optional | Video details list (see video object field below for details) |
costToken | integer | optional | Consume token |
type | string | optional | Rendering style (such as `tableListWorkbenches`) |
videoId | string | optional | Video ID |
videoDesc | string | optional | Video description/copywriting |
officialUrl | string | optional | TikTok official video address |
coverUrl | string | optional | Video cover URL |
duration | integer | optional | Video duration (seconds) |
width | string | optional | Video width (px) |
height | string | optional | Video height (px) |
ratio | string | optional | Video definition (such as 540p/720p) |
dataSize | string | optional | Video file size |
createDate | string | optional | Video release date (yyyy-MM-dd HH:mm:ss) |
userId | string | optional | Expert ID |
uniqueId | string | optional | TikTok account ID (unique_id) |
avatar | string | optional | Master avatar URL |
totalViewsCnt | integer | optional | Total views |
totalViews1dCnt | integer | optional | Play volume increase in the last day |
totalViews7dCnt | integer | optional | Increase in playback volume in the last 7 days |
totalViews30dCnt | integer | optional | Increase in playback volume in the last 30 days |
totalDiggCnt | integer | optional | Total likes |
totalDigg1dCnt | integer | optional | Increase in likes in the last 1 day |
totalDigg7dCnt | integer | optional | Increase in likes in the last 7 days |
totalDigg30dCnt | integer | optional | Increase in likes in the last 30 days |
totalCommentsCnt | integer | optional | Total comments |
totalSharesCnt | integer | optional | Total shares |
totalFavoritesCnt | integer | optional | Total collections |
totalVideoSaleCnt | integer | optional | Video sales (pieces, estimate) |
totalVideoSaleGmvAmt | integer | optional | Video sales GMV (estimated amount) |
salesFlagText | string | optional | Whether to bring goods video (yes/no) |
isAdText | string | optional | Whether to stream video (yes/no) |
createdByAiText | string | optional | Whether AI video (yes/no/unknown) |
productCategoryList | string | optional | Associated product classification (JSON string, empty means `[]`) |
videoProducts | string | optional | Product with video (JSON string, empty means `[]`) |
region | string | optional | The region code where the video is located |
sourceType | string | optional | Data source (such as TikTok) |
Responses
| Code | Description |
|---|---|
| 200 | HTTP request completed. Check JSON code; only 0 indicates business success or acceptance. |
| 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.