Skip to main content
POST
Add Tasks
Add URLs or inputs to your YouTube Search Scraper squid.
Crawler ID: 2bfd28f2e9d6012d6d557072fda474da

Headers

string
required
Your API authentication token. Value: Token YOUR_API_KEY
string
required
Must be application/json. Value: application/json

Body

string
required
Hash ID of your squid.
array
required
Array of task objects.

Task Fields

string
required
A YouTube video URL, a YouTube channel URL (@handle, /c/Name, /channel/UC…, /user/Name, or a bare custom URL — optionally with a /videos, /shorts, /streams, or /playlists suffix to list that tab instead of the channel’s profile), a hashtag URL, a playlist URL, a YouTube search-results URL, or just plain search-query text. Anything not recognized as a supported YouTube URL is searched verbatim, exactly like typing it into YouTube’s search bar (this deliberately includes non-YouTube URLs, e.g. “google.com” is searched as text, not rejected). Example: https://www.youtube.com/watch?v=dQw4w9WgXcQ

Code Examples

Response

200