Youku Video Details
Retrieves details for a Youku video identified by video ID. Use it to look up a known video for content review, cataloging, or subsequent video analysis.
/v1/youku/get_video_detail_v1
$0.02
- Price
- $0.02 per successful call, Failed calls are free
- Endpoint ID
youku.get_video_detail_v1
Parameters
-
video_idstring RequiredThe unique identifier for the video.
Example
dQw4w9WgXcQ
Code samples
curl -G "https://api.mofa-ai.com/v1/youku/get_video_detail_v1" \
-H "Authorization: Bearer $MOFA_API_KEY" \
--data-urlencode 'video_id=dQw4w9WgXcQ'
import os
import requests
resp = requests.get(
"https://api.mofa-ai.com/v1/youku/get_video_detail_v1",
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/youku/get_video_detail_v1");
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
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 Youku endpoints
-
Video Search
$0.02Searches Youku videos by keyword with page-based pagination. Use it to discover videos related to a topic, title, creator, or other search term.
/v1/youku/search_video_v1
-
User Profile
$0.02Retrieves a Youku user profile identified by UID. Use it to look up a known account for creator research, profile review, or related video discovery.
/v1/youku/get_user_detail_v1