Get detailed information for YouTube videos.
channel request field let you choose apify, rapid, or memories.ai; endpoints without this field use managed routing.channel option, use it to control how scraper data is sourced:
| Channel | What it means | Typical trade-off |
|---|---|---|
apify | Uses Apify, a dedicated web scraping platform with broad content coverage. | Most stable and most complete results, but usually more expensive. |
rapid | Uses RapidAPI, a lower-cost aggregation platform. | Lower cost, but less stable and often narrower coverage. |
memories.ai | Managed routing by Memories.ai. | Automatically selects the best price/performance path for your request. |
memories.ai unless you need to force a specific provider.| Field | Type | Required | Description |
|---|---|---|---|
| video_id | string | Yes | YouTube video ID — the v parameter from the YouTube video URL |
| Parameter | Type | Description |
|---|---|---|
| code | string | Response code, indicates the operation result status |
| msg | string | Response message, describes the operation result |
| data | object | Response data object, contains video detailed information |
| data.video_id | string | Video ID |
| data.title | string | Video title |
| data.description | string | Video description |
| data.channel | object | Channel information |
| data.channel.id | string | Channel ID |
| data.channel.name | string | Channel name |
| data.channel.subscriber_count | number | Subscriber count |
| data.stats | object | Statistics data |
| data.stats.view_count | number | View count |
| data.stats.like_count | number | Like count |
| data.stats.comment_count | number | Comment count |
| data.published_at | string | Published time (ISO 8601 format) |
| data.duration | string | Video duration (ISO 8601 format) |
| data.thumbnail | string | Thumbnail URL |
| data.video_url | string | Video URL |
| success | boolean | Indicates whether the operation was successful |
| failed | boolean | Indicates whether the operation failed |
YouTube video ID
"Y2y4OpzKIK4"
Successfully returned video detailed information
Response code, indicates the operation result status
200
Response message, describes the operation result
"success"
Response data object, contains video detailed information
Indicates whether the operation was successful
true
Indicates whether the operation failed
false