Douyin Video Details
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.
/v1/douyin/get_video_detail_v2
$0.02
- Price
- $0.02 per successful call, Failed calls are free
- Endpoint ID
douyin.get_video_detail_v2
Parameters
-
video_idstring RequiredThe unique video identifier (aweme_id or model_id).
Example
dQw4w9WgXcQ
Code samples
curl -G "https://api.mofa-ai.com/v1/douyin/get_video_detail_v2" \
-H "Authorization: Bearer $MOFA_API_KEY" \
--data-urlencode 'video_id=dQw4w9WgXcQ'
import os
import requests
resp = requests.get(
"https://api.mofa-ai.com/v1/douyin/get_video_detail_v2",
headers={"Authorization": f"Bearer {os.environ['MOFA_API_KEY']}"},
params={
"video_id": "dQw4w9WgXcQ",
},
timeout=60,
)
body = resp.json()
if body["success"]:
print(body["cost_usd"], body["data"])
else:
print(body["error"], body["message"])
const url = new URL("https://api.mofa-ai.com/v1/douyin/get_video_detail_v2");
url.search = new URLSearchParams({
video_id: "dQw4w9WgXcQ",
});
const resp = await fetch(url, {
headers: { Authorization: `Bearer ${process.env.MOFA_API_KEY}` },
});
const body = await resp.json();
if (body.success) console.log(body.cost_usd, body.data);
else console.error(body.error, body.message);
Example response
Request parameters {"video_id": "dQw4w9WgXcQ"}
{
"success": true,
"code": 0,
"message": "success",
"request_id": "req_5f1c2a9be04d7c3a81f6e2d0",
"endpoint": "douyin.get_video_detail_v2",
"cost_usd": 0.02,
"data": {
"code": 0,
"data": {
"extra": {
"now": 1794095873000,
"logid": "2026110807575346A2510420810ACDE070",
"fatal_item_ids": []
},
"log_pb": {
"impr_id": "2026110807575346A2510420810ACDE070"
},
"status_code": 5
},
"message": null,
"requestId": "6d6057bf1093439d813801d43e3413c2",
"recordTime": "2026-11-08T07:57:53.981787795",
"requestParams": {
"body": null,
"query": {
"videoId": "dQw4w9WgXcQ"
}
}
}
}
Try it
Sign in to call this endpoint from this page. Successful calls are billed to your balance, failed calls are free, and new accounts get $0.50 of trial credit.
More Douyin endpoints
-
Video Search
$0.02Searches Douyin (TikTok China) videos by keyword with sort, publish-time, duration, and page filters; later pages require the previous search ID. Use it to s…
/v1/douyin/search_video_v4
-
Hot Search
$0.04Searches Douyin (TikTok China) content with optional keyword, category, video-type, ranking, pagination, engagement, and creator-follower filters. Use it to…
/v1/douyin/hot_search_v1
-
User Published Videos
$0.02Retrieves videos published by a Douyin (TikTok China) user, with cursor pagination and newest or most-popular sorting. Use it to browse or monitor a creator'…
/v1/douyin/get_user_video_list_v1
-
User Search
$0.02Searches Douyin (TikTok China) users by keyword with page-based pagination and optional account-type filtering. Use it to discover creators, brands, or verif…
/v1/douyin/search_user_v2
-
Video Comments
$0.02Retrieves top-level comments for a Douyin (TikTok China) video by aweme ID with page-based pagination. Use it to review audience feedback or analyze discussi…
/v1/douyin/get_video_comment_v1
-
Comment Replies
$0.02Retrieves replies to a top-level Douyin (TikTok China) video comment with page-based pagination. Use it to inspect threaded discussions and review feedback u…
/v1/douyin/get_video_sub_comment_v1
-
User Profile
$0.02Retrieves a Douyin (TikTok China) user profile by secUid. Use it to review a known creator or account before monitoring related content or conducting account…
/v1/douyin/get_user_detail_v3
-
Share Link Resolution
$0.02Resolve a supported Douyin (TikTok China) short share link that targets a video and return its public redirect URL. Use it to expand video links before subse…
/v1/douyin/share_url_transfer_v1