keywordstring
Video title or keyword
기본값: "猫咪"
https://api.sandbase.ai/v1/api/douyin/search/video-search-v4Fetch video search V4 on Douyin. Returns the platform data as structured JSON.
출력이 여기에 표시됩니다
입력을 완료한 다음 Run을 클릭하세요.
Returns a page of Douyin video search results for a keyword. Each result includes the video ID, caption, author, engagement counts, cover image and play URLs. The request needs a keyword and an optional cursor.
DiggCount and ShareCount.curl -X POST "https://api.sandbase.ai/v1/api/douyin/search/video-search-v4" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"keyword": "猫咪", "cursor": 0}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
cursor | integer | No | Pagination cursor, 0 for the first request, then the cursor from the last response |
keyword | string | No | Video title or keyword |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"code": 0,
"data": {
"cursor": 12,
"hasMore": true,
"itemList": [
{
"AwemeInfo": {
"Author": {
"AvatarMedium": {
"Uri": "720x720/aweme-avatar/tos-cn-avt-0015_dce2e69766f648747e4a8a37d0384ee6",
"UrlList": [
"https://p26.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-avt-0015_dce2e69766f…"
]
},
"AvatarThumb": {},
"FollowerCount": 19256,
"LabelList": [],
"Nickname": "一碗肉肉",
"SecUid": "MS4wLjABAAAAI02THT4NuvuEm03thf3AiaNbcC5HjVq66fNCQi-IC2Q",
"ShortId": "",
"Signature": ""
},
"AwemeId": "7678569006274124793",
"CreateTime": "1787806164000",
"Desc": "咪就这样萌萌哒看着你 ⠀⢠⠋⠙⠲⠔⠒⠒⠒⠒⠒⠦⠒⠉⢳⠀⠀\n⠀⣸⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⡇⠀\n⢀⠇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢱⠀⁺ ⊹\n ⢸⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀…",
"IsPhoto": false,
"Statistics": {
"AwemeId": "",
"CommentCount": 33,
"DiggCount": 5640,
"ShareCount": 3969
},
"Video": {
"Cover": {
"Uri": "tos-cn-i-0813c000-ce/oc87oFDW9AEJ1IASJPEEKHCAwAnwdeAMjqf37C",
"UrlList": [
"https://p3-sign.douyinpic.com/tos-cn-i-0813c000-ce/oc87oFDW9AEJ1IASJPEEKHCAwAnwd…"
]
},
"CreateTime": "1787806164",
"ImageURL": {},
"IsPhoto": false,
"ItemID": "7678569006274124793",
"ItemOptions": {},
"PlayAddr": {
"Height": 1024,
"Uri": "v1e00fgi0000da7s1dvog65h4b22ova0",
"UrlKey": "",
"UrlList": [
"https://v26-cold.douyinvod.com/9e488854a656f5efd2cc34ae0462de1e/6ae99c38/video/t…"
],
"Width": 576
},
"Statistics": {}
}
},
"HasLocalAnchor": false,
"IsAd": false,
"ItemSource": {
"ItemGeneraion": 0,
"SourceType": 1
},
"PlayletType": 1
}
]
},
"msg": "success"
}
| Field | Meaning |
|---|---|
data.cursor | Pagination value to send as cursor in the next request. |
data.hasMore | true when more results are available for this keyword. |
data.itemList[].AwemeInfo.AwemeId | ID of the video. The same value appears in Video.ItemID. |
data.itemList[].AwemeInfo.Desc | Caption of the video, including its hashtags. |
data.itemList[].AwemeInfo.CreateTime | Creation time of the video as a Unix timestamp in milliseconds, sent as a string. |
data.itemList[].AwemeInfo.Statistics.DiggCount / CommentCount / ShareCount | Counts of likes, comments and shares for the video. |
data.itemList[].AwemeInfo.Author.Nickname / FollowerCount | Display name of the author and the number of followers they have. |
data.itemList[].AwemeInfo.Author.SecUid | Secure user ID of the author. Use it to look up the author in user APIs. |
data.itemList[].AwemeInfo.Video.PlayAddr.UrlList | Candidate URLs for the video file. Width and Height give its pixel size. |
data.itemList[].AwemeInfo.Video.Cover.UrlList | Candidate URLs for the cover image of the video. |
cursor as 0 for the first page. For the next page, send the data.cursor value from the last response, and stop when data.hasMore is false.x-expires parameter and are signed, so save the images soon if you need them.AwemeId with Douyin Single Video Details to get the full details of one video.$0.01 per successful call. Failed calls are not charged.
빌드를 시작하세요
통합 인증 및 사용량 추적이 있는 플랫폼 API 엔드포인트입니다.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/search/video-search-v4" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"cursor": 0,
"keyword": "猫咪"
}'서버 환경에 SandBase API 키를 설정하세요. 요청에는 Bearer 인증이 사용됩니다.
export SANDBASE_API_KEY="YOUR_API_KEY"키는 서버에 보관하세요. 브라우저 코드에 노출하지 마세요.
keywordstringVideo title or keyword
기본값: "猫咪"
cursorintegerPagination cursor, 0 for the first request, then the cursor from the last response
기본값: 0
이 API의 저장된 예시 응답입니다. 확인할 때 라이브 요청은 실행되지 않습니다.
저장된 응답이 게시되지 않았습니다. Playground에서 API를 실행해 응답을 확인하세요.
더 살펴보기
| API | 가격 | 응답 |
|---|---|---|
Douyin | $0.01 / 호출 | JSON |
Douyin | $0.01 / 호출 | JSON |
Douyin | $0.01 / 호출 | JSON |
Douyin | $0.01 / 호출 | JSON |
Douyin | $0.01 / 호출 | JSON |
Douyin | $0.01 / 호출 | JSON |
질문
Authorization 헤더(Bearer)에 SandBase API 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/douyin/search/video-search-v4에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.
호출당 $0.01, SandBase 잔액에서 청구됩니다. 사용한 호출에 대해서만 요금이 부과되며, 구독은 없습니다.
필수 매개변수는 없습니다. 선택: keyword (string) 및 cursor (integer). 이 페이지의 Parameters 표와 Playground에 모든 필드가 나와 있습니다.
같은 HTTP 요청에서 반환되는 JSON 응답입니다(동기식). 이 페이지의 README에 샘플 응답이 포함되어 있습니다.
아니요. Douyin Video search V4은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. Douyin API 액세스를 별도로 신청할 필요는 없습니다.