Get YouTube video metadata.
| Field | Type | Required | Description |
|---|---|---|---|
| video_url | string | Yes | The YouTube video URL |
| channel | string | Yes | The channel name. Supported values: apify, rapid, memories.ai |
| Parameter | Type | Description |
|---|---|---|
| code | string | Response code indicating the result status |
| msg | string | Response message describing the operation result |
| data | array[object] | Array of video metadata objects |
| data[].original_url | string | The original YouTube video URL |
| data[].requested_resolution | string | The requested video resolution (e.g., “720p”) |
| data[].title | string | Video title |
| data[].channel | string | YouTube channel name |
| data[].duration | string | Video duration in human-readable format (e.g., “2m 39s”) |
| data[].provided_resolution | string | The actual video resolution provided |
| data[].thumbnail | string | Thumbnail image URL |
| data[].downloadable_video_link | string | Direct download link for video file |
| data[].downloadable_audio_link | string | Direct download link for audio file |
| data[].merged_downloadable_link | string | Merged video and audio download link |
| data[].view_count | string | Number of views |
| data[].categories | array[string] | Video categories |
| data[].description | string | Video description |
| data[].availability | string | Video availability status |
| data[].live_status | string | Live streaming status |
| data[].channel_subscribers | string | Number of channel subscribers |
| data[].video_filesize | string | Video file size |
| data[].audio_filesize | string | Audio file size |
| data[].additional_metadata | object | Additional metadata including format details, keywords, etc. |
| success | boolean | Indicates whether the operation was successful |
| failed | boolean | Indicates whether the operation failed |
Video metadata information
Response code indicating the result status
"0000"
Response message describing the operation result
"success"
Array of video metadata objects
Indicates whether the operation was successful
true
Indicates whether the operation failed
false