Douyin Share Link Resolution
Resolve 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 subsequent Douyin content lookup or processing.
/v1/douyin/share_url_transfer_v1
$0.02
- Price
- $0.02 per successful call, Failed calls are free
- Endpoint ID
douyin.share_url_transfer_v1
Parameters
-
share_urlstring RequiredA Douyin short share URL beginning with https://v.douyin.com/.
Code samples
curl "https://api.mofa-ai.com/v1/douyin/share_url_transfer_v1" \
-H "Authorization: Bearer $MOFA_API_KEY"
import os
import requests
resp = requests.get(
"https://api.mofa-ai.com/v1/douyin/share_url_transfer_v1",
headers={"Authorization": f"Bearer {os.environ['MOFA_API_KEY']}"},
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/share_url_transfer_v1");
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
There is no example response for this endpoint yet.
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 Details
$0.02Retrieves 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
-
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