---
title: "Douyin (TikTok China) Video Details API (V2)"
description: "Retrieves details for a Douyin (TikTok China) video by video ID. Use it to look up a known video before content review, archiving, or related analysis."
aiUsagePrompt: true
---

# Douyin \(TikTok China\) Video Details API \(V2\)

<ApiTester
  method="GET"
  :path='JSON.parse("\"/api/douyin/get-video-detail/v2\"")'
  :summary='JSON.parse("\"Video Details (V2)\"")'
  openapiDefinitionUrl="https://docs.justoneapi.com/openapi/douyin-tiktok-china/video-details-v2-en.json"
  openapiVersion="3.1.0"
  :parameters='JSON.parse("[{\"name\":\"token\",\"in\":\"query\",\"description\":\"Access token for this API service.\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"videoId\",\"in\":\"query\",\"description\":\"The unique video identifier (aweme_id or model_id).\",\"required\":true,\"schema\":{\"type\":\"string\"}}]")'
  :requestBody='JSON.parse("null")'
  :responses='JSON.parse("{\"200\":{\"description\":\"OK\",\"content\":{\"application/json\":{\"schema\":{\"if\":{\"properties\":{\"code\":{\"const\":0}},\"required\":[\"code\"]},\"then\":{\"properties\":{\"data\":{\"description\":\"Fields returned when the response contains a Douyin post detail object.\",\"properties\":{\"aweme_detail\":{\"type\":\"object\",\"description\":\"The requested Douyin post, including video or image gallery metadata when returned.\",\"properties\":{\"aweme_id\":{\"type\":\"string\",\"description\":\"The unique Douyin post ID encoded as a string.\"},\"group_id\":{\"type\":\"string\",\"description\":\"Group identifier reported for the post.\"},\"author_user_id\":{\"type\":\"integer\",\"description\":\"Numeric ID of the posting account.\"},\"desc\":{\"type\":\"string\",\"description\":\"Post description supplied by Douyin.\"},\"caption\":{\"type\":\"string\",\"description\":\"Post caption supplied by Douyin.\"},\"item_title\":{\"type\":\"string\",\"description\":\"Post title, when supplied.\"},\"preview_title\":{\"type\":\"string\",\"description\":\"Title supplied for the post preview.\"},\"create_time\":{\"type\":\"integer\",\"description\":\"Post publication time as a Unix timestamp in seconds.\"},\"duration\":{\"type\":\"integer\",\"description\":\"The video duration value reported at the post level, in milliseconds.\"},\"aweme_type\":{\"type\":\"integer\",\"description\":\"The Douyin post type code. Observed examples are 0 for a standard video and 68 for an image gallery.\"},\"media_type\":{\"type\":\"integer\",\"description\":\"Media type code reported by Douyin.\"},\"ip_attribution\":{\"type\":\"string\",\"description\":\"IP region label reported by Douyin, when available.\"},\"share_url\":{\"type\":\"string\",\"description\":\"The Douyin share URL for the post.\"},\"share_info\":{\"type\":\"object\",\"description\":\"Metadata supplied for sharing the post.\",\"properties\":{\"share_url\":{\"type\":\"string\",\"description\":\"URL supplied for sharing the video.\"},\"share_title\":{\"type\":\"string\",\"description\":\"Title supplied for sharing the video.\"},\"share_desc\":{\"type\":\"string\",\"description\":\"Description supplied for sharing the video.\"}}},\"text_extra\":{\"type\":\"array\",\"description\":\"Hashtags and user mentions associated with the post text.\",\"items\":{\"type\":\"object\",\"description\":\"One text annotation.\",\"properties\":{\"type\":{\"type\":\"integer\",\"description\":\"Annotation type code reported by Douyin.\"},\"hashtag_id\":{\"type\":\"string\",\"description\":\"ID of the annotated hashtag when the annotation represents a hashtag.\"},\"hashtag_name\":{\"type\":\"string\",\"description\":\"Name of the annotated hashtag.\"},\"is_commerce\":{\"type\":\"boolean\",\"description\":\"Whether Douyin flags the annotated hashtag as commercial.\"}}}},\"cha_list\":{\"type\":\"array\",\"description\":\"Topic or challenge details associated with the post.\",\"items\":{\"type\":\"object\",\"description\":\"One topic or challenge.\",\"properties\":{\"cid\":{\"type\":\"string\",\"description\":\"Douyin topic or challenge ID.\"},\"cha_name\":{\"type\":\"string\",\"description\":\"Topic or challenge name.\"},\"desc\":{\"type\":\"string\",\"description\":\"Description of the topic or challenge.\"},\"is_commerce\":{\"type\":\"boolean\",\"description\":\"Whether Douyin flags the topic or challenge as commercial.\"}}}},\"author\":{\"type\":\"object\",\"description\":\"Author profile information returned with the post.\",\"properties\":{\"uid\":{\"type\":\"string\",\"description\":\"Douyin account ID encoded as a string.\"},\"sec_uid\":{\"type\":\"string\",\"description\":\"Secondary Douyin account identifier used by user profile endpoints.\"},\"nickname\":{\"type\":\"string\",\"description\":\"Author’s display name.\"},\"unique_id\":{\"type\":\"string\",\"description\":\"Public Douyin account handle, when available.\"},\"short_id\":{\"type\":\"string\",\"description\":\"Short account identifier reported by Douyin.\"},\"follower_count\":{\"type\":\"integer\",\"description\":\"Follower count reported for the author.\"},\"is_verified\":{\"type\":\"boolean\",\"description\":\"Whether Douyin reports the author as verified.\"},\"verification_type\":{\"type\":\"integer\",\"description\":\"Verification category code reported for the author.\"},\"avatar_thumb\":{\"type\":\"object\",\"description\":\"Thumbnail avatar for the author.\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"Resource identifier reported by Douyin.\"},\"url_list\":{\"type\":\"array\",\"description\":\"URLs supplied for the resource.\",\"items\":{\"type\":\"string\",\"description\":\"URL supplied for the resource.\"}},\"width\":{\"type\":\"integer\",\"description\":\"Resource width in pixels reported in the metadata.\"},\"height\":{\"type\":\"integer\",\"description\":\"Resource height in pixels reported in the metadata.\"}}},\"avatar_medium\":{\"type\":\"object\",\"description\":\"Medium avatar for the author.\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"Resource identifier reported by Douyin.\"},\"url_list\":{\"type\":\"array\",\"description\":\"URLs supplied for the resource.\",\"items\":{\"type\":\"string\",\"description\":\"URL supplied for the resource.\"}},\"width\":{\"type\":\"integer\",\"description\":\"Resource width in pixels reported in the metadata.\"},\"height\":{\"type\":\"integer\",\"description\":\"Resource height in pixels reported in the metadata.\"}}},\"avatar_larger\":{\"type\":\"object\",\"description\":\"Larger avatar for the author.\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"Resource identifier reported by Douyin.\"},\"url_list\":{\"type\":\"array\",\"description\":\"URLs supplied for the resource.\",\"items\":{\"type\":\"string\",\"description\":\"URL supplied for the resource.\"}},\"width\":{\"type\":\"integer\",\"description\":\"Resource width in pixels reported in the metadata.\"},\"height\":{\"type\":\"integer\",\"description\":\"Resource height in pixels reported in the metadata.\"}}},\"aweme_count\":{\"type\":\"integer\",\"description\":\"The author post count reported by Douyin.\"}}},\"statistics\":{\"type\":\"object\",\"description\":\"Engagement counts reported by Douyin for the post.\",\"properties\":{\"aweme_id\":{\"type\":\"string\",\"description\":\"Douyin video ID associated with these statistics.\"},\"digg_count\":{\"type\":\"integer\",\"description\":\"Number of likes reported for the video.\"},\"comment_count\":{\"type\":\"integer\",\"description\":\"Number of comments reported for the video.\"},\"collect_count\":{\"type\":\"integer\",\"description\":\"Number of saves reported for the video.\"},\"share_count\":{\"type\":\"integer\",\"description\":\"Number of shares reported for the video.\"},\"forward_count\":{\"type\":\"integer\",\"description\":\"Forward count supplied in the response.\"},\"download_count\":{\"type\":\"integer\",\"description\":\"Number of downloads reported for the video.\"},\"play_count\":{\"type\":\"integer\",\"description\":\"The play count reported by Douyin for the post.\"},\"exposure_count\":{\"type\":\"integer\",\"description\":\"The exposure count reported by Douyin for the post.\"}}},\"video\":{\"type\":\"object\",\"description\":\"Video metadata and available playback resources. This object can also be present for an image gallery.\",\"properties\":{\"duration\":{\"type\":\"integer\",\"description\":\"Video duration in milliseconds.\"},\"width\":{\"type\":\"integer\",\"description\":\"Video width reported by Douyin in pixels.\"},\"height\":{\"type\":\"integer\",\"description\":\"Video height reported by Douyin in pixels.\"},\"format\":{\"type\":\"string\",\"description\":\"Video format reported by Douyin.\"},\"ratio\":{\"type\":\"string\",\"description\":\"Resolution label reported by Douyin.\"},\"has_watermark\":{\"type\":\"boolean\",\"description\":\"Watermark flag from the video metadata.\"},\"play_addr\":{\"type\":\"object\",\"description\":\"Primary playback address supplied for the video.\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"Resource identifier reported by Douyin.\"},\"url_list\":{\"type\":\"array\",\"description\":\"URLs supplied for the resource.\",\"items\":{\"type\":\"string\",\"description\":\"URL supplied for the resource.\"}},\"width\":{\"type\":\"integer\",\"description\":\"Resource width in pixels reported in the metadata.\"},\"height\":{\"type\":\"integer\",\"description\":\"Resource height in pixels reported in the metadata.\"},\"data_size\":{\"type\":\"integer\",\"description\":\"Resource file size in bytes reported in the metadata.\"}}},\"play_addr_h264\":{\"type\":\"object\",\"description\":\"Address supplied for the H.264 variant.\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"Resource identifier reported by Douyin.\"},\"url_list\":{\"type\":\"array\",\"description\":\"URLs supplied for the resource.\",\"items\":{\"type\":\"string\",\"description\":\"URL supplied for the resource.\"}},\"width\":{\"type\":\"integer\",\"description\":\"Resource width in pixels reported in the metadata.\"},\"height\":{\"type\":\"integer\",\"description\":\"Resource height in pixels reported in the metadata.\"},\"data_size\":{\"type\":\"integer\",\"description\":\"Resource file size in bytes reported in the metadata.\"}}},\"play_addr_265\":{\"type\":\"object\",\"description\":\"Address supplied in the H.265 playback field.\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"Resource identifier reported by Douyin.\"},\"url_list\":{\"type\":\"array\",\"description\":\"URLs supplied for the resource.\",\"items\":{\"type\":\"string\",\"description\":\"URL supplied for the resource.\"}},\"width\":{\"type\":\"integer\",\"description\":\"Resource width in pixels reported in the metadata.\"},\"height\":{\"type\":\"integer\",\"description\":\"Resource height in pixels reported in the metadata.\"},\"data_size\":{\"type\":\"integer\",\"description\":\"Resource file size in bytes reported in the metadata.\"}}},\"download_addr\":{\"type\":\"object\",\"description\":\"Download address supplied for the video.\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"Resource identifier reported by Douyin.\"},\"url_list\":{\"type\":\"array\",\"description\":\"URLs supplied for the resource.\",\"items\":{\"type\":\"string\",\"description\":\"URL supplied for the resource.\"}},\"width\":{\"type\":\"integer\",\"description\":\"Resource width in pixels reported in the metadata.\"},\"height\":{\"type\":\"integer\",\"description\":\"Resource height in pixels reported in the metadata.\"},\"data_size\":{\"type\":\"integer\",\"description\":\"Resource file size in bytes reported in the metadata.\"}}},\"cover\":{\"type\":\"object\",\"description\":\"Video cover image.\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"Resource identifier reported by Douyin.\"},\"url_list\":{\"type\":\"array\",\"description\":\"URLs supplied for the resource.\",\"items\":{\"type\":\"string\",\"description\":\"URL supplied for the resource.\"}},\"width\":{\"type\":\"integer\",\"description\":\"Resource width in pixels reported in the metadata.\"},\"height\":{\"type\":\"integer\",\"description\":\"Resource height in pixels reported in the metadata.\"}}},\"origin_cover\":{\"type\":\"object\",\"description\":\"Cover image in the original cover field.\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"Resource identifier reported by Douyin.\"},\"url_list\":{\"type\":\"array\",\"description\":\"URLs supplied for the resource.\",\"items\":{\"type\":\"string\",\"description\":\"URL supplied for the resource.\"}},\"width\":{\"type\":\"integer\",\"description\":\"Resource width in pixels reported in the metadata.\"},\"height\":{\"type\":\"integer\",\"description\":\"Resource height in pixels reported in the metadata.\"}}},\"dynamic_cover\":{\"type\":\"object\",\"description\":\"Moving cover resource when available.\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"Resource identifier reported by Douyin.\"},\"url_list\":{\"type\":\"array\",\"description\":\"URLs supplied for the resource.\",\"items\":{\"type\":\"string\",\"description\":\"URL supplied for the resource.\"}},\"width\":{\"type\":\"integer\",\"description\":\"Resource width in pixels reported in the metadata.\"},\"height\":{\"type\":\"integer\",\"description\":\"Resource height in pixels reported in the metadata.\"}}},\"animated_cover\":{\"type\":\"object\",\"description\":\"Animated cover resource when available.\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"Resource identifier reported by Douyin.\"},\"url_list\":{\"type\":\"array\",\"description\":\"URLs supplied for the resource.\",\"items\":{\"type\":\"string\",\"description\":\"URL supplied for the resource.\"}}}},\"bit_rate\":{\"type\":\"array\",\"description\":\"Playback encodings and bitrate metadata supplied for the video.\",\"items\":{\"type\":\"object\",\"description\":\"One playback encoding supplied for the video.\",\"properties\":{\"bit_rate\":{\"type\":\"integer\",\"description\":\"Encoding bitrate in bits per second.\"},\"FPS\":{\"type\":\"integer\",\"description\":\"Frame rate in frames per second.\"},\"format\":{\"type\":\"string\",\"description\":\"Media format reported for this encoding.\"},\"gear_name\":{\"type\":\"string\",\"description\":\"Encoder preset label reported for this variant.\"},\"quality_type\":{\"type\":\"integer\",\"description\":\"Quality category code reported for this encoding.\"},\"is_h265\":{\"type\":\"integer\",\"description\":\"H.265 encoding flag reported for this variant.\"},\"HDR_type\":{\"type\":\"string\",\"description\":\"HDR category label returned for the encoding.\"},\"HDR_bit\":{\"type\":\"string\",\"description\":\"HDR bit-depth label returned for the encoding.\"},\"play_addr\":{\"type\":\"object\",\"description\":\"Playback address for this encoding.\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"Resource identifier reported by Douyin.\"},\"url_list\":{\"type\":\"array\",\"description\":\"URLs supplied for the resource.\",\"items\":{\"type\":\"string\",\"description\":\"URL supplied for the resource.\"}},\"width\":{\"type\":\"integer\",\"description\":\"Resource width in pixels reported in the metadata.\"},\"height\":{\"type\":\"integer\",\"description\":\"Resource height in pixels reported in the metadata.\"},\"data_size\":{\"type\":\"integer\",\"description\":\"Resource file size in bytes reported in the metadata.\"}}}}}},\"cover_original_scale\":{\"type\":\"object\",\"description\":\"The original-scale cover variant, when returned.\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"The platform resource identifier for this cover.\"},\"url_list\":{\"type\":\"array\",\"description\":\"URLs supplied for this cover variant.\",\"items\":{\"type\":\"string\",\"description\":\"A URL for this cover variant.\"}},\"width\":{\"type\":\"integer\",\"description\":\"The width reported for this cover variant.\"},\"height\":{\"type\":\"integer\",\"description\":\"The height reported for this cover variant.\"}}},\"audio\":{\"type\":\"object\",\"description\":\"Audio metadata carried in the video object. It can be empty.\"},\"big_thumbs\":{\"type\":[\"array\",\"null\"],\"description\":\"Preview thumbnail resources, when returned. The list can be empty or null.\",\"items\":{\"type\":\"object\",\"description\":\"A set of preview thumbnails for the video.\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"The platform resource identifier for the preview thumbnail.\"},\"img_url\":{\"type\":\"string\",\"description\":\"The preview thumbnail image URL.\"},\"img_urls\":{\"type\":\"array\",\"description\":\"Additional preview thumbnail URLs, when returned.\"},\"uris\":{\"type\":\"array\",\"description\":\"Additional platform resource identifiers for the preview thumbnails.\"},\"fext\":{\"type\":\"string\",\"description\":\"The file extension supplied for the preview thumbnail image.\"}}}},\"meta\":{\"type\":\"string\",\"description\":\"Video metadata supplied as a serialized string.\"},\"is_h265\":{\"type\":\"integer\",\"description\":\"The H.265 indicator returned by Douyin as a numeric code.\"},\"is_source_HDR\":{\"type\":\"integer\",\"description\":\"The source high dynamic range indicator returned as a numeric code.\"}}},\"music\":{\"type\":\"object\",\"description\":\"Music or sound metadata associated with the post.\",\"properties\":{\"id\":{\"type\":\"integer\",\"description\":\"Numeric music ID. Use a lossless JSON parser to retain the full value in JavaScript.\"},\"id_str\":{\"type\":\"string\",\"description\":\"Music ID encoded as a string.\"},\"mid\":{\"type\":\"string\",\"description\":\"Music ID returned in the mid field.\"},\"title\":{\"type\":\"string\",\"description\":\"Title of the sound or music track.\"},\"author\":{\"type\":\"string\",\"description\":\"Artist or sound creator name returned with the track.\"},\"album\":{\"type\":\"string\",\"description\":\"Album title when supplied.\"},\"is_original_sound\":{\"type\":\"boolean\",\"description\":\"Whether Douyin marks the track as original sound.\"},\"cover_thumb\":{\"type\":\"object\",\"description\":\"Thumbnail cover for the sound or music track.\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"Resource identifier reported by Douyin.\"},\"url_list\":{\"type\":\"array\",\"description\":\"URLs supplied for the resource.\",\"items\":{\"type\":\"string\",\"description\":\"URL supplied for the resource.\"}},\"width\":{\"type\":\"integer\",\"description\":\"Resource width in pixels reported in the metadata.\"},\"height\":{\"type\":\"integer\",\"description\":\"Resource height in pixels reported in the metadata.\"}}},\"play_url\":{\"type\":\"object\",\"description\":\"Playback resource for the sound or music track.\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"Resource identifier reported by Douyin.\"},\"url_list\":{\"type\":\"array\",\"description\":\"URLs supplied for the resource.\",\"items\":{\"type\":\"string\",\"description\":\"URL supplied for the resource.\"}}}},\"cover_medium\":{\"type\":\"object\",\"description\":\"Medium music cover image.\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"The platform resource identifier for the cover.\"},\"url_list\":{\"type\":\"array\",\"description\":\"URLs supplied for the music cover.\",\"items\":{\"type\":\"string\",\"description\":\"A URL for the music cover.\"}},\"width\":{\"type\":\"integer\",\"description\":\"The width reported for the music cover.\"},\"height\":{\"type\":\"integer\",\"description\":\"The height reported for the music cover.\"}}},\"cover_large\":{\"type\":\"object\",\"description\":\"Large music cover image.\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"The platform resource identifier for the cover.\"},\"url_list\":{\"type\":\"array\",\"description\":\"URLs supplied for the music cover.\",\"items\":{\"type\":\"string\",\"description\":\"A URL for the music cover.\"}},\"width\":{\"type\":\"integer\",\"description\":\"The width reported for the music cover.\"},\"height\":{\"type\":\"integer\",\"description\":\"The height reported for the music cover.\"}}},\"cover_hd\":{\"type\":\"object\",\"description\":\"High-definition music cover image.\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"The platform resource identifier for the cover.\"},\"url_list\":{\"type\":\"array\",\"description\":\"URLs supplied for the music cover.\",\"items\":{\"type\":\"string\",\"description\":\"A URL for the music cover.\"}},\"width\":{\"type\":\"integer\",\"description\":\"The width reported for the music cover.\"},\"height\":{\"type\":\"integer\",\"description\":\"The height reported for the music cover.\"}}}}},\"images\":{\"type\":[\"array\",\"null\"],\"description\":\"The ordered images for an image gallery. Samples of standard video posts returned null.\",\"items\":{\"type\":\"object\",\"description\":\"An image in the gallery.\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"The platform resource identifier for the image.\"},\"url_list\":{\"type\":\"array\",\"description\":\"Image URLs supplied for display.\",\"items\":{\"type\":\"string\",\"description\":\"A display URL for the image.\"}},\"download_url_list\":{\"type\":\"array\",\"description\":\"Download URLs returned separately for the image.\",\"items\":{\"type\":\"string\",\"description\":\"A download URL reported for the image.\"}},\"width\":{\"type\":\"integer\",\"description\":\"The width reported for the image.\"},\"height\":{\"type\":\"integer\",\"description\":\"The height reported for the image.\"},\"is_aigc_media\":{\"type\":\"boolean\",\"description\":\"Whether Douyin marks this image as AI-generated content.\"},\"resolution_log_param\":{\"type\":\"object\",\"description\":\"The source and published image dimensions recorded by Douyin.\",\"properties\":{\"image_source_width\":{\"type\":\"integer\",\"description\":\"The width reported for the source image.\"},\"image_source_height\":{\"type\":\"integer\",\"description\":\"The height reported for the source image.\"},\"image_publish_width\":{\"type\":\"integer\",\"description\":\"The width reported for the published image.\"},\"image_publish_height\":{\"type\":\"integer\",\"description\":\"The height reported for the published image.\"}}}}}},\"img_bitrate\":{\"type\":[\"array\",\"null\"],\"description\":\"Image bitrate information, when supplied. A gallery can return an empty list.\"},\"is_aigc_media\":{\"type\":\"boolean\",\"description\":\"Whether Douyin marks the post media as AI-generated content.\"},\"status\":{\"type\":\"object\",\"description\":\"Availability and viewing flags returned for the post.\",\"properties\":{\"is_private\":{\"type\":\"boolean\",\"description\":\"Whether Douyin marks the post as private in the response.\"},\"is_delete\":{\"type\":\"boolean\",\"description\":\"Whether Douyin marks the post as deleted in the response.\"},\"is_prohibited\":{\"type\":\"boolean\",\"description\":\"Whether Douyin marks the post as prohibited in the response.\"},\"allow_comment\":{\"type\":\"boolean\",\"description\":\"Whether the platform status indicates that comments are allowed.\"},\"allow_share\":{\"type\":\"boolean\",\"description\":\"Whether the platform status indicates that sharing is allowed.\"}}},\"video_control\":{\"type\":\"object\",\"description\":\"Media interaction controls returned by Douyin.\",\"properties\":{\"allow_download\":{\"type\":\"boolean\",\"description\":\"Whether the platform response indicates that downloading is allowed.\"},\"allow_duet\":{\"type\":\"boolean\",\"description\":\"Whether the platform response indicates that duets are allowed.\"},\"allow_stitch\":{\"type\":\"boolean\",\"description\":\"Whether the platform response indicates that stitching is allowed.\"},\"allow_share\":{\"type\":\"boolean\",\"description\":\"Whether the platform control flag indicates that sharing is allowed.\"},\"show_watermark\":{\"type\":\"boolean\",\"description\":\"Whether the video controls indicate that a watermark is shown.\"}}}}},\"status_code\":{\"type\":\"integer\",\"description\":\"The Douyin status code returned inside the post detail payload.\"},\"extra\":{\"type\":\"object\",\"description\":\"Additional metadata provided with the Douyin response.\",\"properties\":{\"now\":{\"type\":\"integer\",\"description\":\"The response time recorded by Douyin as a Unix timestamp in milliseconds.\"},\"logid\":{\"type\":\"string\",\"description\":\"The identifier recorded for the response by Douyin.\"},\"fatal_item_ids\":{\"type\":\"array\",\"description\":\"Item identifiers listed as having fatal errors by Douyin. The list can be empty.\"}}},\"log_pb\":{\"type\":\"object\",\"description\":\"Additional response record metadata provided by Douyin.\",\"properties\":{\"impr_id\":{\"type\":\"string\",\"description\":\"The record identifier returned in the platform response metadata.\"}}}}}}},\"allOf\":[{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}]}}}},\"400\":{\"description\":\"Invalid request parameters or body\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"401\":{\"description\":\"Invalid or inactive access token\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"403\":{\"description\":\"Permission denied\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"429\":{\"description\":\"Request rate or daily quota limit exceeded\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"500\":{\"description\":\"Internal server error\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"503\":{\"description\":\"Service temporarily unavailable\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}}}")'
  :servers='JSON.parse("[{\"url\":\"https://api.justoneapi.com\",\"description\":\"Global production API (default)\"}]")'
  :security='JSON.parse("[]")'
  :securitySchemes='JSON.parse("{}")'
  :schemas='JSON.parse("{}")'
