Get a video
One YouTube video whole: its title, description and links, views, likes, comments count, dates, channel, chapters, the moments viewers replay most, its storyboards, captions, audio tracks and renditions.
youtube/videos/get1 credit a callv1.0.1When to use it
You need everything YouTube's page says of a video, from its id or any of its links: its title, full description and the links in it, tags and hashtags, category, duration, exact views, likes, the number of comments, when it was published, its channel and subscribers (and every channel of a collaboration), its chapters, YouTube's AI summary, the music it uses, the products and cards it shows, its end screen. For looking at the video without its stream: the moments viewers replay most (YouTube's "Most replayed" heat map, a hundred slices with their intensity), its storyboards (the frames the player shows when you hover the timeline, every few seconds), its loudness, the captions and audio tracks it has, and the renditions YouTube encoded (resolution, codec, bitrate, size), never the stream. For its transcript, use youtube/transcripts/get; its comments, youtube/comments/list; for videos by words, youtube/videos/search; a channel's videos, youtube/videos/list.
Try it
The options on the left write the call; the answer on the right is the contract's example. With your API key, the same call returns live data.
curl https://api.lobstr.io/v2/run \ -H "Authorization: Bearer $LOBSTR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "source": "youtube", "operation": "videos/get", "options": { "video": "https://youtu.be/k7Rt2mVxQ4s" } }'
An example answer. Run it on your own input.
{ "object": "run", "id": "run_pyhdsdfohqezildvkig3xzwznm", "livemode": true, "source": "youtube", "operation": "videos/get", "version": "1.0.1", "schema_url": "https://api.lobstr.io/v2/catalog/youtube/videos/get", "options": { "video": "https://youtu.be/k7Rt2mVxQ4s" }, "fields": null, "status": "succeeded", "count": 1, "has_more": false, "next": null, "cost": { "credits": 1 }, "results": [ { "object": "video", "id": "k7Rt2mVxQ4s", "ids": { "video_id": "k7Rt2mVxQ4s", "channel_id": "UCa1B2c3D4e5F6g7H8i9J0kL" }, "url": "https://www.youtube.com/watch?v=k7Rt2mVxQ4s", "title": "Sourdough for Beginners, Step by Step", "description": "Everything you need for your first loaf.\n0:00 Intro\n2:15 The starter\nGet the recipe: https://acmekitchen.com/sourdough", "description_links": [ { "type": "timestamp", "text": "0:00", "url": "https://www.youtube.com/watch?v=k7Rt2mVxQ4s", "seconds": 0 }, { "type": "timestamp", "text": "2:15", "url": "https://www.youtube.com/watch?v=k7Rt2mVxQ4s&t=135s", "seconds": 135 }, { "type": "link", "text": "https://acmekitchen.com/sourdough", "url": "https://acmekitchen.com/sourdough", "seconds": null } ], "hashtags": [ "#sourdough" ], "keywords": [ "sourdough", "bread", "baking" ], "category": "Howto & Style", "duration_seconds": 754, "views": 184213, "likes": 6120, "comments_count": 412, "comments_turned_off": false, "published_at": "2025-10-14T15:00:06Z", "uploaded_at": "2025-10-14T15:00:06Z", "date_text": "Oct 14, 2025", "is_short": false, "is_live_content": false, "live": null, "is_unlisted": false, "is_family_safe": true, "is_private": false, "is_embeddable": true, "allow_ratings": true, "is_crawlable": true, "has_paid_promotion": false, "playability": { "status": "OK", "reason": null }, "available_countries": [ "US", "CA", "GB" ], "channel": { "id": "UCa1B2c3D4e5F6g7H8i9J0kL", "title": "Acme Kitchen", "handle": "@acmekitchen", "url": "https://www.youtube.com/@acmekitchen", "subscribers": 248000, "subscribers_text": "248K subscribers", "is_verified": true, "is_artist": false, "thumbnails": [ { "url": "https://yt3.ggpht.com/acme-kitchen=s48-c-k-c0x00ffffff-no-rj", "width": 48, "height": 48 } ] }, "collaborators": [], "thumbnails": [ { "url": "https://i.ytimg.com/vi/k7Rt2mVxQ4s/maxresdefault.jpg", "width": 1920, "height": 1080 } ], "chapters": [ { "title": "Intro", "start_seconds": 0, "time_text": "0:00", "thumbnails": [] }, { "title": "The starter", "start_seconds": 135, "time_text": "2:15", "thumbnails": [] } ], "chapters_auto_generated": false, "ai_summary": null, "how_this_was_made": [], "music": [], "products": [], "cards": [], "endscreen": [ { "type": "video", "title": "Focaccia in One Bowl", "subtitle": "92K views", "url": "https://www.youtube.com/watch?v=Fq3nB8pLz1A", "video_id": "Fq3nB8pLz1A", "playlist_id": null, "channel_id": null, "is_subscribe": false, "start_ms": 734000, "end_ms": 754000, "thumbnails": [] } ], "most_replayed": [ { "start_ms": 0, "duration_ms": 7540, "intensity": 1 }, { "start_ms": 7540, "duration_ms": 7540, "intensity": 0.42 } ], "most_replayed_peaks": [ { "at_ms": 135000, "start_ms": 120000, "end_ms": 150000, "label": "Most replayed" } ], "storyboards": [ { "level": 1, "width": 80, "height": 45, "frame_count": 76, "columns": 10, "rows": 10, "interval_ms": 10000, "sheets": [ "https://i.ytimg.com/sb/k7Rt2mVxQ4s/storyboard3_L1/M0.jpg?sqp=example&sigh=example" ] } ], "has_transcript": true, "captions": [ { "language": "en", "name": "English (auto-generated)", "is_auto_generated": true, "is_translatable": true } ], "audio_tracks": [], "formats": [ { "itag": 137, "mime_type": "video/mp4", "codecs": "avc1.640028", "has_video": true, "has_audio": false, "width": 1920, "height": 1080, "fps": 30, "quality": "hd1080", "quality_label": "1080p", "bitrate": 2549290, "average_bitrate": 1498885, "size_bytes": 141273820, "duration_ms": 754020, "projection": "RECTANGULAR", "color": null, "audio_quality": null, "audio_sample_rate": null, "audio_channels": null, "loudness_db": null, "audio_track_id": null, "is_drc": false } ], "loudness_db": -3.5, "perceptual_loudness_db": -17.5, "source_url": "https://www.youtube.com/watch?v=k7Rt2mVxQ4s", "observed_at": "2026-12-03T12:00:00Z" } ] }
Options
videostringrequiredRecord
Each record of results, in the envelope every call returns (Run an operation).
objectstringidstringids.video_idstringids.channel_idstringurlstringtitlestringdescriptionstringdescription_linkslistlink, its address itself, not YouTube's redirect), a moment of the video (timestamp, with its seconds), another video, a playlist, a hashtag or a channel (an @mention).hashtagslistkeywordslistcategorystringduration_secondsintegerviewsintegerlikesintegercomments_countintegercomments_turned_offbooleanpublished_atdateuploaded_atdatedate_textstringis_shortbooleanis_live_contentbooleanlive.is_live_nowbooleanlive.started_atdatelive.ended_atdateis_unlistedbooleanis_family_safebooleanis_privatebooleanis_embeddablebooleanallow_ratingsbooleanis_crawlablebooleanhas_paid_promotionbooleanplayability.statusstringplayability.reasonstringavailable_countrieslistchannelstringcollaboratorslistthumbnailslistchapterslistchapters_auto_generated); empty without.chapters_auto_generatedbooleanai_summarystringhow_this_was_madelistmusiclistproductslistcardslistendscreenlistmost_replayedlistmost_replayed_peaksliststoryboardslistcolumns x rows frames of width x height, the frames in order, one every interval_ms (0: spread evenly over the video). Public images, as the player loads them.has_transcriptbooleancaptionslistaudio_trackslistformatslistloudness_dbfloatperceptual_loudness_dbfloatsource_urlstringobserved_atdateErrors
Its own, besides those of every call (Errors). A failed call is free.
| Code | Status | What it means |
|---|---|---|
ip_blocked | 503 | YouTube slowed down the IPs the call tried (429), or asked them to sign in to prove they are not a bot. Retry in a minute; failed calls are free. Retryable. |
invalid_video | 422 | video is a YouTube video: its id (dQw4w9WgXcQ) or one of its links (https://www.youtube.com/watch?v=dQw4w9WgXcQ, https://youtu.be/dQw4w9WgXcQ, a /shorts/ link). |
video_unavailable | 404 | YouTube has no such video (removed, private, or never one). Not charged. |
site_unavailable | 503 | YouTube did not answer properly; retry later (not charged). Retryable. |
unexpected_answer | 424 | YouTube answered in a shape we do not read yet; we are told and fix it (not charged). |
Price
1 credit a call, one video whole. A link costs no more than an id. A video that does not exist and a failed call are free. What a credit costs on each plan: Credits and pricing.
Changelog
1.0.12026-12-03ip_blocked) when none passes. An age-restricted video still gives its record.1.0.02026-12-03