GET /v1/youtube/web_v2/get_related_videos
Get related videos
stable · 2 credits per success
Get YouTube video's related content recommendations (recommended videos list);Similar to the related videos shown on the right side of video playback page;Returns all recommended videos at once (typically 20-30 videos);video_id: Video ID (recommended);video_url: Full video URL (optional, ignored if video_id is provided);need_format: Whether to format data (default true);- true: Return formatted s…
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: 返回格式化的结构化数据,false: 返回原始API结构 | 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.