/>

<ApiHealthSection :api='JSON.parse("\"/api/douyin/get-video-detail/v2\"")' />

<p>Retrieves details for a Douyin (TikTok China) video by video ID. Use it to look up a known video before content review, archiving, or related analysis.</p>

## Parameters

<div class="api-doc-table api-doc-table--params">

| Name | In | Type | Required | Default | Description |
| --- | --- | --- | --- | --- | --- |
| <code>token</code> | query | <code>string</code> | Yes | - | Access token for this API service. |
| <code>videoId</code> | query | <code>string</code> | Yes | - | The unique video identifier (aweme_id or model_id). |

</div>

## Code Samples

::: code-group

```bash [🐚 cURL]
curl --max-time 120 -X GET 'https://api.justoneapi.com/api/douyin/get-video-detail/v2?token=YOUR_API_KEY&videoId=VALUE'
```

```text [🤖 AI Prompt]
I want to use the "Video Details (V2)" API from JustOneAPI.
Base URL: https://api.justoneapi.com.
API Path: /api/douyin/get-video-detail/v2?token=YOUR_API_KEY&videoId=VALUE
API Endpoint: BASE_URL + /api/douyin/get-video-detail/v2?token=YOUR_API_KEY&videoId=VALUE
HTTP Method: GET
Authentication: Append the "token" query parameter to the URL.
OpenAPI Definition: https://docs.justoneapi.com/openapi/douyin-tiktok-china/video-details-v2-en.json

Parameters:
- token (query): Access token for this API service. (Required)
- videoId (query): The unique video identifier (aweme_id or model_id). (Required)

Return format: safely handle JSON or text according to the actual Content-Type.

Response Handling & Error Codes:
1. Business results should be determined by the "code" field in the response body (code 0 means success).
2. Timeout Recommendation: Set the request timeout to 120 seconds. If 120 seconds is too long for your use case, use at least 60 seconds, but a small number of requests may time out before receiving a result.
3. Business Code Reference:
   - 0: Success
   - 100: Invalid or Inactive Token
   - 301: Collection Failed. Please Retry.
   - 302: Rate Limit Exceeded
   - 303: Daily Quota Exceeded
   - 400: Invalid Parameters
   - 500: Internal Server Error
   - 600: Permission Denied
   - 601: Insufficient Balance
   - 602: Token Budget Exceeded
4. Code 601 means the shared account balance is insufficient. Code 602 means the current API token's own cumulative budget limit has been reached. Token budget limits do not transfer funds out of the shared account balance.

Please help me write a script in my preferred programming language to call this API and handle the response.
```

