Make a request
Send the page’s URL to scrape with ajson format that names the parser. This parser works without an API key when you send no options, up to 10 calls a minute and 50 calls a day per IP address. See Rate limits. To lift the limits, get an API key in the Quickstart.
Read the response
The parser’s data is indata.json. Its fields include id, url, title, description, author, publishedAt, durationSeconds, views, likes, comments, thumbnailUrl and hashtags. This sample is cut to the first items.
Options
This parser takes no options.Price
$1 per 1,000 calls. Works without an API key, within the free limits. See Pricing.Limits and errors
- The URL must be a YouTube video link: watch, youtu.be, shorts or live. Any other URL fails with
invalidRequest. - The answer comes back in
data.json. If the page cannot be read, the call fails with an error code from Errors.
Related
- Pre-built parsers lists every parser.
- Scrape has the options every scrape takes.
- YouTube search
- YouTube transcript
- YouTube comments