ScrapingBee icon

ScrapingBee

Scrape websites using ScrapingBee

Actions16

  • Amazon Pricing API Actions
  • Amazon Product API Actions
  • Amazon Search API Actions
  • ChatGPT API Actions
  • Fast Search API Actions
  • Gemini API Actions
  • Google Search API Actions
  • HTML API Actions
  • Usage Actions
  • Walmart Product API Actions
  • Walmart Search API Actions
  • YouTube Metadata API Actions
  • YouTube Search API Actions
  • YouTube Subtitles API Actions

YouTube Search API → GET

AI-generated

Summary

Search YouTube through ScrapingBee using a required search query, with optional filters for result type, duration, upload date, video features, subtitles, and sort order. The node sends a GET request to ScrapingBee’s YouTube Search API and returns the response based on its content type.

Inputs

  • Search (required) — Search query; defaults to “pizza”.
  • Additional Fields — Optional filters: only 360°, 3D, 4K, HD, HDR, live, location-tagged, Creative Commons, or subtitled results; duration (<4, 4–20, or >20 minutes); result type (channel, movie, playlist, or video); sort order (rating, relevance, view count, or upload date); upload date; and a tag label for the response headers. Unset filters use their defaults and are omitted when empty.

Output shape

One n8n item per input item, containing JSON or binary data depending on the response content type.

For JSON responses, the parsed object is the item’s JSON; invalid JSON is returned as {"raw": "…"}. Text responses use {"data": "…"}. Other content types are returned as binary data, with a JSON directory field. If Continue On Fail is enabled, failures are returned as {"error": "…"}; otherwise the node throws an error.

Links

Discussion