POST
/v1/tasksAdd Tasks
Add Twitter user tweets scraping tasks by screen nameAdd Twitter users to scrape tweets from by providing their screen names (usernames). The scraper will retrieve tweets from the specified user's timeline.
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 User Tweets 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 tweets from several users at once.
Note
The screen_name should not include the @ symbol - use `elonmusk` not `@elonmusk`.