Cross-platform media parse
YouTube, TikTok, Douyin, and other major platforms. One public video URL returns title, author, duration, and multi-quality variants—no per-platform route.
Common workflows
Media parse
POST /api/media/parse — YouTube, TikTok, Douyin, and other major platforms; metadata and multi-quality variants from one public URL.
Copy and run
Replace YOUR_API_KEY with a console key. POST /api/media/parse with a JSON body containing url.
import requests
API_BASE = "https://www.dataspider.ai/api"
HEADERS = {
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json",
}
detail = requests.post(
f"{API_BASE}/media/parse",
headers=HEADERS,
json={"url": "https://www.douyin.com/video/7123456789012345678"},
)
print(detail.json())
JSON response
response.json
{
"code": 200,
"message": "ok",
"success": true,
"data": {
"title": "示例作品标题",
"author": "作者昵称",
"duration": 42,
"medias": [
{
"type": "video",
"variants": [
{
"quality": "720p",
"url": "https://example.cdn/video.mp4",
"format": "mp4"
},
{
"quality": "1080p",
"url": "https://example.cdn/video-hd.mp4",
"format": "mp4"
}
]
}
]
}
}What you get
Input
- Public links on YouTube, TikTok, Douyin, and other major platforms
- Links inside share text
- No platform query parameter
- Works alongside platform-specific detail APIs
Output
- Title and author
- Duration and cover
- Multi-quality audio and video variants
- Built for download and transcode pipelines
Other platforms
Ready to integrate?
Create an API key, try a URL in Playground, then wire it into your app.