YouTube Video
0.5 creditsGet detailed metadata for a YouTube video.
/api/v1/tools/youtube/videoParameters
YouTube video URL or video ID.
Fields to include in video. Omit for defaults: videoId, title, viewCount, likeCount, commentCount, duration, publishedAt, channel. Use ["*"] for all fields. Available fields: videoId, title, viewCount, likeCount, commentCount, duration, publishedAt, channel, description, thumbnailUrl, tags, category, isFamilySafe, isLiveContent, commentsDisabled, storyboards, endscreen.
Response Schema
YouTube video result
YouTube video ID
Video title
Total view count
Total like count
Total comment count
Duration in seconds
ISO 8601 publish timestamp
Channel info (name, id, subscriberCount, avatarUrl)
Full video description
Video tags
Video category name
Video chapters with title, startMs, endMs, thumbnailUrl
Engagement heatmap markers with startMs, durationMs, intensity
Request metadata
Tool name (youtube-video)
Credits consumed (1)
Unique request ID
Request
curl -X POST https://scraper.run/api/v1/tools/youtube/video \-H "Authorization: Bearer sc_live_..." \-H "Content-Type: application/json" \-d '{"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"}'
Response Example
{"data": {"videoId": "dQw4w9WgXcQ","title": "Rick Astley - Never Gonna Give You Up","viewCount": 1500000000,"likeCount": 16000000,"commentCount": 2800000,"duration": 212,"publishedAt": "2009-10-25T06:57:33.000Z","channel": {"name": "Rick Astley","id": "UCuAXFkgsw1L7xaCfnd5JJOw","subscriberCount": "3.8M","avatarUrl": "https://yt3.ggpht.com/..."}},"meta": {"tool": "youtube-video","creditsUsed": 0.5,"requestId": "req_abc123"}}