Scrapingdog

YouTube Video API

The YouTube Video API lets you scrape detailed metadata for any YouTube video including title, views, likes, description, keywords, channel info, key moments, and chapters. Each successful request costs 5 API credits.

Endpoint: https://api.scrapingdog.com/youtube

API Parameters

πŸ”‘

Scrapingdog Parameters

  • api_key Required
    Your personal API key. Available on your dashboard.

    Type: String
🎬

Video

  • video_id Required
    The YouTube Video ID. Found in the video URL after ?v= (e.g., for youtube.com/watch?v=0e3GPea1Tyg, the ID is 0e3GPea1Tyg).

    Type: String
🌍

Localization

  • country Optional
    This parameter specifies the country for the YouTube Videos using a two-letter country code (e.g., us for the United States, uk for the United Kingdom, or fr for France). Default: us

    Type: String
  • language Optional
    Language of the results. Possible Values β€” en, es, fr, de, etc. Default: en

    Type: String

API Examples

API result preview
Code to Integrate
curl "https://api.scrapingdog.com/youtube?api_key=APIKEY&video_id=0e3GPea1Tyg"
API Response
{
  "video": {
    "id": "tj7Sd7fs6JQ",
    "title": "Model S & X Signature Delivery Event",
    "views": "357,259 views",
    "likes": null,
    "author": "Tesla",
    "published_time": "Streamed live on May 20, 2026",
    "description": "Model S & X changed automotive history forever by proving that an EV could be the best car possible – of any kind.",
    "keywords": [
      "video",
      "sharing",
      "camera phone",
      "video phone",
      "free",
      "upload"
    ],
    "thumbnail": "https://i.ytimg.com/vi/tj7Sd7fs6JQ/maxresdefault.jpg"
  },
  "channel": {
    "id": "UCKDzDLnM159t11IaUa9TiYQ",
    "name": "Tesla",
    "link": "https://www.youtube.com/@tesla",
    "subscribers": "2.94M subscribers",
    "featured_channel": {
      "id": "UCKDzDLnM159t11IaUa9TiYQ",
      "name": "Tesla",
      "link": "https://www.youtube.com/@tesla"
    },
    "thumbnail": "https://yt3.ggpht.com/YMRZbg8UjcGgiFOj4qxIWynU..."
  },
  "comment": {
    "total": "1.8K"
  },
  "key_moments": [],
  "chapters": []
}