Node.js
YouTube Endpoints
Video
deprecated
Get metadata for a YouTube video.
GET
Node.js
Documentation Index
Fetch the complete documentation index at: https://docs.supadata.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Query Parameters
YouTube video URL or ID. See supported URL formats.
Examples:
"https://youtu.be/dQw4w9WgXcQ"
"dQw4w9WgXcQ"
Response
Successfully fetched video metadata
YouTube video ID
Example:
"dQw4w9WgXcQ"
Video title
Example:
"Rick Astley - Never Gonna Give You Up (Official Music Video)"
Video description
Example:
"The official music video for \"Never Gonna Give You Up\"..."
Video duration in seconds
Example:
213
Channel information
Video tags
Example:
["Rick Astley", "Official Video", "Music"]Available transcript language codes
Example:
["en", "es", "fr"]URL to video thumbnail
Example:
"https://i.ytimg.com/vi/dQw4w9WgXcQ/hqdefault.jpg"
Video upload date
Example:
"2009-10-25T00:00:00.000Z"
Number of views
Example:
1234567890
Number of likes
Example:
12345678