POST/v1/tasks

Add Tasks

Add Twitter profile scraping tasks by screen name

Add Twitter profiles to scrape by providing their screen names (usernames). Each task will retrieve detailed profile information for the specified user.

Headers

KeyValueRequired
AuthorizationToken YOUR_API_KEYYes
Content-Typeapplication/jsonYes

Request Body

squid
Type:
string
Required:
Yes
Description:
Hash of your squid configured with the Twitter Profile Scraper
tasks
Type:
array
Required:
Yes
Description:
Array of task objects, each containing a `screen_name` field

Task Object

screen_name
Type:
string
Required:
Yes
Description:
Twitter username without the @ symbol (e.g., `elonmusk`)
Pro Tip

Pro Tip

You can add multiple screen names in a single request to scrape several profiles at once.
Note

Note

The screen_name should not include the @ symbol - use `elonmusk` not `@elonmusk`.