Douyin Video Detail

API docs
https://api.sandbase.ai/v1/api/douyin/app-v3/one-video-v3

Get the full data of a single Douyin post by ID (video, photo or article): description, author, hashtags, music, statistics and play URLs.

Price
$0.001USD / call
Method
POST
Response
JSON
Parameters
1 required · 0 optional
100 free calls / dayFirst 100 calls per day free (shared per organization) · Resets at 00:00 UTC. Pay per call after that.

Playground

Input
Video id
OutputExample
Responseoutputs · 11.9 KB · 301 lines
[
  {
    "data": {
      "aweme_detail": {
        "activity_video_type": -1,
        "anchors": null,
        "authentication_token": "MS4wLjAAAAAAj7cn1S1XN6JeBavbHV_f6cyRLfQmNM_xIlsvWfIxdf8D-BoX6Ro1il2FwWnyphz5KrzQQPnEO4BIHpMM-moUOdDLiiRKSl5jsqXFm5xT8V2bwOOAMLy1DPWniGFfgl5I6HnQsYGAmxGFQwX61qyQELCycUuu2bq33BThMDY8yyudJ4efGbOxrZcqQV1_CJo8Pck2KI_jaMWu1X4hYiz-j5eBSm3naTtMPkiV3x-3MAivLPUAlEQK8owdvzJdcW_g",
        "author": {
          "accept_private_policy": false,
          "account_cert_info": "{}",
          "account_region": "",
          "ad_cover_url": null,
          "allow_story_normal_like": false,
          "apple_account": 0,
          "authority_status": 0,
          "avatar_168x168": {
            "height": 720,
            "uri": "168x168/aweme-avatar/tos-cn-i-0813c000-ce_oE8Rfm7FBBMblsuQpnW5rIAmJ0AeQgEfJCA85A",
            "url_list": [
              "https://p3.douyinpic.com/img/aweme-avatar/tos-cn-i-0813c000-ce_oE8Rfm7FBBMblsuQpnW5rIAmJ0AeQgEfJCA85A~c5_168x168.webp?from=327834062",
              "https://p3.douyinpic.com/img/aweme-avatar/tos-cn-i-0813c000-ce_oE8Rfm7FBBMblsuQpnW5rIAmJ0AeQgEfJCA85A~c5_168x168.jpeg?from=327834062"
            ],
            "width": 720
          },
          "avatar_300x300": {
            "height": 720,
            "uri": "300x300/aweme-avatar/tos-cn-i-0813c000-ce_oE8Rfm7FBBMblsuQpnW5rIAmJ0AeQgEfJCA85A",
            "url_list": [
              "https://p3.douyinpic.com/img/aweme-avatar/tos-cn-i-0813c000-ce_oE8Rfm7FBBMblsuQpnW5rIAmJ0AeQgEfJCA85A~c5_300x300.webp?from=327834062",
              "https://p3.douyinpic.com/img/aweme-avatar/tos-cn-i-0813c000-ce_oE8Rfm7FBBMblsuQpnW5rIAmJ0AeQgEfJCA85A~c5_300x300.jpeg?from=327834062"
            ],
            "width": 720
          },
          "avatar_larger": {
            "height": 720,
            "uri": "1080x1080/aweme-avatar/tos-cn-i-0813c000-ce_oE8Rfm7FBBMblsuQpnW5rIAmJ0AeQgEfJCA85A",
            "url_list": [
              "https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-i-0813c000-ce_oE8Rfm7FBBMblsuQpnW5rIAmJ0AeQgEfJCA85A.webp?from=327834062",
              "https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-i-0813c000-ce_oE8Rfm7FBBMblsuQpnW5rIAmJ0AeQgEfJCA85A.jpeg?from=327834062"
            ],
            "width": 720
          },
          "avatar_medium": {
            "height": 720,
            "uri": "720x720/aweme-avatar/tos-cn-i-0813c000-ce_oE8Rfm7FBBMblsuQpnW5rIAmJ0AeQgEfJCA85A",
            "url_list": [
              "https://p3.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-i-0813c000-ce_oE8Rfm7FBBMblsuQpnW5rIAmJ0AeQgEfJCA85A.webp?from=327834062",
              "https://p3.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-i-0813c000-ce_oE8Rfm7FBBMblsuQpnW5rIAmJ0AeQgEfJCA85A.jpeg?from=327834062"
            ],
            "width": 720
          },
          "avatar_thumb": {
            "height": 720,
            "uri": "100x100/aweme-avatar/tos-cn-i-0813c000-ce_oE8Rfm7FBBMblsuQpnW5rIAmJ0AeQgEfJCA85A",
            "url_list": [
              "https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-i-0813c000-ce_oE8Rfm7FBBMblsuQpnW5rIAmJ0AeQgEfJCA85A.webp?from=327834062",
              "https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-i-0813c000-ce_oE8Rfm7FBBMblsuQpnW5rIAmJ0AeQgEfJCA85A.jpeg?from=327834062"
            ],
            "width": 720
          },
          "avatar_uri": "aweme-avatar/tos-cn-i-0813c000-ce_oE8Rfm7FBBMblsuQpnW5rIAmJ0AeQgEfJCA85A",
          "aweme_control": {
            "can_comment": true,
            "can_forward": true,
            "can_share": true,
            "can_show_comment": true
          },
          "aweme_count": 26,
          "aweme_hotsoon_auth": 1,
          "aweme_hotsoon_auth_relation": 1,
          "awemehts_greet_info": "",
          "ban_user_functions": [],
          "bind_phone": "",
          "birthday": "",
          "can_set_geofencing": null,
          "card_entries": null,
          "card_entries_not_display": null,
          "card_sort_priority": null,
          "cf_list": null,
          "cha_list": null,
          "close_friend_type": 0,
          "comment_filter_status": 0,
          "comment_setting": 0,
          "commerce_user_level": 0,
          "constellation": 0,
          "contacts_status": 2,
          "contrail_list": null,
          "cover_url": [
            {
              "height": 720,
              "uri": "c8510002be9a3a61aad2",
              "url_list": [
                "https://p3-sign.douyinpic.com/obj/c8510002be9a3a61aad2?lk3s=138a59ce&x-expires=1788372000&x-signature=nCN9Ew6QRiPlnSGaZDoxX7p441k%3D&from=327834062"
              ],
              "width": 720
            }
          ],
          "create_time": 0,
          "custom_verify": "",
          "cv_level": "",
          "data_label_list": null,
          "display_info": null,
          "…": "138 more fields in the full response"
        },
        "author_mask_tag": 0,
        "author_user_id": 704154224300736,
        "aweme_control": {
          "can_comment": true,
          "can_forward": true,
          "can_share": true,
          "can_show_comment": true
        },
        "aweme_id": "7662510757757603122",
        "aweme_listen_struct": {
          "listen_diversion": {
            "popup_scene": 4,
            "side_desc": "听更多精彩内容",
            "sub_title_type": "relation"
          },
          "trace_info": "{\"copyright_not_speech\":\"false\",\"copyright_reason\":\"has_listen_cp_new\",\"copyright_tag_hit\":\"\",\"copyright_use_aed_default\":\"false\",\"copyright_use_tag_default\":\"false\",\"cp_ab\":\"true\",\"desc\":\"exclude_play_tag_4\",\"duration_over\":\"false\",\"hit_high_risk\":\"false\",\"luna_attr\":{\"suitable\":true},\"media_type\":…"
        },
        "aweme_type": 0,
        "aweme_type_tags": "",
        "bodydance_score": 0,
        "boost_status": 0,
        "can_be_oc_cover": true,
        "can_cache_to_local": true,
        "caption": "#百young非遗计划 #一见爱上传统文化 #抖音精选计划 #悬空寺",
        "caption_template_id": 0,
        "cf_assets_type": 0,
        "cf_recheck_ts": 0,
        "cha_list": [
          {
            "author": {
              "ad_cover_url": null,
              "avatar_168x168": {
                "height": 720,
                "uri": "",
                "url_list": [],
                "width": 720
              },
              "avatar_300x300": {
                "height": 720,
                "uri": "",
                "url_list": [],
                "width": 720
              },
              "avatar_larger": {
                "height": 720,
                "uri": "",
                "url_list": [],
                "width": 720
              },
              "avatar_medium": {
                "height": 720,
                "uri": "",
                "url_list": [],
                "width": 720
              },
              "avatar_thumb": {
                "height": 720,
                "uri": "",
                "url_list": [],
                "width": 720
              },
              "avatar_uri": "",
              "aweme_control": {},
              "ban_user_functions": null,
              "bind_phone": "",
              "birthday": "",
              "can_set_geofencing": null,
              "card_entries": null,
              "card_entries_not_display": null,
              "card_sort_priority": null,
              "cf_list": null,
              "cha_list": null,
              "constellation": 0,
              "contrail_list": null,
              "cover_url": [],
              "create_time": 0,
              "data_label_list": null,
              "display_info": null,
              "endorsement_info_list": null,
              "follow_status": 0,
              "follower_list_secondary_information_struct": null,
              "followers_detail": null,
              "gender": 0,
              "has_email": false,
              "homepage_bottom_toast": null,
              "im_role_ids": null,
              "interest_tags": null,
              "is_block": false,
              "is_phone_binded": false,
              "item_list": null,
              "language": "",
              "link_item_list": null,
              "need_points": null,
              "new_story_cover": null,
              "nickname": "",
              "…": "23 more fields in the full response"
            },
            "banner_list": null,
            "cha_attrs": null,
            "cha_name": "抖音精选计划",
            "cid": "1778252371485708",
            "collect_stat": 0,
            "connect_music": [],
            "desc": "「抖音精选计划」是由抖音发起的长期优质创作倡议,旨在持续发现和鼓励更多受用户喜爱的好作品,并为相关作品提供流量扶持或现金激励。\n不负热爱,创作常新,期待未来有更多好作品被看见,更多创作者在热爱中闪闪发光。",
            "extra_attr": {
              "is_live": false
            },
            "hashtag_profile": "douyin-admin-obj/d9ea9786c8d20aabde483dc188adf27c",
            "is_challenge": 1,
            "is_commerce": false,
            "is_pgcshow": false,
            "schema": "aweme://aweme/challenge/detail?cid=1778252371485708",
            "search_impr": {
              "entity_id": "1778252371485708"
            },
            "share_info": {
              "bool_persist": 0,
              "share_desc": "「抖音精选计划」是由抖音发起的长期优质创作倡议,旨在持续发现和鼓励更多受用户喜爱的好作品,并为相关作品提供流量扶持或现金激励。\n不负热爱,创作常新,期待未来有更多好作品被看见,更多创作者在热爱中闪闪发光。",
              "share_desc_info": "我在抖音参与话题讨论#抖音精选计划 ",
              "share_quote": "",
              "share_signature_desc": "",
              "share_signature_url": "",
              "share_title": "我在抖音参与话题讨论#抖音精选计划 ",
              "share_title_myself": "",
              "share_title_other": "",
              "share_url": "https://www.iesdouyin.com/share/challenge/1778252371485708/?u_code=-1&from_ssr=1",
              "share_weibo_desc": "我在抖音参与话题讨论#抖音精选计划 "
            },
            "show_items": null,
            "sub_type": 0,
            "type": 2,
            "user_count": 0,
            "view_count": 0
          }
        ],
        "challenge_position": null,
        "chapter_list": null,
        "city": "620700",
        "cmt_swt": false,
        "collect_stat": 0,
        "collection_corner_mark": 0,
        "comment_gid": 7662510757757603000,
        "comment_list": null,
        "comment_permission_info": {
          "can_comment": true,
          "comment_permission_status": 0,
          "item_detail_entry": false,
          "press_entry": false,
          "toast_guide": false
        },
        "comment_words_recommend": {},
        "commerce_config_data": null,
        "commerce_info": {
          "ad_type": 0,
          "is_ad": false
        },
        "common_bar_info": "[{\"id\":\"related_search_anchor\",\"view_type\":3,\"business_type\":1,\"schema\":\"\",\"separator_dot\":{\"show\":1},\"main_content\":{\"text\":\"相关搜索\"},\"tail_icon\":{\"url\":\"\",\"show\":1,\"icon_url\":{\"uri\":\"tos-cn-i-3a9ajr9h4x/ic_s_s_arrowright_outlined_12.png\",\"url_list\":[\"https://p3-sign.douyinpic.com/tos-cn-i-3a9ajr9h4x…",
        "component_control": {
          "data_source_url": "/aweme/v1/aweme/detail/"
        },
        "component_info_v2": "{\"desc_lines_limit\":0,\"hide_marquee\":false}",
        "cover_labels": null,
        "create_time": 1784067329,
        "danmaku_control": {
          "activities": [
            {
              "id": 1224,
              "type": 1
            }
          ],
          "danmaku_cnt": 858,
          "enable_danmaku": true,
          "first_danmaku_offset": 239,
          "is_post_denied": false,
          "last_danmaku_offset": 72416,
          "pass_through_params": "{\"first_danmaku_offset\":239,\"has_danmaku\":1}",
          "post_denied_reason": "",
          "post_privilege_level": 0,
          "skip_danmaku": false,
          "smart_mode_decision": 0
        },
        "desc": "悬崖上的寺庙,凭啥千年不倒? #百young非遗计划 #一见爱上传统文化 #抖音精选计划 #悬空寺",
        "desc_language": "zh",
        "…": "153 more fields in the full response"
      },
      "extra": {
        "fatal_item_ids": [],
        "logid": "20260820023424928524DD45651AF2800C",
        "now": 1787164464000
      },
      "log_pb": {
        "impr_id": "20260820023424928524DD45651AF2800C"
      },
      "status_code": 0
    }
  }

Examples

Select an example to load its inputs and result into the playground.

API README

Douyin Video Detail API

This API looks up a single Douyin post by its aweme_id. For a post that can be viewed, it returns the description, author, hashtags, music, statistics and play URLs. For a post that cannot be viewed, it returns a short notice with the reason instead.

Use cases

  • Check whether a Douyin post is still public before you save or analyze it.
  • Find out why a post cannot be viewed by reading the notice and filter reason.
  • Fetch the details of a post whose ID came from a search, hashtag or user video list.
  • Archive the description, author and media URLs of a public post.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/app-v3/one-video-v3" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"aweme_id": "7592116912205630761"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
aweme_idstringYesVideo id

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "extra": {
    "fatal_item_ids": [],
    "logid": "2026110315313840D96157933C965B7D7E",
    "now": 1793691098000
  },
  "filter_detail": {
    "aweme_id": "7592116912205630761",
    "detail_msg": "因作品权限或已被删除,无法观看,去看看其他作品吧",
    "filter_reason": "status_self_see",
    "icon": "https://p3.douyinpic.com/aweme-server-static-resource/reflow_notice_icon1.png~tp…",
    "notice": "抱歉,作品不见了"
  },
  "log_pb": {
    "impr_id": "2026110315313840D96157933C965B7D7E"
  },
  "status_code": 0
}

