Plugins

Search YouTube

Searches YouTube for query and returns the results as JSON. For each video: videoId, title, url, channel (name/id/url), publishedText, viewCount (+ text), lengthSeconds (+ text), thumbnails, descriptionSnippet, badges, verified and isLive. Filter with type (video / channel / playlist / all) and sort (relevance / date / views / rating), and collect up to max_results across pages.

post/content/youtube-search

Request

  • Base URL: https://api.scrapeunblocker.com
  • URL: https://api.scrapeunblocker.com/content/youtube-search
  • Auth: API key in header x-scrapeunblocker-key

Query parameters

querystring required

Search terms.

max_resultsinteger

How many results to collect across pages (~20 per page).

typestring

Result type: video, channel, playlist, movie, all.

sortstring

Ordering: relevance, rating, date, views.

proxy_countrystring nullable

Proxy country the request is sent from (ISO-2, e.g. 'US', 'DE'). Defaults to US.

Response

JSON with a results array plus totals.

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.