aweme_idsstring
Video id list, separated by commas, for example: "123,456,789", up to 50.
https://api.sandbase.ai/v1/api/douyin/web/multi-video-high-quality-play-urlReturns direct high-quality playback URLs for multiple Douyin videos using comma-separated video IDs and an optional region code.
[
{
"data": {
"failed_count": 0,
"success_count": 3,
"total": 3,
"videos": [
{
"content_type": "video/mp4",
"file_size": "82274121",
"file_size_in_mb": 78.46,
"original_video_url": "https://v9-colds.douyinvod.com/6c76da41a85374fe11d5e87c1e553f38/6a86da7f/video/tos/cn/tos-cn-v-0015c800/ooEeAYuCeuIAzDrAghgYXL44gAeRABerCIVbU2/",
"success": true,
"video_id": "7512756548356492544"
},
{
"content_type": "video/mp4",
"file_size": "15718454",
"file_size_in_mb": 14.99,
"original_video_url": "https://v5-hl-zenl-ov.zjcdn.com/0a70d5c1f59bf04443be29f2378b38ab/6a86dca8/video/tos/cn/tos-cn-ve-15/oI0EdeRAyCBGnjydA7e21feSDuCL6FIdAgURdN/?a=1128&ch=0&cr=0&dr=0&cd=0%7C0%7C0%7C0&cv=1&br=217&bt=217&cs=0&ds=3&ft=LoM-81H7sQOCCp5Sup-Q6_Mme-rLWa5eFoLeUCd-Ip-qJ6uwUBMEq&mime_type=video_mp4&qs=0&rc=aWhpOjxmPDtoaWZnN2Y6ZkBpanU0Z3Y5cmVqdzMzNGkzM0AuMmIxMC4yXi4xXzZgYmJfYSNmYi9oMmRzZmJgLS1kLWFzcw%3D%3D&btag=c0010e000b0001&cquery=10sH_100y&dy_q=1787219044&feature_id=aa7df520beeae8e397df15f38df0454c&l=202608201744047CE5177670AFE681F0CA",
"success": true,
"video_id": "7448118827402972455"
},
{
"content_type": "video/mp4",
"file_size": "3337266",
"file_size_in_mb": 3.18,
"original_video_url": "https://v11-colds.douyinvod.com/c4acb0e05a263e7c4e768b83865ca853/6a86da84/video/tos/cn/tos-cn-ve-15c001-alinc2/d49b945369c64852a44f8f3e5bf4b433/?a=1128&ch=0&cr=0&dr=0&cd=0%7C0%7C0%7C0&cv=1&br=1773&bt=1773&cs=0&ds=3&ft=inBG-fZfjCddc~ORcgjWe68JgbGT4~JEsGJ9dug3cgMrWRQ9H6KM&mime_type=video_mp4&qs=0&rc=OGc6OTo6Zzg7NTY6ZzY6NkBpM3RoaDo6ZnBuZTMzNGkzM0AuMTIvYC9gXmAxLzY2YDZgYSNoc2RxcjRnY2dgLS1kLS9zcw%3D%3D&btag=c0010e00090000&cquery=100y_10sH&dy_q=1787219046&l=202608201744065E5FCD45855787EE2A06",
"success": true,
"video_id": "7126745726494821640"
}
]
}
}
]예시를 선택하면 입력값과 결과가 플레이그라운드에 로드됩니다.
Returns direct playback URLs for several Douyin videos in one call. You pass a comma-separated list of video IDs in aweme_ids, and you can add a region code to get regional CDN links.
file_size_in_mb before you start a bulk download.success and failed_count.curl -X POST "https://api.sandbase.ai/v1/api/douyin/web/multi-video-high-quality-play-url" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
aweme_ids | string | No | Video id list, separated by commas, for example: "123,456,789", up to 50. |
region | string | No | Optional ISO country code (for example, CN, US, or HK). Pass CN for users in mainland China to get China-region CDN URLs for faster downloads. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"failed_count": 0,
"success_count": 2,
"total": 3,
"videos": [
{
"content_type": "video/quicktime",
"file_size": "82274121",
"file_size_in_mb": 78.46,
"original_video_url": "https://v26-colds.douyinvod.com/b47516d962cf6197d827b82ce6f0b6da/6ae99c28/video/…",
"success": true,
"video_id": "7512756548356492544"
}
]
}
| Field | Meaning |
|---|---|
videos[].video_id | The Douyin video ID this entry belongs to. |
videos[].original_video_url | Direct URL of the video file. The link contains signed path parts, so use it soon after you receive it. |
videos[].success | Whether the URL lookup worked for this video ID. |
videos[].content_type | MIME type of the video file, for example video/mp4 or video/quicktime. |
videos[].file_size | File size as a string. It matches file_size_in_mb once converted to megabytes. |
videos[].file_size_in_mb | File size in megabytes, rounded to two decimals. |
success_count / failed_count | Number of videos that returned a URL and number that did not. |
total | Total count reported for the request. |
aweme_ids, separated by commas, for example 123,456,789.region to CN to get China-region CDN URLs. Other examples are US and HK.total is 3 while videos holds 2 entries, so compare total with success_count and failed_count when you check results.$0.25 per successful call. Failed calls are not charged.
빌드를 시작하세요
통합 인증 및 사용량 추적이 있는 플랫폼 API 엔드포인트입니다.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/web/multi-video-high-quality-play-url" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'서버 환경에 SandBase API 키를 설정하세요. 요청에는 Bearer 인증이 사용됩니다.
export SANDBASE_API_KEY="YOUR_API_KEY"키는 서버에 보관하세요. 브라우저 코드에 노출하지 마세요.
aweme_idsstringVideo id list, separated by commas, for example: "123,456,789", up to 50.
regionanyOptional ISO country code (for example, CN, US, or HK). Pass CN for users in mainland China to get China-region CDN URLs for faster downloads.
이 API의 저장된 예시 응답입니다. 확인할 때 라이브 요청은 실행되지 않습니다.
[
{
"data": {
"failed_count": 0,
"success_count": 3,
"total": 3,
"videos": [
{
"content_type": "video/mp4",
"file_size": "82274121",
"file_size_in_mb": 78.46,
"original_video_url": "https://v9-colds.douyinvod.com/6c76da41a85374fe11d5e87c1e553f38/6a86da7f/video/tos/cn/tos-cn-v-0015c800/ooEeAYuCeuIAzDrAghgYXL44gAeRABerCIVbU2/",
"success": true,
"video_id": "7512756548356492544"
},
{
"content_type": "video/mp4",
"file_size": "15718454",
"file_size_in_mb": 14.99,
"original_video_url": "https://v5-hl-zenl-ov.zjcdn.com/0a70d5c1f59bf04443be29f2378b38ab/6a86dca8/video/tos/cn/tos-cn-ve-15/oI0EdeRAyCBGnjydA7e21feSDuCL6FIdAgURdN/?a=1128&ch=0&cr=0&dr=0&cd=0%7C0%7C0%7C0&cv=1&br=217&bt=217&cs=0&ds=3&ft=LoM-81H7sQOCCp5Sup-Q6_Mme-rLWa5eFoLeUCd-Ip-qJ6uwUBMEq&mime_type=video_mp4&qs=0&rc=aWhpOjxmPDtoaWZnN2Y6ZkBpanU0Z3Y5cmVqdzMzNGkzM0AuMmIxMC4yXi4xXzZgYmJfYSNmYi9oMmRzZmJgLS1kLWFzcw%3D%3D&btag=c0010e000b0001&cquery=10sH_100y&dy_q=1787219044&feature_id=aa7df520beeae8e397df15f38df0454c&l=202608201744047CE5177670AFE681F0CA",
"success": true,
"video_id": "7448118827402972455"
},
{
"content_type": "video/mp4",
"file_size": "3337266",
"file_size_in_mb": 3.18,
"original_video_url": "https://v11-colds.douyinvod.com/c4acb0e05a263e7c4e768b83865ca853/6a86da84/video/tos/cn/tos-cn-ve-15c001-alinc2/d49b945369c64852a44f8f3e5bf4b433/?a=1128&ch=0&cr=0&dr=0&cd=0%7C0%7C0%7C0&cv=1&br=1773&bt=1773&cs=0&ds=3&ft=inBG-fZfjCddc~ORcgjWe68JgbGT4~JEsGJ9dug3cgMrWRQ9H6KM&mime_type=video_mp4&qs=0&rc=OGc6OTo6Zzg7NTY6ZzY6NkBpM3RoaDo6ZnBuZTMzNGkzM0AuMTIvYC9gXmAxLzY2YDZgYSNoc2RxcjRnY2dgLS1kLS9zcw%3D%3D&btag=c0010e00090000&cquery=100y_10sH&dy_q=1787219046&l=202608201744065E5FCD45855787EE2A06",
"success": true,
"video_id": "7126745726494821640"
}
]
}
}
]더 살펴보기
| API | 가격 | 응답 |
|---|---|---|
Douyin | $0.25 / 호출 | JSON |
Douyin | $0.001 / 호출 | JSON |
Douyin | $0.001 / 호출 | JSON |
Douyin | $0.001 / 호출 | JSON |
Douyin | $0.001 / 호출 | JSON |
Douyin | $0.03 / 호출 | JSON |
질문
Authorization 헤더(Bearer)에 SandBase API 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/douyin/web/multi-video-high-quality-play-url에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.
호출당 $0.25, SandBase 잔액에서 청구됩니다. 사용한 호출에 대해서만 요금이 부과되며, 구독은 없습니다.
필수 매개변수는 없습니다. 선택: aweme_ids (string) 및 region (any). 이 페이지의 Parameters 표와 Playground에 모든 필드가 나와 있습니다.
같은 HTTP 요청에서 반환되는 JSON 응답입니다(동기식). 이 페이지의 README에 샘플 응답이 포함되어 있습니다.
아니요. Douyin High-Quality Video Play URLs은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. Douyin API 액세스를 별도로 신청할 필요는 없습니다.