GET /v1/youtube/web_v2/get_video_info_v2
Get video information V2
stable · 2 credits per success
Fetch YouTube video details via an alternative extraction path (more stable field extraction);Use when v1 `/get_video_info` returns empty title/author (age-gated, unlisted, music videos, etc.);📌 Required (one of);*video_id** (string) - Video ID, e.g. `"dQw4w9WgXcQ"`;*video_url** (string) - Full video URL (ignored if video_id provided);⚙️ Optional;*need_format** (bool) - Whether to return cleaned…
Request parameters
| Name | Type | In | Required | Description | Example |
|---|---|---|---|---|---|
| video_id | string | query | no | 视频ID | dQw4w9WgXcQ |
| video_url | string | query | no | 视频URL | https://www.youtube.com/watch?v=dQw4w9WgXcQ |
| need_format | boolean | query | no | 是否需要清洗数据,提取关键字段 | true |
Response fields
Field dictionary coming soon — the executable panel shows the live shape.
Errors
| code | HTTP | Meaning | Billed |
|---|---|---|---|
| 40001 | 400 | Invalid parameters | no |
| 40102 | 401 | Invalid or revoked API Key | no |
| 40201 | 402 | Insufficient credits | no |
| 40402 | 404 | Resource not found | no |
| 42201 | 422 | Quality gate failed | no |
| 42901 | 429 | Rate limit exceeded | no |
| 50401 | 504 | Upstream timeout | no |
| 50201 | 502 | Upstream error | no |
Billing
Success costs 2 credits. Any failure — including a 200 that fails the quality gate — costs 0.