```python [🐍 Python]
import requests

BASE_URL = "https://api.justoneapi.com"  # Provided by OpenAPI servers

url = BASE_URL + "/api/douyin/get-video-detail/v2?token=YOUR_API_KEY&videoId=VALUE"
response = requests.get(url, timeout=120)
print(response.status_code)
if response.content:
    content_type = response.headers.get("content-type", "").lower()
    if "json" in content_type:
        try:
            print(response.json())
        except ValueError:
            print(response.text)
    elif content_type.startswith("text/") or "xml" in content_type or content_type.split(";", 1)[0].strip() in {"application/javascript", "application/x-www-form-urlencoded", "application/graphql"}:
        print(response.text)
    else:
        with open("response.bin", "wb") as output:
            output.write(response.content)
        print(f"Saved {len(response.content)} bytes to response.bin")
```

```js [🌐 JavaScript]
const BASE_URL = "https://api.justoneapi.com"; // Provided by OpenAPI servers
const url = BASE_URL + "/api/douyin/get-video-detail/v2?token=YOUR_API_KEY&videoId=VALUE";

const response = await fetch(url, {
  method: "GET",
  signal: AbortSignal.timeout(120000)
});
console.log(response.status);
const responseBytes = await response.arrayBuffer();
if (responseBytes.byteLength) {
  const contentType = (response.headers.get("content-type") || "").toLowerCase();
  const mediaType = contentType.split(";", 1)[0].trim();
  const textual = contentType.startsWith("text/") || contentType.includes("json") || contentType.includes("xml") || ["application/javascript", "application/x-www-form-urlencoded", "application/graphql"].includes(mediaType);
  if (textual) {
    const responseText = new TextDecoder().decode(responseBytes);
    let data = responseText;
    if (contentType.includes("json")) {
      try { data = JSON.parse(responseText); } catch { /* Keep the raw body. */ }
    }
    console.log(data);
  } else {
    console.log(`Received ${responseBytes.byteLength} binary bytes`);
  }
}
```

