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.
"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
}
]"popular_today": [
{
"title": "I Survived 100 Days in Hardcore Minecraft",
"link": "https://www.youtube.com/watch?v=8edsg9D1234",
"channel": { "name": "PewDiePie", "verified": true },
"views": "12,401,233 views",
"position": 1
}
],
"channels_new_to_you": [
{
"name": "Veritasium",
"link": "https://www.youtube.com/@veritasium",
"subscribers": "16.2M subscribers",
"thumbnail": "https://yt3.ggpht.com/..."
}
],
"from_related_searches": [
{
"query": "elon musk interview 2025",
"link": "https://www.youtube.com/results?search_query=elon+musk+interview+2025"
}
]"pagination": {
"current": 1,
"next": 2,
"next_page_token": "EpEDEgllbG9uIG11c2sa..."
}How It Works Behind the API
import requests
api_key = "APIKEY"
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}"){
"video_results": [
{
"title": "…",
"link": "…",
"channel": { … }
}, …
]
}YouTube Scraper API Response (Structured JSON Data)
Video Details
titlelinkdescriptionpublished_dateviewslengthChannel Info
channel.namechannel.linkchannel.thumbnailchannel.verifiedThumbnails & Badges
thumbnail.staticthumbnail.richextensionspositionDiscovery Shelves
popular_todaychannels_new_to_youfrom_related_searchesResult Set
video_resultsPagination
pagination.currentpagination.nextpagination.next_page_tokenYouTube 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
Get Started with Our YouTube Scraper API in Minutes
- 1
Create free account
Sign up and get free credits to start testing the YouTube Scraper API.
- 2
Get Your API Key
Access your unique API key from the dashboard and use it to scrape the data.
- 3
Send Your First Request
Pass a search_query like "elon musk" plus an optional country code.
- 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 100 free credits. Test our service and upgrade to one of the plans below. Cancel anytime.
FREE
- 100 Requests Credits
- 1 Concurrency
- Access To All APIs
- No Credit Card Required
- Community Support
- Team Support
LITE
- 200,000 Requests Credits
- 5 Concurrency
- Access To All APIs
- Geotargeting
- Email Support
- No Team Support
STANDARD
- 1,000,000 Requests Credits
- 50 Concurrency
- Access To All APIs
- Geotargeting
- Priority Email Support
- No Team Support
PRO
- 3,000,000 Requests Credits
- 100 Concurrency
- Access To All APIs
- Geotargeting
- Priority Email Support
- Team Support
PREMIUM
- 6,000,000 Requests Credits
- 150 Concurrency
- Access To All APIs
- Geotargeting
- Priority Email Support
- Team Support
BUSINESS
- 9,000,000 Requests Credits
- 200 Concurrency
- Access To All APIs
- Geotargeting
- Priority Email Support
- Team Support
BUSINESS PLUS
- 19,000,000 Requests Credits
- 250 Concurrency
- Access To All APIs
- Geotargeting
- Priority Email Support
- Team Support
BUSINESS PRO
- 29,000,000 Requests Credits
- 300 Concurrency
- Access To All APIs
- Geotargeting
- Priority Email Support
- Team Support
CORPORATE
- 42,000,000 Requests Credits
- 350 Concurrency
- Access To All APIs
- Geotargeting
- Priority Email Support
- Team Support
CORPORATE PLUS
- 55,000,000 Requests Credits
- 400 Concurrency
- Access To All APIs
- Geotargeting
- Priority Email Support
- Team Support
CORPORATE PRO
- 65,000,000 Requests Credits
- 450 Concurrency
- Access To All APIs
- Geotargeting
- Priority Email Support
- Team Support
ENTERPRISE STARTER
- 90,000,000 Requests Credits
- 500 Concurrency
- Access To All APIs
- Geotargeting
- Priority Email Support
- Team Support
ENTERPRISE PLUS
- 120,000,000 Requests Credits
- 600 Concurrency
- Access To All APIs
- Geotargeting
- Dedicated Support
- Team Support
ENTERPRISE PRO
- 150,000,000 Requests Credits
- 650 Concurrency
- Access To All APIs
- Geotargeting
- Dedicated Support
- Team Support
GLOBAL STARTER
- 185,000,000 Requests Credits
- 700 Concurrency
- Access To All APIs
- Geotargeting
- Dedicated Support
- Team Support
GLOBAL PLUS
- 220,000,000 Requests Credits
- 800 Concurrency
- Access To All APIs
- Geotargeting
- Dedicated Support
- Team Support
GLOBAL PRO
- 255,000,000 Requests Credits
- 850 Concurrency
- Access To All APIs
- Geotargeting
- Dedicated Support
- Team Support
GLOBAL ELITE
- 295,000,000 Requests Credits
- 900 Concurrency
- Access To All APIs
- Geotargeting
- Dedicated Support
- Team Support
ULTRA STARTER
- 360,000,000 Requests Credits
- 1,000 Concurrency
- Access To All APIs
- Geotargeting
- Dedicated Account Manager
- Team Support
ULTRA PLUS
- 430,000,000 Requests Credits
- 1,200 Concurrency
- Access To All APIs
- Geotargeting
- Dedicated Account Manager
- Team Support
ULTRA PRO
- 500,000,000 Requests Credits
- 1,300 Concurrency
- Access To All APIs
- Geotargeting
- Dedicated Account Manager
- Team Support
TITAN STARTER
- 580,000,000 Requests Credits
- 1,400 Concurrency
- Access To All APIs
- Geotargeting
- Dedicated Account Manager
- Team Support
TITAN PLUS
- 660,000,000 Requests Credits
- 1,500 Concurrency
- Access To All APIs
- Geotargeting
- Dedicated Account Manager
- Team Support
TITAN PRO
- 740,000,000 Requests Credits
- 1,700 Concurrency
- Access To All APIs
- Geotargeting
- Dedicated Account Manager
- Team Support
TITAN ELITE
- 830,000,000 Requests Credits
- 1,800 Concurrency
- Access To All APIs
- Geotargeting
- Dedicated Account Manager
- Team Support
NOVA STARTER
- 920,000,000 Requests Credits
- 1,900 Concurrency
- Access To All APIs
- Geotargeting
- Dedicated Account Manager
- Team Support
NOVA PLUS
- 1,010,000,000 Requests Credits
- 2,000 Concurrency
- Access To All APIs
- Geotargeting
- Dedicated Account Manager
- Team Support
NOVA PRO
- 1,100,000,000 Requests Credits
- 2,200 Concurrency
- Access To All APIs
- Geotargeting
- Dedicated Account Manager
- Team Support
Trusted by Developers worldwide
4.8 TrustScoreI got the free trial and in less than a minute I already integrated with their API to scrape Google.
I love how you can use it to scrape data from Google.
Scrapingdog is an awesome service. I use it with my Local Leads Sniper system.
Reliable, and simple to use! It’s also inexpensive and has packaged solutions for every need (Google, LinkedIn). Highly recommend.
Frequently Asked Questions
What data can I extract using Scrapingdog's YouTube Scraper API?
You can extract titles, links, channel names, thumbnail URLs and more structured YouTube data using a simple API call.
What other social media APIs does Scrapingdog have?
Scrapingdog provides Instagram, Facebook, X, YouTube Transcript, LinkedIn Profile, and LinkedIn Jobs scraper APIs.
Can I scrape YouTube video comments or transcripts with this API?
This API focuses on extracting titles, likes, views, and upload details. You can extract transcripts using our YouTube Transcript API.
What's the difference between credits and requests?
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 100 free credits to spin the API. No credit card required!