aweme_idstring필수
Video id
https://api.sandbase.ai/v1/api/douyin/web/one-videoReturns detailed metadata for a single Douyin video using its video ID. Supports optional inclusion of anchor details such as location and merchant data.
[
{
"data": {
"aweme_detail": {
"activity_video_type": 0,
"anchors": null,
"authentication_token": "MS4wLjAAAAAA07VAREJmNwfoAGJJDImeDQAGs7IkIqcVRx751DedoLLeWRH-gcVfuU3Sn4KOYnfDTxA_QjW7nvr8_wbNL3jbuJ0oJx9L0sR7_symLDBk5To5WCkJvbCsoO9AX6AX_WO3uxIoNEIp2-5kpHRGtykTa-7O-Kadf_yzr1ile5VWTUaqtWoUii5desTe_ez6Zagvpm8TtewI4G9UgaGmoruxbEjXe_wgJ1YpGj3DKQ20rcAOxp-FMJFE_nCDkgqQgO6f",
"author": {
"avatar_thumb": {
"height": 720,
"uri": "100x100/aweme-avatar/tos-cn-avt-0015_f96ccdf24e53e435a85a1976f2c7fe0b",
"url_list": [
"https://p3-pc.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_f96ccdf24e53e435a85a1976f2c7fe0b.jpeg?from=327834062"
],
"width": 720
},
"awemehts_greet_info": "",
"cf_list": null,
"close_friend_type": 0,
"contacts_status": 2,
"contrail_list": null,
"cover_url": [
{
"height": 720,
"uri": "c8510002be9a3a61aad2",
"url_list": [
"https://p3-pc-sign.douyinpic.com/obj/c8510002be9a3a61aad2?lk3s=138a59ce&x-expires=1788426000&x-signature=HpVZ04fWlIIyWQ796gm1v3%2BBjOc%3D&from=327834062"
],
"width": 720
}
],
"create_time": 0,
"custom_verify": "",
"data_label_list": null,
"endorsement_info_list": null,
"enterprise_verify_reason": "",
"favoriting_count": 37,
"follow_status": 0,
"follower_count": 2679825,
"follower_list_secondary_information_struct": null,
"follower_status": 0,
"following_count": 0,
"hide_others_recommend_interest": 0,
"hide_self_recommend_interest": 0,
"im_role_ids": null,
"is_ad_fake": false,
"is_blocked_v2": false,
"is_blocking_v2": false,
"is_cf": 0,
"live_high_value": 0,
"mate_add_permission": 1,
"max_follower_count": 0,
"nickname": "萧萧不吃辣",
"offline_info_list": null,
"personal_tag_list": null,
"prevent_download": false,
"risk_notice_text": "",
"sec_uid": "MS4wLjABAAAAGhTVHcr1tmaen43gOCk7JxI2ZHioZL3UzgmydgHUFFQ",
"secret": 0,
"share_info": {
"share_desc": "",
"share_desc_info": "",
"share_qrcode_url": {
"height": 720,
"uri": "6f9700050be821261267",
"url_list": [
"https://p3-pc-sign.douyinpic.com/obj/6f9700050be821261267?lk3s=138a59ce&x-expires=1787238000&x-signature=6tuDOTyGjLgjVkhBb2Hoh0M80C0%3D&from=327834062"
],
"width": 720
},
"share_title": "",
"share_title_myself": "",
"share_title_other": "",
"share_url": "",
"share_weibo_desc": ""
},
"short_id": "612808329",
"signature": "唯一小号@萧萧又怎么了",
"signature_extra": null,
"special_follow_status": 0,
"…": "13 more fields in the full response"
},
"author_mask_tag": 0,
"author_user_id": 95823111667,
"aweme_control": {
"can_comment": true,
"can_forward": true,
"can_share": true,
"can_show_comment": true
},
"aweme_id": "7372484719365098803",
"aweme_listen_struct": {
"trace_info": "{\"copyright_not_speech\":\"true\",\"copyright_reason\":\"not_intercept\",\"copyright_tag_hit\":\"0\",\"copyright_use_aed_default\":\"false\",\"copyright_use_tag_default\":\"false\",\"cp_ab\":\"true\",\"desc\":\"\",\"duration_over\":\"false\",\"hit_high_risk\":\"false\",\"media_type\":\"4\",\"reason\":\"hit_ab_0\",\"show\":\"false\"}"
},
"aweme_type": 0,
"aweme_type_tags": "",
"boost_status": 0,
"can_be_oc_cover": true,
"can_cache_to_local": true,
"caption": "你对我的好我一直记得 因为只有你把我当小孩#双子座",
"cf_assets_type": 0,
"cf_recheck_ts": 0,
"challenge_position": null,
"chapter_list": null,
"collect_stat": 0,
"collection_corner_mark": 0,
"comment_gid": 7372484719365098000,
"comment_list": null,
"comment_permission_info": {
"can_comment": true,
"comment_permission_status": 0,
"item_detail_entry": false,
"press_entry": false,
"toast_guide": false
},
"commerce_config_data": null,
"component_control": {
"data_source_url": "/aweme/v1/web/aweme/detail/"
},
"component_info_v2": "{\"desc_lines_limit\":0,\"hide_marquee\":false}",
"cover_labels": null,
"create_time": 1716540374,
"danmaku_control": {
"activities": [
{
"id": 1224,
"type": 1
}
],
"danmaku_cnt": 29,
"enable_danmaku": true,
"first_danmaku_offset": 589,
"is_post_denied": false,
"last_danmaku_offset": 7776,
"pass_through_params": "{\"first_danmaku_offset\":589,\"has_danmaku\":1}",
"post_denied_reason": "",
"post_privilege_level": 0,
"skip_danmaku": false,
"smart_mode_decision": 0
},
"desc": "你对我的好我一直记得 因为只有你把我当小孩#双子座",
"disable_relation_bar": 0,
"dislike_dimension_list": null,
"dislike_dimension_list_v2": null,
"distribute_circle": {
"campus_block_interaction": false,
"distribute_type": 0,
"is_campus": false
},
"diversion_bar_info": [],
"douplus_user_type": 0,
"douyin_pc_video_extra_seo": "",
"duet_aggregate_in_music_tab": false,
"duration": 8010,
"…": "106 more fields in the full response"
},
"log_pb": {
"impr_id": "202608201743431D224D40512241857603"
},
"status_code": 0
}
}
]예시를 선택하면 입력값과 결과가 플레이그라운드에 로드됩니다.
Get one Douyin video by aweme_id: caption, publish time, like, comment, save and share counts, author, music, cover and play URLs, in the format of the Douyin web API.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/web/one-video" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"aweme_id": "7372484719365098803"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
aweme_id | string | Yes | Video id |
need_anchor_info | boolean | No | Whether anchor information is needed, default is False, enabling it will show some anchor information about the video, such as location, merchant information, product showcase, etc., which may increase the interface resp |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"aweme_detail": {
"aweme_id": "7372484719365098803",
"desc": "你对我的好我一直记得 因为只有你把我当小孩#双子座",
"create_time": 1716540374,
"statistics": {
"digg_count": 312975,
"comment_count": 4071,
"collect_count": 19906,
"share_count": 79966
},
"author": {
"nickname": "萧萧不吃辣",
"uid": "95823111667",
"sec_uid": "MS4wLjABAAAAGhTVHcr1tmaen43gOC…",
"unique_id": "L99612"
},
"video": {
"duration": 8010,
"width": 1920,
"height": 1080,
"play_addr": {
"url_list": [
"https://v5-dy-ov-experiment.zjcdn.com/2e74462642e907c5f71c07…"
]
}
}
}
}
| Field | Meaning |
|---|---|
aweme_id | Video ID. |
desc | Caption with hashtags. |
create_time | Publish time, Unix seconds. |
statistics | digg_count (likes), comment_count, collect_count (saves), share_count. |
author | nickname, numeric uid, sec_uid (used by profile APIs) and unique_id (抖音号). |
video.play_addr.url_list | Play URLs; signed and temporary. |
video.duration | Length in milliseconds. |
aweme_id from a link with Douyin Aweme ID, or use Douyin Video by Share URL directly with a link.$0.001 per successful call. Failed calls, including lookups whose target does not exist, are not charged. It is included in the daily free quota of each organization.
빌드를 시작하세요
통합 인증 및 사용량 추적이 있는 플랫폼 API 엔드포인트입니다.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/web/one-video" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"aweme_id": "7372484719365098803",
"need_anchor_info": false
}'서버 환경에 SandBase API 키를 설정하세요. 요청에는 Bearer 인증이 사용됩니다.
export SANDBASE_API_KEY="YOUR_API_KEY"키는 서버에 보관하세요. 브라우저 코드에 노출하지 마세요.
aweme_idstring필수Video id
need_anchor_infobooleanWhether anchor information is needed, default is False, enabling it will show some anchor information about the video, such as location, merchant information, product showcase, etc., which may increase the interface response time.
기본값: false
이 API의 저장된 예시 응답입니다. 확인할 때 라이브 요청은 실행되지 않습니다.
[
{
"data": {
"aweme_detail": {
"activity_video_type": 0,
"anchors": null,
"authentication_token": "MS4wLjAAAAAA07VAREJmNwfoAGJJDImeDQAGs7IkIqcVRx751DedoLLeWRH-gcVfuU3Sn4KOYnfDTxA_QjW7nvr8_wbNL3jbuJ0oJx9L0sR7_symLDBk5To5WCkJvbCsoO9AX6AX_WO3uxIoNEIp2-5kpHRGtykTa-7O-Kadf_yzr1ile5VWTUaqtWoUii5desTe_ez6Zagvpm8TtewI4G9UgaGmoruxbEjXe_wgJ1YpGj3DKQ20rcAOxp-FMJFE_nCDkgqQgO6f",
"author": {
"avatar_thumb": {
"height": 720,
"uri": "100x100/aweme-avatar/tos-cn-avt-0015_f96ccdf24e53e435a85a1976f2c7fe0b",
"url_list": [
"https://p3-pc.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_f96ccdf24e53e435a85a1976f2c7fe0b.jpeg?from=327834062"
],
"width": 720
},
"awemehts_greet_info": "",
"cf_list": null,
"close_friend_type": 0,
"contacts_status": 2,
"contrail_list": null,
"cover_url": [
{
"height": 720,
"uri": "c8510002be9a3a61aad2",
"url_list": [
"https://p3-pc-sign.douyinpic.com/obj/c8510002be9a3a61aad2?lk3s=138a59ce&x-expires=1788426000&x-signature=HpVZ04fWlIIyWQ796gm1v3%2BBjOc%3D&from=327834062"
],
"width": 720
}
],
"create_time": 0,
"custom_verify": "",
"data_label_list": null,
"endorsement_info_list": null,
"enterprise_verify_reason": "",
"favoriting_count": 37,
"follow_status": 0,
"follower_count": 2679825,
"follower_list_secondary_information_struct": null,
"follower_status": 0,
"following_count": 0,
"hide_others_recommend_interest": 0,
"hide_self_recommend_interest": 0,
"im_role_ids": null,
"is_ad_fake": false,
"is_blocked_v2": false,
"is_blocking_v2": false,
"is_cf": 0,
"live_high_value": 0,
"mate_add_permission": 1,
"max_follower_count": 0,
"nickname": "萧萧不吃辣",
"offline_info_list": null,
"personal_tag_list": null,
"prevent_download": false,
"risk_notice_text": "",
"sec_uid": "MS4wLjABAAAAGhTVHcr1tmaen43gOCk7JxI2ZHioZL3UzgmydgHUFFQ",
"secret": 0,
"share_info": {
"share_desc": "",
"share_desc_info": "",
"share_qrcode_url": {
"height": 720,
"uri": "6f9700050be821261267",
"url_list": [
"https://p3-pc-sign.douyinpic.com/obj/6f9700050be821261267?lk3s=138a59ce&x-expires=1787238000&x-signature=6tuDOTyGjLgjVkhBb2Hoh0M80C0%3D&from=327834062"
],
"width": 720
},
"share_title": "",
"share_title_myself": "",
"share_title_other": "",
"share_url": "",
"share_weibo_desc": ""
},
"short_id": "612808329",
"signature": "唯一小号@萧萧又怎么了",
"signature_extra": null,
"special_follow_status": 0,
"…": "13 more fields in the full response"
},
"author_mask_tag": 0,
"author_user_id": 95823111667,
"aweme_control": {
"can_comment": true,
"can_forward": true,
"can_share": true,
"can_show_comment": true
},
"aweme_id": "7372484719365098803",
"aweme_listen_struct": {
"trace_info": "{\"copyright_not_speech\":\"true\",\"copyright_reason\":\"not_intercept\",\"copyright_tag_hit\":\"0\",\"copyright_use_aed_default\":\"false\",\"copyright_use_tag_default\":\"false\",\"cp_ab\":\"true\",\"desc\":\"\",\"duration_over\":\"false\",\"hit_high_risk\":\"false\",\"media_type\":\"4\",\"reason\":\"hit_ab_0\",\"show\":\"false\"}"
},
"aweme_type": 0,
"aweme_type_tags": "",
"boost_status": 0,
"can_be_oc_cover": true,
"can_cache_to_local": true,
"caption": "你对我的好我一直记得 因为只有你把我当小孩#双子座",
"cf_assets_type": 0,
"cf_recheck_ts": 0,
"challenge_position": null,
"chapter_list": null,
"collect_stat": 0,
"collection_corner_mark": 0,
"comment_gid": 7372484719365098000,
"comment_list": null,
"comment_permission_info": {
"can_comment": true,
"comment_permission_status": 0,
"item_detail_entry": false,
"press_entry": false,
"toast_guide": false
},
"commerce_config_data": null,
"component_control": {
"data_source_url": "/aweme/v1/web/aweme/detail/"
},
"component_info_v2": "{\"desc_lines_limit\":0,\"hide_marquee\":false}",
"cover_labels": null,
"create_time": 1716540374,
"danmaku_control": {
"activities": [
{
"id": 1224,
"type": 1
}
],
"danmaku_cnt": 29,
"enable_danmaku": true,
"first_danmaku_offset": 589,
"is_post_denied": false,
"last_danmaku_offset": 7776,
"pass_through_params": "{\"first_danmaku_offset\":589,\"has_danmaku\":1}",
"post_denied_reason": "",
"post_privilege_level": 0,
"skip_danmaku": false,
"smart_mode_decision": 0
},
"desc": "你对我的好我一直记得 因为只有你把我当小孩#双子座",
"disable_relation_bar": 0,
"dislike_dimension_list": null,
"dislike_dimension_list_v2": null,
"distribute_circle": {
"campus_block_interaction": false,
"distribute_type": 0,
"is_campus": false
},
"diversion_bar_info": [],
"douplus_user_type": 0,
"douyin_pc_video_extra_seo": "",
"duet_aggregate_in_music_tab": false,
"duration": 8010,
"…": "106 more fields in the full response"
},
"log_pb": {
"impr_id": "202608201743431D224D40512241857603"
},
"status_code": 0
}
}
]더 살펴보기
| API | 가격 | 응답 |
|---|---|---|
Douyin | $0.001 / 호출 | 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/one-video에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.
호출당 $0.001. 모든 조직은 UTC 기준 하루에 100회의 무료 호출을 받으며, 이 API를 포함한 사용 가능 SandBase API 전반에서 공유됩니다. 이후에는 각 호출이 SandBase 잔액에서 이 요금으로 청구됩니다. 구독은 없습니다.
필수: aweme_id (string). 선택: need_anchor_info (boolean). 이 페이지의 Parameters 표와 Playground에 모든 필드가 나와 있습니다.
같은 HTTP 요청에서 반환되는 JSON 응답입니다(동기식). 이 페이지의 README에 샘플 응답이 포함되어 있습니다.
아니요. Douyin Single Video Details (V1)은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. Douyin API 액세스를 별도로 신청할 필요는 없습니다.