```java [☕ Java]
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.time.Duration;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;

public class Main {
    public static void main(String[] args) throws Exception {
        final String BASE_URL = "https://api.justoneapi.com"; // Provided by OpenAPI servers
        final String url = BASE_URL + "/api/douyin/get-video-detail/v2?token=YOUR_API_KEY&videoId=VALUE";

        HttpClient client = HttpClient.newBuilder().connectTimeout(Duration.ofSeconds(120)).build();
        HttpRequest.Builder builder = HttpRequest.newBuilder()
            .uri(URI.create(url))
            .timeout(Duration.ofSeconds(120))
            .method("GET", HttpRequest.BodyPublishers.noBody());

        HttpRequest request = builder.build();

        HttpResponse<byte[]> response = client.send(request, HttpResponse.BodyHandlers.ofByteArray());
        System.out.println(response.statusCode());
        String contentType = response.headers().firstValue("content-type").orElse("").toLowerCase();
        String mediaType = contentType.split(";", 2)[0].trim();
        if (contentType.startsWith("text/") || contentType.contains("json") || contentType.contains("xml") || mediaType.equals("application/javascript") || mediaType.equals("application/x-www-form-urlencoded") || mediaType.equals("application/graphql")) {
            System.out.println(new String(response.body(), StandardCharsets.UTF_8));
        } else {
            Files.write(Path.of("response.bin"), response.body());
            System.out.println("Saved " + response.body().length + " bytes to response.bin");
        }
    }
}
```

