POST
/v1/tasksAdd Tasks
Add YouTube channel URLs to scrape contact emailsAdd 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
| Key | Value | Required |
|---|---|---|
| Authorization | Token YOUR_API_KEY | Yes |
| Content-Type | application/json | Yes |
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
You can use any YouTube channel URL format - the scraper will resolve it to the correct channel.
Note
Email addresses are only available if the channel owner has made them public in the About section.