YouTube Scraper
Get YouTube Video/Short Details
Get a YouTube video or Short's title, description, views, likes, comments, chapters, captions and related videos.
Endpoint
Parameters
| Name | Type | Required | Note |
|---|---|---|---|
| urlstring · required | string | required | YouTube video or short URL |
| languagestring · optional | string | optional | Preferred response language (mapped to Accept-Language header; not guaranteed due to YouTube localization behavior). 2 letter language code, ie 'en', 'es', 'fr' etc. |
| cache_max_agestring · optional | string | optional | See the Caching page for details. One of: |
Response schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"id": {
"type": "string"
},
"url": {
"type": "string"
},
"type": {
"type": "string"
},
"genre": {
"type": "string"
},
"title": {
"type": "string"
},
"channel": {
"type": "object",
"additionalProperties": {}
},
"chapters": {
"type": "array"
},
"keywords": {
"type": "array"
},
"thumbnail": {
"type": "string"
},
"durationMs": {
"type": "number"
},
"description": {},
"publishDate": {
"type": "string"
},
"likeCountInt": {
"type": "number"
},
"viewCountInt": {
"type": "number"
},
"captionTracks": {
"type": "array"
},
"collaborators": {
"type": "array"
},
"likeCountText": {
"type": "string"
},
"most_replayed": {},
"viewCountText": {
"type": "string"
},
"commentCountInt": {
"type": "number"
},
"isPaidPromotion": {
"type": "boolean"
},
"publishDateText": {
"type": "string"
},
"watchNextVideos": {
"type": "array"
},
"commentCountText": {
"type": "string"
},
"descriptionLinks": {
"type": "array"
},
"durationFormatted": {
"type": "string"
}
},
"additionalProperties": true
}