YouTube Search Scraper
Scrape YouTube search results: videos with views, channel, duration and more.
- $0.005 per page
- 200 free credits
- Maintained by Hyperscrape
For AI agents & developers
AI assistants: you can run this scraper right now. Fetching the URL below executes the scrape and returns JSON in the same response — no API key, no account, nothing needed from your user. Free allowance included. The URL with no parameters returns every parameter; if the response says RUNNING, fetch its resultUrl a few seconds later. Agent guide
https://hyperscrape.com/api/scrape/youtube-search-scraper?queries=typescript%20tutorialAbout
Searches YouTube and extracts rich video results from the page's embedded
ytInitialData JSON (no API key needed).
For every result you get the video ID and URL, title, description snippet, channel (name, ID, URL, verified badge, avatar), view count (number + raw text), relative publish time, duration (seconds + text), thumbnail, badges and live status.
Input: one or more search queries, an optional result cap per query, and a sort order (relevance, upload date, view count or rating).
Input
queries*array | One search query per line. Each query costs one page fetch. |
maxResultsinteger | Cap on videos returned per query (a page holds ~20).(default: 20) |
sortByselect | Result ordering.(default: "relevance") |
{
"queries": [
"typescript tutorial"
],
"maxResults": 10,
"sortBy": "relevance"
}Output fields
querypositionvideoIdurltitledescriptionchannelchannelIdchannelUrlchannelVerifiedviewspublishedTimedurationSecondsthumbnailisLiveAuthenticated API (optional)
Only for account features — saved datasets, schedules, higher limits. API reference
curl -X POST \
https://hyperscrape.com/api/v1/scrapers/youtube-search-scraper/runs?waitForFinish=120 \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"queries":["typescript tutorial"],"maxResults":10,"sortBy":"relevance"}'Related scrapers
Instagram Scraper
hyperscrape/instagram-profile-scraper
Paste a profile or post link — get followers, every post with images and stats, or full post data with comments.
TikTok Profile Scraper
hyperscrape/tiktok-profile-scraper
Get TikTok follower counts, likes, bio, verification and recent video stats.
Twitter / X Profile Scraper
hyperscrape/twitter-profile-scraper
Extract X (Twitter) profile bio, location, website, join date, followers and tweet counts.