POST/v1/tasks

Add Tasks

Add YouTube channel URLs to scrape contact emails

Add YouTube channel URLs to scrape contact information including email addresses, social media links, and channel statistics. The scraper extracts data from the channel's About page.

Headers

KeyValueRequired
AuthorizationToken YOUR_API_KEYYes
Content-Typeapplication/jsonYes

Request Body

squid
Type:
string
Required:
Yes
Description:
Hash of your squid configured with the YouTube Channel Email Scraper
tasks
Type:
array
Required:
Yes
Description:
Array of task objects, each containing a `url` field

Task Object

url
Type:
string
Required:
Yes
Description:
YouTube channel URL (e.g., `https://www.youtube.com/c/ChannelName` or `https://www.youtube.com/@handle`)

Supported URL Formats

Custom URL
Example:
`https://www.youtube.com/c/ChannelName`
Handle URL
Example:
`https://www.youtube.com/@channelhandle`
Channel ID
Example:
`https://www.youtube.com/channel/UCxxxxxxxxxxxxxxxx`
User URL
Example:
`https://www.youtube.com/user/username`
Pro Tip

Pro Tip

You can use any YouTube channel URL format - the scraper will resolve it to the correct channel.
Note

Note

Email addresses are only available if the channel owner has made them public in the About section.