Hyperscrape Store

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%20tutorial

About

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.
maxResults
integer
Cap on videos returned per query (a page holds ~20).(default: 20)
sortBy
select
Result ordering.(default: "relevance")
{
  "queries": [
    "typescript tutorial"
  ],
  "maxResults": 10,
  "sortBy": "relevance"
}

Output fields

querypositionvideoIdurltitledescriptionchannelchannelIdchannelUrlchannelVerifiedviewspublishedTimedurationSecondsthumbnailisLive

Authenticated 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"}'