YouTube Search Scraper API

Extract data at scale using YouTube Search API. Get data from YouTube search results, titles, links, channel names, and thumbnail URLs.

GET / youtube/search
"video_results": [
    {
        "title": "OpenAI co-founder to take the stand in trial involving Elon Musk",
        "link": "https://www.youtube.com/watch?v=59NQElP4pLs",
        "channel": {
            "name": "ABC News",
            "link": "https://www.youtube.com/channel/@ABCNews",
            "thumbnail": "https://yt3.ggpht.com/ytc/AIdro_abc123...",
            "verified": true
        },
        "published_date": "6 hours ago",
        "views": "2,886 views",
        "length": "4:10",
        "description": "ABC News legal contributor James Sample breaks down the case ...",
        "extensions": [
            "New"
        ],
        "thumbnail": {
            "static": "https://i.ytimg.com/vi/59NQElP4pLs/hq720.jpg",
            "rich": "https://i.ytimg.com/an_webp/59NQElP4pLs/mqdefault_6s.webp"
        },
        "position": 1
    }
]

How It Works Behind the API

</> Get
import requests

api_key = "5eaa61a6e562fc52fe763tr516e4653"
url = "https://api.scrapingdog.com/youtube/search"

params = {
    "api_key": api_key,
    "search_query": "elon musk",
    "country": "us"
}

response = requests.get(url, params=params)

if response.status_code == 200:
    data = response.json()
    print(data)
else:
    print(f"Request failed with status code: {response.status_code}")

YouTube Scraper API Response (Structured JSON Data)

Try Scrapingdog for Free
  • Video Details

    titlelinkdescriptionpublished_dateviewslength
  • Channel Info

    channel.namechannel.linkchannel.thumbnailchannel.verified
  • Thumbnails & Badges

    thumbnail.staticthumbnail.richextensionsposition
  • Discovery Shelves

    popular_todaychannels_new_to_youfrom_related_searches
  • Result Set

    video_results
  • Pagination

    pagination.currentpagination.nextpagination.next_page_token

YouTube Scraper API Features That Make Scraping Easy

  • Seamless Integration

    Easily integrate our YouTube Scraper API into your existing systems to enhance your media and content strategies.

  • Advanced Search Capabilities

    Use search_query, country, and language to pinpoint videos by title, channel, or topic.

  • Fast Response Times

    Benefit from exceptionally fast response times with our YouTube Scraper API, ensuring you receive timely data.

  • Continuation Handled For You

    We replay YouTube’s internal browse calls and resolve continuation tokens, so one request returns a clean result set.

  • Consent & Bot Walls Bypassed

    Region consent pages, interstitials, and bot detection are cleared automatically with rotating proxies.

  • Real-Time Video Data

    Every call hits YouTube live, returning the freshest view counts, upload times, and badges instead of cached rankings.

What you can build with a YouTube Scraper API

  • Video Content Analysis

    Analyze the competitive landscape by extracting data on video rankings, views, and engagement metrics.

  • Audience Insights

    Gain a deeper understanding of viewer preferences by analyzing comments, likes, and engagement trends.

  • Influencer Collaboration

    Identify potential partners by analyzing video popularity and engagement rates across channels.

  • Trend Detection in Video Content

    Track emerging topics and viral videos using real-time data to adapt your content strategy.

  • SEO Optimization for Videos

    Optimize your video content by analyzing top-ranking videos' keywords and tags.

  • Marketing Campaign Analysis

    Measure campaign impact by tracking view count and engagement rate changes over time.

Built for teams of every size and background

  • Media Analysts
  • Content Creators
  • Content Strategists
  • Influencer-Marketing Platforms
  • Ad Researchers
  • Brand Monitoring Teams
  • Social Listening Tools
  • Trend Forecasters
  • YouTube SEO Specialists
  • Talent & Sponsorship Scouts
  • Data Scientists
  • Growth Marketers

Get Started with Our YouTube Scraper API in Minutes

  1. 1

    Create free account

    Sign up and get free credits to start testing the YouTube Scraper API.

  2. 2

    Get Your API Key

    Access your unique API key from the dashboard and use it to scrape the data.

  3. 3

    Send Your First Request

    Pass a search_query like "elon musk" plus an optional country code.

  4. 4

    Receive Structured Data

    Get a ranked video_results array with channel, views, and thumbnails as clean JSON.

Transparent & Simple Pricing

Start your web scraping journey with 200 free credits. Test our service and upgrade to one of the plans below. Cancel anytime.

2 months Extra
  • FREE

    $0 forever
    • 200 Requests Credits
    • 1 Concurrency
    • Access To All APIs
    • No Credit Card Required
    • Community Support
    • Team Support
    Start for Free
  • LITE

    $40 /month
    • 200,000 Requests Credits
    • 5 Concurrency
    • Access To All APIs
    • Geotargeting
    • Email Support
    • No Team Support
    Start Trial
  • STANDARD

    $90 /month
    • 1,000,000 Requests Credits
    • 50 Concurrency
    • Access To All APIs
    • Geotargeting
    • Priority Email Support
    • No Team Support
    Start Trial
  • Popular

    PRO

    $200 /month
    • 3,000,000 Requests Credits
    • 100 Concurrency
    • Access To All APIs
    • Geotargeting
    • Priority Email Support
    • Team Support
    Start Trial
  • PREMIUM

    $350 /month
    • 6,000,000 Requests Credits
    • 150 Concurrency
    • Access To All APIs
    • Geotargeting
    • Priority Email Support
    • Team Support
    Start Trial

Trusted by Developers worldwide

4.8 TrustScore on Trustpilot
  • I got the free trial and in less than a minute I already integrated with their API to scrape Google.

    Cara Damiano

    United States

  • I love how you can use it to scrape data from Google.

    Filip Ligaarden

    Norway

  • Scrapingdog is an awesome service. I use it with my Local Leads Sniper system.

    Hector Casanova Loera

    Mexico

  • Reliable, and simple to use! It’s also inexpensive and has packaged solutions for every need (Google, LinkedIn). Highly recommend.

    John Tyler

    France

Frequently Asked Questions

  • You can extract titles, links, channel names, thumbnail URLs and more structured YouTube data using a simple API call.

  • Scrapingdog provides Instagram, Facebook, X, YouTube Transcript, LinkedIn Profile, and LinkedIn Jobs scraper APIs.

  • This API focuses on extracting titles, likes, views, and upload details. You can extract transcripts using our YouTube Transcript API.

  • Each API request consumes a certain number of credits based on the dedicated API you're using. For example the Google Search API costs 5 credits per request. So, if you make one request to the Google Search API, it will deduct 5 credits from the available credits in your account.

Try Scrapingdog for Free!

Get 200 free credits to spin the API. No credit card required!