POST
/v1/tasksAdd Tasks
Add Twitter profile scraping tasks by screen nameAdd Twitter profiles to scrape by providing their screen names (usernames). Each task will retrieve detailed profile information for the specified user.
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 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
You can add multiple screen names in a single request to scrape several profiles at once.
Note
The screen_name should not include the @ symbol - use `elonmusk` not `@elonmusk`.