```go [🐹 Go]
package main

import (
	"fmt"
	"io"
	"os"
	"strings"
	"net/http"
	"time"
)

const BASE_URL = "https://api.justoneapi.com" // Provided by OpenAPI servers

func main() {
	client := &http.Client{Timeout: 120 * time.Second}
	url := BASE_URL + "/api/douyin/get-video-detail/v2?token=YOUR_API_KEY&videoId=VALUE"
	req, _ := http.NewRequest("GET", url, nil)
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	fmt.Println(resp.StatusCode)
	bodyBytes, _ := io.ReadAll(resp.Body)
	contentType := strings.ToLower(resp.Header.Get("Content-Type"))
	mediaType := strings.TrimSpace(strings.SplitN(contentType, ";", 2)[0])
	if strings.HasPrefix(contentType, "text/") || strings.Contains(contentType, "json") || strings.Contains(contentType, "xml") || mediaType == "application/javascript" || mediaType == "application/x-www-form-urlencoded" || mediaType == "application/graphql" {
		fmt.Println(string(bodyBytes))
	} else {
		os.WriteFile("response.bin", bodyBytes, 0600)
		fmt.Printf("Saved %d bytes to response.bin\n", len(bodyBytes))
	}
}
```

```php [🐘 PHP]
<?php
$BASE_URL = 'https://api.justoneapi.com'; // Provided by OpenAPI servers
$url = $BASE_URL . '/api/douyin/get-video-detail/v2?token=YOUR_API_KEY&videoId=VALUE';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_TIMEOUT, 120);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
$response = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
$contentType = strtolower((string) curl_getinfo($ch, CURLINFO_CONTENT_TYPE));
curl_close($ch);
echo $status . PHP_EOL;
$mediaType = trim(explode(';', $contentType, 2)[0]);
if (str_starts_with($contentType, 'text/') || str_contains($contentType, 'json') || str_contains($contentType, 'xml') || in_array($mediaType, ['application/javascript', 'application/x-www-form-urlencoded', 'application/graphql'], true)) {
    echo $response;
} else {
    file_put_contents('response.bin', $response);
    echo 'Saved ' . strlen($response) . ' bytes to response.bin' . PHP_EOL;
}
```

:::

<div style="text-align: right; margin-top: -20px; margin-bottom: 20px;">
<a href="/openapi/douyin-tiktok-china/video-details-v2-en.json" target="_blank" style="font-size: 12px; color: var(--vp-c-text-3); text-decoration: none; opacity: 0.8;">[OpenAPI Definition (JSON)]</a>
</div>

## Response Fields

Key fields in a successful response (`code = 0`).

<div class="api-doc-table api-doc-table--response">