Response fields

FieldMeaning
status_codeStatus of the request. 0 appears in this response.
filter_detail.aweme_idID of the post that was looked up. It matches the aweme_id you sent.
filter_detail.filter_reasonShort code that says why the post is hidden. This response shows status_self_see.
filter_detail.notice / filter_detail.detail_msgText shown to the viewer when the post cannot be watched. notice is the short title and detail_msg is the longer message. Both are in Chinese.
filter_detail.iconURL of the icon shown with the notice.
extra.fatal_item_idsList of post IDs that failed with a fatal error. It is empty in this response.
extra.logid / log_pb.impr_idRequest identifiers. Keep them if you need to trace a specific call.
extra.nowServer time in the response, as a 13-digit number that looks like Unix milliseconds.

Notes

  • The aweme_id is the numeric ID of the post, for example 7592116912205630761. It appears in Douyin share links of the form /share/video/<aweme_id>/.
  • When a post is hidden, the response has a filter_detail object and no aweme_detail object. Check for filter_detail before you read post fields.
  • To resolve a share link into a post, use Douyin Single Video by Share URL.
  • To get only counts for many posts, use Douyin Video Statistics (Batch).

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Explore more

Related APIs

All APIs
APIPriceResponse
Douyin$0.001 per callJSON
Douyin$0.001 per callJSON
Douyin$0.001 per callJSON
Douyin$0.001 per callJSON
Douyin$0.001 per callJSON
Douyin$0.001 per callJSON

Questions

FAQ

How do I use the Douyin Video Detail API?

Send a POST request to https://api.sandbase.ai/v1/api/douyin/app-v3/one-video-v3 with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

How much does the Douyin Video Detail API cost?

$0.001 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

What parameters does the Douyin Video Detail API accept?

Required: aweme_id (string). The Parameters table and the Playground on this page list every field.

What does the Douyin Video Detail API return?

A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.

Do I need a Douyin developer account or API key?

No. Douyin Video Detail runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Douyin API access separately.