API references/Social
Search Douyin videos
douyin.video.searchSearch videos by keyword, 10 per page. Pass the returned pagination field for the next page.
Unit price$0.02 / 1 request
Try in the consoleRequest parameters
| Parameter | Type | Description |
|---|---|---|
keywordRequired | string | Search keyword Minimum length: 1Up to 200 characters |
backtrace | string | Previously returned backtrace Up to 4096 charactersDefault: "" |
offset | integer | Previously returned offset Range 0–100000Default: 0 |
page | integer | Page number Range 1–200Default: 1 |
search_id | string | Previously returned search_id Up to 4096 charactersDefault: "" |
Response data
Business data is in execution.result.data. Executions also include status, final cost and an Anyuse request ID.
| Parameter | Type | Description |
|---|---|---|
config | object | null | Upstream search configuration |
items | array | null | Video search results |
pagination | object | null | Next-page offset, search_id and backtrace |
Keep the original keyword. When pagination.has_more is 1, set page to pagination.next_page and reuse the returned offset, search_id and backtrace. Stop when has_more is 0.
Merge these fields into the original input for the next page, when available
Execution states and recovery{
"page": 2,
"offset": 10,
"search_id": "s",
"backtrace": "b"
}