| Field path | Type | Description |
| --- | --- | --- |
| <code>data</code> | - | Fields returned when the response contains a Douyin post detail object. |
| <code>data.aweme_detail</code> | <code>object</code> | The requested Douyin post, including video or image gallery metadata when returned. |
| <code>data.aweme_detail.aweme_id</code> | <code>string</code> | The unique Douyin post ID encoded as a string. |
| <code>data.aweme_detail.group_id</code> | <code>string</code> | Group identifier reported for the post. |
| <code>data.aweme_detail.author_user_id</code> | <code>integer</code> | Numeric ID of the posting account. |
| <code>data.aweme_detail.desc</code> | <code>string</code> | Post description supplied by Douyin. |
| <code>data.aweme_detail.caption</code> | <code>string</code> | Post caption supplied by Douyin. |
| <code>data.aweme_detail.item_title</code> | <code>string</code> | Post title, when supplied. |
| <code>data.aweme_detail.preview_title</code> | <code>string</code> | Title supplied for the post preview. |
| <code>data.aweme_detail.create_time</code> | <code>integer</code> | Post publication time as a Unix timestamp in seconds. |
| <code>data.aweme_detail.duration</code> | <code>integer</code> | The video duration value reported at the post level, in milliseconds. |
| <code>data.aweme_detail.aweme_type</code> | <code>integer</code> | The Douyin post type code. Observed examples are 0 for a standard video and 68 for an image gallery. |
| <code>data.aweme_detail.media_type</code> | <code>integer</code> | Media type code reported by Douyin. |
| <code>data.aweme_detail.ip_attribution</code> | <code>string</code> | IP region label reported by Douyin, when available. |
| <code>data.aweme_detail.share_url</code> | <code>string</code> | The Douyin share URL for the post. |
| <code>data.aweme_detail.share_info</code> | <code>object</code> | Metadata supplied for sharing the post. |
| <code>data.aweme_detail.share_info.share_url</code> | <code>string</code> | URL supplied for sharing the video. |
| <code>data.aweme_detail.share_info.share_title</code> | <code>string</code> | Title supplied for sharing the video. |
| <code>data.aweme_detail.share_info.share_desc</code> | <code>string</code> | Description supplied for sharing the video. |
| <code>data.aweme_detail.text_extra</code> | <code>array</code> | Hashtags and user mentions associated with the post text. |
| <code>data.aweme_detail.text_extra[]</code> | <code>object</code> | One text annotation. |
| <code>data.aweme_detail.text_extra[].type</code> | <code>integer</code> | Annotation type code reported by Douyin. |
| <code>data.aweme_detail.text_extra[].hashtag_id</code> | <code>string</code> | ID of the annotated hashtag when the annotation represents a hashtag. |
| <code>data.aweme_detail.text_extra[].hashtag_name</code> | <code>string</code> | Name of the annotated hashtag. |
| <code>data.aweme_detail.text_extra[].is_commerce</code> | <code>boolean</code> | Whether Douyin flags the annotated hashtag as commercial. |
| <code>data.aweme_detail.cha_list</code> | <code>array</code> | Topic or challenge details associated with the post. |
| <code>data.aweme_detail.cha_list[]</code> | <code>object</code> | One topic or challenge. |
| <code>data.aweme_detail.cha_list[].cid</code> | <code>string</code> | Douyin topic or challenge ID. |
| <code>data.aweme_detail.cha_list[].cha_name</code> | <code>string</code> | Topic or challenge name. |
| <code>data.aweme_detail.cha_list[].desc</code> | <code>string</code> | Description of the topic or challenge. |
| <code>data.aweme_detail.cha_list[].is_commerce</code> | <code>boolean</code> | Whether Douyin flags the topic or challenge as commercial. |
| <code>data.aweme_detail.author</code> | <code>object</code> | Author profile information returned with the post. |
| <code>data.aweme_detail.author.uid</code> | <code>string</code> | Douyin account ID encoded as a string. |
| <code>data.aweme_detail.author.sec_uid</code> | <code>string</code> | Secondary Douyin account identifier used by user profile endpoints. |
| <code>data.aweme_detail.author.nickname</code> | <code>string</code> | Author’s display name. |
| <code>data.aweme_detail.author.unique_id</code> | <code>string</code> | Public Douyin account handle, when available. |
| <code>data.aweme_detail.author.short_id</code> | <code>string</code> | Short account identifier reported by Douyin. |
| <code>data.aweme_detail.author.follower_count</code> | <code>integer</code> | Follower count reported for the author. |
| <code>data.aweme_detail.author.is_verified</code> | <code>boolean</code> | Whether Douyin reports the author as verified. |
| <code>data.aweme_detail.author.verification_type</code> | <code>integer</code> | Verification category code reported for the author. |
| <code>data.aweme_detail.author.avatar_thumb</code> | <code>object</code> | Thumbnail avatar for the author. |
| <code>data.aweme_detail.author.avatar_thumb.uri</code> | <code>string</code> | Resource identifier reported by Douyin. |
| <code>data.aweme_detail.author.avatar_thumb.url_list</code> | <code>array</code> | URLs supplied for the resource. |
| <code>data.aweme_detail.author.avatar_thumb.url_list[]</code> | <code>string</code> | URL supplied for the resource. |
| <code>data.aweme_detail.author.avatar_thumb.width</code> | <code>integer</code> | Resource width in pixels reported in the metadata. |
| <code>data.aweme_detail.author.avatar_thumb.height</code> | <code>integer</code> | Resource height in pixels reported in the metadata. |
| <code>data.aweme_detail.author.avatar_medium</code> | <code>object</code> | Medium avatar for the author. |
| <code>data.aweme_detail.author.avatar_medium.uri</code> | <code>string</code> | Resource identifier reported by Douyin. |
| <code>data.aweme_detail.author.avatar_medium.url_list</code> | <code>array</code> | URLs supplied for the resource. |
| <code>data.aweme_detail.author.avatar_medium.url_list[]</code> | <code>string</code> | URL supplied for the resource. |
| <code>data.aweme_detail.author.avatar_medium.width</code> | <code>integer</code> | Resource width in pixels reported in the metadata. |
| <code>data.aweme_detail.author.avatar_medium.height</code> | <code>integer</code> | Resource height in pixels reported in the metadata. |
| <code>data.aweme_detail.author.avatar_larger</code> | <code>object</code> | Larger avatar for the author. |
| <code>data.aweme_detail.author.avatar_larger.uri</code> | <code>string</code> | Resource identifier reported by Douyin. |
| <code>data.aweme_detail.author.avatar_larger.url_list</code> | <code>array</code> | URLs supplied for the resource. |
| <code>data.aweme_detail.author.avatar_larger.url_list[]</code> | <code>string</code> | URL supplied for the resource. |
| <code>data.aweme_detail.author.avatar_larger.width</code> | <code>integer</code> | Resource width in pixels reported in the metadata. |
| <code>data.aweme_detail.author.avatar_larger.height</code> | <code>integer</code> | Resource height in pixels reported in the metadata. |
| <code>data.aweme_detail.author.aweme_count</code> | <code>integer</code> | The author post count reported by Douyin. |
| <code>data.aweme_detail.statistics</code> | <code>object</code> | Engagement counts reported by Douyin for the post. |
| <code>data.aweme_detail.statistics.aweme_id</code> | <code>string</code> | Douyin video ID associated with these statistics. |
| <code>data.aweme_detail.statistics.digg_count</code> | <code>integer</code> | Number of likes reported for the video. |
| <code>data.aweme_detail.statistics.comment_count</code> | <code>integer</code> | Number of comments reported for the video. |
| <code>data.aweme_detail.statistics.collect_count</code> | <code>integer</code> | Number of saves reported for the video. |
| <code>data.aweme_detail.statistics.share_count</code> | <code>integer</code> | Number of shares reported for the video. |
| <code>data.aweme_detail.statistics.forward_count</code> | <code>integer</code> | Forward count supplied in the response. |
| <code>data.aweme_detail.statistics.download_count</code> | <code>integer</code> | Number of downloads reported for the video. |
| <code>data.aweme_detail.statistics.play_count</code> | <code>integer</code> | The play count reported by Douyin for the post. |
| <code>data.aweme_detail.statistics.exposure_count</code> | <code>integer</code> | The exposure count reported by Douyin for the post. |
| <code>data.aweme_detail.video</code> | <code>object</code> | Video metadata and available playback resources. This object can also be present for an image gallery. |
| <code>data.aweme_detail.video.duration</code> | <code>integer</code> | Video duration in milliseconds. |
| <code>data.aweme_detail.video.width</code> | <code>integer</code> | Video width reported by Douyin in pixels. |
| <code>data.aweme_detail.video.height</code> | <code>integer</code> | Video height reported by Douyin in pixels. |
| <code>data.aweme_detail.video.format</code> | <code>string</code> | Video format reported by Douyin. |
| <code>data.aweme_detail.video.ratio</code> | <code>string</code> | Resolution label reported by Douyin. |
| <code>data.aweme_detail.video.has_watermark</code> | <code>boolean</code> | Watermark flag from the video metadata. |
| <code>data.aweme_detail.video.play_addr</code> | <code>object</code> | Primary playback address supplied for the video. |
| <code>data.aweme_detail.video.play_addr.uri</code> | <code>string</code> | Resource identifier reported by Douyin. |
| <code>data.aweme_detail.video.play_addr.url_list</code> | <code>array</code> | URLs supplied for the resource. |
| <code>data.aweme_detail.video.play_addr.url_list[]</code> | <code>string</code> | URL supplied for the resource. |
| <code>data.aweme_detail.video.play_addr.width</code> | <code>integer</code> | Resource width in pixels reported in the metadata. |
| <code>data.aweme_detail.video.play_addr.height</code> | <code>integer</code> | Resource height in pixels reported in the metadata. |
| <code>data.aweme_detail.video.play_addr.data_size</code> | <code>integer</code> | Resource file size in bytes reported in the metadata. |
| <code>data.aweme_detail.video.play_addr_h264</code> | <code>object</code> | Address supplied for the H.264 variant. |
| <code>data.aweme_detail.video.play_addr_h264.uri</code> | <code>string</code> | Resource identifier reported by Douyin. |
| <code>data.aweme_detail.video.play_addr_h264.url_list</code> | <code>array</code> | URLs supplied for the resource. |
| <code>data.aweme_detail.video.play_addr_h264.url_list[]</code> | <code>string</code> | URL supplied for the resource. |
| <code>data.aweme_detail.video.play_addr_h264.width</code> | <code>integer</code> | Resource width in pixels reported in the metadata. |
| <code>data.aweme_detail.video.play_addr_h264.height</code> | <code>integer</code> | Resource height in pixels reported in the metadata. |
| <code>data.aweme_detail.video.play_addr_h264.data_size</code> | <code>integer</code> | Resource file size in bytes reported in the metadata. |
| <code>data.aweme_detail.video.play_addr_265</code> | <code>object</code> | Address supplied in the H.265 playback field. |
| <code>data.aweme_detail.video.play_addr_265.uri</code> | <code>string</code> | Resource identifier reported by Douyin. |
| <code>data.aweme_detail.video.play_addr_265.url_list</code> | <code>array</code> | URLs supplied for the resource. |
| <code>data.aweme_detail.video.play_addr_265.url_list[]</code> | <code>string</code> | URL supplied for the resource. |
| <code>data.aweme_detail.video.play_addr_265.width</code> | <code>integer</code> | Resource width in pixels reported in the metadata. |
| <code>data.aweme_detail.video.play_addr_265.height</code> | <code>integer</code> | Resource height in pixels reported in the metadata. |
| <code>data.aweme_detail.video.play_addr_265.data_size</code> | <code>integer</code> | Resource file size in bytes reported in the metadata. |
| <code>data.aweme_detail.video.download_addr</code> | <code>object</code> | Download address supplied for the video. |
| <code>data.aweme_detail.video.download_addr.uri</code> | <code>string</code> | Resource identifier reported by Douyin. |
| <code>data.aweme_detail.video.download_addr.url_list</code> | <code>array</code> | URLs supplied for the resource. |
| <code>data.aweme_detail.video.download_addr.url_list[]</code> | <code>string</code> | URL supplied for the resource. |
| <code>data.aweme_detail.video.download_addr.width</code> | <code>integer</code> | Resource width in pixels reported in the metadata. |
| <code>data.aweme_detail.video.download_addr.height</code> | <code>integer</code> | Resource height in pixels reported in the metadata. |
| <code>data.aweme_detail.video.download_addr.data_size</code> | <code>integer</code> | Resource file size in bytes reported in the metadata. |
| <code>data.aweme_detail.video.cover</code> | <code>object</code> | Video cover image. |
| <code>data.aweme_detail.video.cover.uri</code> | <code>string</code> | Resource identifier reported by Douyin. |
| <code>data.aweme_detail.video.cover.url_list</code> | <code>array</code> | URLs supplied for the resource. |
| <code>data.aweme_detail.video.cover.url_list[]</code> | <code>string</code> | URL supplied for the resource. |
| <code>data.aweme_detail.video.cover.width</code> | <code>integer</code> | Resource width in pixels reported in the metadata. |
| <code>data.aweme_detail.video.cover.height</code> | <code>integer</code> | Resource height in pixels reported in the metadata. |
| <code>data.aweme_detail.video.origin_cover</code> | <code>object</code> | Cover image in the original cover field. |
| <code>data.aweme_detail.video.origin_cover.uri</code> | <code>string</code> | Resource identifier reported by Douyin. |
| <code>data.aweme_detail.video.origin_cover.url_list</code> | <code>array</code> | URLs supplied for the resource. |
| <code>data.aweme_detail.video.origin_cover.url_list[]</code> | <code>string</code> | URL supplied for the resource. |
| <code>data.aweme_detail.video.origin_cover.width</code> | <code>integer</code> | Resource width in pixels reported in the metadata. |
| <code>data.aweme_detail.video.origin_cover.height</code> | <code>integer</code> | Resource height in pixels reported in the metadata. |
| <code>data.aweme_detail.video.dynamic_cover</code> | <code>object</code> | Moving cover resource when available. |
| <code>data.aweme_detail.video.dynamic_cover.uri</code> | <code>string</code> | Resource identifier reported by Douyin. |
| <code>data.aweme_detail.video.dynamic_cover.url_list</code> | <code>array</code> | URLs supplied for the resource. |
| <code>data.aweme_detail.video.dynamic_cover.url_list[]</code> | <code>string</code> | URL supplied for the resource. |
| <code>data.aweme_detail.video.dynamic_cover.width</code> | <code>integer</code> | Resource width in pixels reported in the metadata. |
| <code>data.aweme_detail.video.dynamic_cover.height</code> | <code>integer</code> | Resource height in pixels reported in the metadata. |
| <code>data.aweme_detail.video.animated_cover</code> | <code>object</code> | Animated cover resource when available. |
| <code>data.aweme_detail.video.animated_cover.uri</code> | <code>string</code> | Resource identifier reported by Douyin. |
| <code>data.aweme_detail.video.animated_cover.url_list</code> | <code>array</code> | URLs supplied for the resource. |
| <code>data.aweme_detail.video.animated_cover.url_list[]</code> | <code>string</code> | URL supplied for the resource. |
| <code>data.aweme_detail.video.bit_rate</code> | <code>array</code> | Playback encodings and bitrate metadata supplied for the video. |
| <code>data.aweme_detail.video.bit_rate[]</code> | <code>object</code> | One playback encoding supplied for the video. |
| <code>data.aweme_detail.video.bit_rate[].bit_rate</code> | <code>integer</code> | Encoding bitrate in bits per second. |
| <code>data.aweme_detail.video.bit_rate[].FPS</code> | <code>integer</code> | Frame rate in frames per second. |
| <code>data.aweme_detail.video.bit_rate[].format</code> | <code>string</code> | Media format reported for this encoding. |
| <code>data.aweme_detail.video.bit_rate[].gear_name</code> | <code>string</code> | Encoder preset label reported for this variant. |
| <code>data.aweme_detail.video.bit_rate[].quality_type</code> | <code>integer</code> | Quality category code reported for this encoding. |
| <code>data.aweme_detail.video.bit_rate[].is_h265</code> | <code>integer</code> | H.265 encoding flag reported for this variant. |
| <code>data.aweme_detail.video.bit_rate[].HDR_type</code> | <code>string</code> | HDR category label returned for the encoding. |
| <code>data.aweme_detail.video.bit_rate[].HDR_bit</code> | <code>string</code> | HDR bit-depth label returned for the encoding. |
| <code>data.aweme_detail.video.bit_rate[].play_addr</code> | <code>object</code> | Playback address for this encoding. |
| <code>data.aweme_detail.video.bit_rate[].play_addr.uri</code> | <code>string</code> | Resource identifier reported by Douyin. |
| <code>data.aweme_detail.video.bit_rate[].play_addr.url_list</code> | <code>array</code> | URLs supplied for the resource. |
| <code>data.aweme_detail.video.bit_rate[].play_addr.url_list[]</code> | <code>string</code> | URL supplied for the resource. |
| <code>data.aweme_detail.video.bit_rate[].play_addr.width</code> | <code>integer</code> | Resource width in pixels reported in the metadata. |
| <code>data.aweme_detail.video.bit_rate[].play_addr.height</code> | <code>integer</code> | Resource height in pixels reported in the metadata. |
| <code>data.aweme_detail.video.bit_rate[].play_addr.data_size</code> | <code>integer</code> | Resource file size in bytes reported in the metadata. |
| <code>data.aweme_detail.video.cover_original_scale</code> | <code>object</code> | The original-scale cover variant, when returned. |
| <code>data.aweme_detail.video.cover_original_scale.uri</code> | <code>string</code> | The platform resource identifier for this cover. |
| <code>data.aweme_detail.video.cover_original_scale.url_list</code> | <code>array</code> | URLs supplied for this cover variant. |
| <code>data.aweme_detail.video.cover_original_scale.url_list[]</code> | <code>string</code> | A URL for this cover variant. |
| <code>data.aweme_detail.video.cover_original_scale.width</code> | <code>integer</code> | The width reported for this cover variant. |
| <code>data.aweme_detail.video.cover_original_scale.height</code> | <code>integer</code> | The height reported for this cover variant. |
| <code>data.aweme_detail.video.audio</code> | <code>object</code> | Audio metadata carried in the video object. It can be empty. |
| <code>data.aweme_detail.video.big_thumbs</code> | <code>array &#124; null</code> | Preview thumbnail resources, when returned. The list can be empty or null. |
| <code>data.aweme_detail.video.big_thumbs[]</code> | <code>object</code> | A set of preview thumbnails for the video. |
| <code>data.aweme_detail.video.big_thumbs[].uri</code> | <code>string</code> | The platform resource identifier for the preview thumbnail. |
| <code>data.aweme_detail.video.big_thumbs[].img_url</code> | <code>string</code> | The preview thumbnail image URL. |
| <code>data.aweme_detail.video.big_thumbs[].img_urls</code> | <code>array</code> | Additional preview thumbnail URLs, when returned. |
| <code>data.aweme_detail.video.big_thumbs[].uris</code> | <code>array</code> | Additional platform resource identifiers for the preview thumbnails. |
| <code>data.aweme_detail.video.big_thumbs[].fext</code> | <code>string</code> | The file extension supplied for the preview thumbnail image. |
| <code>data.aweme_detail.video.meta</code> | <code>string</code> | Video metadata supplied as a serialized string. |
| <code>data.aweme_detail.video.is_h265</code> | <code>integer</code> | The H.265 indicator returned by Douyin as a numeric code. |
| <code>data.aweme_detail.video.is_source_HDR</code> | <code>integer</code> | The source high dynamic range indicator returned as a numeric code. |
| <code>data.aweme_detail.music</code> | <code>object</code> | Music or sound metadata associated with the post. |
| <code>data.aweme_detail.music.id</code> | <code>integer</code> | Numeric music ID. Use a lossless JSON parser to retain the full value in JavaScript. |
| <code>data.aweme_detail.music.id_str</code> | <code>string</code> | Music ID encoded as a string. |
| <code>data.aweme_detail.music.mid</code> | <code>string</code> | Music ID returned in the mid field. |
| <code>data.aweme_detail.music.title</code> | <code>string</code> | Title of the sound or music track. |
| <code>data.aweme_detail.music.author</code> | <code>string</code> | Artist or sound creator name returned with the track. |
| <code>data.aweme_detail.music.album</code> | <code>string</code> | Album title when supplied. |
| <code>data.aweme_detail.music.is_original_sound</code> | <code>boolean</code> | Whether Douyin marks the track as original sound. |
| <code>data.aweme_detail.music.cover_thumb</code> | <code>object</code> | Thumbnail cover for the sound or music track. |
| <code>data.aweme_detail.music.cover_thumb.uri</code> | <code>string</code> | Resource identifier reported by Douyin. |
| <code>data.aweme_detail.music.cover_thumb.url_list</code> | <code>array</code> | URLs supplied for the resource. |
| <code>data.aweme_detail.music.cover_thumb.url_list[]</code> | <code>string</code> | URL supplied for the resource. |
| <code>data.aweme_detail.music.cover_thumb.width</code> | <code>integer</code> | Resource width in pixels reported in the metadata. |
| <code>data.aweme_detail.music.cover_thumb.height</code> | <code>integer</code> | Resource height in pixels reported in the metadata. |
| <code>data.aweme_detail.music.play_url</code> | <code>object</code> | Playback resource for the sound or music track. |
| <code>data.aweme_detail.music.play_url.uri</code> | <code>string</code> | Resource identifier reported by Douyin. |
| <code>data.aweme_detail.music.play_url.url_list</code> | <code>array</code> | URLs supplied for the resource. |
| <code>data.aweme_detail.music.play_url.url_list[]</code> | <code>string</code> | URL supplied for the resource. |
| <code>data.aweme_detail.music.cover_medium</code> | <code>object</code> | Medium music cover image. |
| <code>data.aweme_detail.music.cover_medium.uri</code> | <code>string</code> | The platform resource identifier for the cover. |
| <code>data.aweme_detail.music.cover_medium.url_list</code> | <code>array</code> | URLs supplied for the music cover. |
| <code>data.aweme_detail.music.cover_medium.url_list[]</code> | <code>string</code> | A URL for the music cover. |
| <code>data.aweme_detail.music.cover_medium.width</code> | <code>integer</code> | The width reported for the music cover. |
| <code>data.aweme_detail.music.cover_medium.height</code> | <code>integer</code> | The height reported for the music cover. |
| <code>data.aweme_detail.music.cover_large</code> | <code>object</code> | Large music cover image. |
| <code>data.aweme_detail.music.cover_large.uri</code> | <code>string</code> | The platform resource identifier for the cover. |
| <code>data.aweme_detail.music.cover_large.url_list</code> | <code>array</code> | URLs supplied for the music cover. |
| <code>data.aweme_detail.music.cover_large.url_list[]</code> | <code>string</code> | A URL for the music cover. |
| <code>data.aweme_detail.music.cover_large.width</code> | <code>integer</code> | The width reported for the music cover. |
| <code>data.aweme_detail.music.cover_large.height</code> | <code>integer</code> | The height reported for the music cover. |
| <code>data.aweme_detail.music.cover_hd</code> | <code>object</code> | High-definition music cover image. |
| <code>data.aweme_detail.music.cover_hd.uri</code> | <code>string</code> | The platform resource identifier for the cover. |
| <code>data.aweme_detail.music.cover_hd.url_list</code> | <code>array</code> | URLs supplied for the music cover. |
| <code>data.aweme_detail.music.cover_hd.url_list[]</code> | <code>string</code> | A URL for the music cover. |
| <code>data.aweme_detail.music.cover_hd.width</code> | <code>integer</code> | The width reported for the music cover. |
| <code>data.aweme_detail.music.cover_hd.height</code> | <code>integer</code> | The height reported for the music cover. |
| <code>data.aweme_detail.images</code> | <code>array &#124; null</code> | The ordered images for an image gallery. Samples of standard video posts returned null. |
| <code>data.aweme_detail.images[]</code> | <code>object</code> | An image in the gallery. |
| <code>data.aweme_detail.images[].uri</code> | <code>string</code> | The platform resource identifier for the image. |
| <code>data.aweme_detail.images[].url_list</code> | <code>array</code> | Image URLs supplied for display. |
| <code>data.aweme_detail.images[].url_list[]</code> | <code>string</code> | A display URL for the image. |
| <code>data.aweme_detail.images[].download_url_list</code> | <code>array</code> | Download URLs returned separately for the image. |
| <code>data.aweme_detail.images[].download_url_list[]</code> | <code>string</code> | A download URL reported for the image. |
| <code>data.aweme_detail.images[].width</code> | <code>integer</code> | The width reported for the image. |
| <code>data.aweme_detail.images[].height</code> | <code>integer</code> | The height reported for the image. |
| <code>data.aweme_detail.images[].is_aigc_media</code> | <code>boolean</code> | Whether Douyin marks this image as AI-generated content. |
| <code>data.aweme_detail.images[].resolution_log_param</code> | <code>object</code> | The source and published image dimensions recorded by Douyin. |
| <code>data.aweme_detail.images[].resolution_log_param.image_source_width</code> | <code>integer</code> | The width reported for the source image. |
| <code>data.aweme_detail.images[].resolution_log_param.image_source_height</code> | <code>integer</code> | The height reported for the source image. |
| <code>data.aweme_detail.images[].resolution_log_param.image_publish_width</code> | <code>integer</code> | The width reported for the published image. |
| <code>data.aweme_detail.images[].resolution_log_param.image_publish_height</code> | <code>integer</code> | The height reported for the published image. |
| <code>data.aweme_detail.img_bitrate</code> | <code>array &#124; null</code> | Image bitrate information, when supplied. A gallery can return an empty list. |
| <code>data.aweme_detail.is_aigc_media</code> | <code>boolean</code> | Whether Douyin marks the post media as AI-generated content. |
| <code>data.aweme_detail.status</code> | <code>object</code> | Availability and viewing flags returned for the post. |
| <code>data.aweme_detail.status.is_private</code> | <code>boolean</code> | Whether Douyin marks the post as private in the response. |
| <code>data.aweme_detail.status.is_delete</code> | <code>boolean</code> | Whether Douyin marks the post as deleted in the response. |
| <code>data.aweme_detail.status.is_prohibited</code> | <code>boolean</code> | Whether Douyin marks the post as prohibited in the response. |
| <code>data.aweme_detail.status.allow_comment</code> | <code>boolean</code> | Whether the platform status indicates that comments are allowed. |
| <code>data.aweme_detail.status.allow_share</code> | <code>boolean</code> | Whether the platform status indicates that sharing is allowed. |
| <code>data.aweme_detail.video_control</code> | <code>object</code> | Media interaction controls returned by Douyin. |
| <code>data.aweme_detail.video_control.allow_download</code> | <code>boolean</code> | Whether the platform response indicates that downloading is allowed. |
| <code>data.aweme_detail.video_control.allow_duet</code> | <code>boolean</code> | Whether the platform response indicates that duets are allowed. |
| <code>data.aweme_detail.video_control.allow_stitch</code> | <code>boolean</code> | Whether the platform response indicates that stitching is allowed. |
| <code>data.aweme_detail.video_control.allow_share</code> | <code>boolean</code> | Whether the platform control flag indicates that sharing is allowed. |
| <code>data.aweme_detail.video_control.show_watermark</code> | <code>boolean</code> | Whether the video controls indicate that a watermark is shown. |
| <code>data.status_code</code> | <code>integer</code> | The Douyin status code returned inside the post detail payload. |
| <code>data.extra</code> | <code>object</code> | Additional metadata provided with the Douyin response. |
| <code>data.extra.now</code> | <code>integer</code> | The response time recorded by Douyin as a Unix timestamp in milliseconds. |
| <code>data.extra.logid</code> | <code>string</code> | The identifier recorded for the response by Douyin. |
| <code>data.extra.fatal_item_ids</code> | <code>array</code> | Item identifiers listed as having fatal errors by Douyin. The list can be empty. |
| <code>data.log_pb</code> | <code>object</code> | Additional response record metadata provided by Douyin. |
| <code>data.log_pb.impr_id</code> | <code>string</code> | The record identifier returned in the platform response metadata. |

</div>

## Response Example

<ApiExampleSection :api='JSON.parse("\"/api/douyin/get-video-detail/v2\"")' />

