Update Settings
Twitter Followers/Following Scraper
Update Settings
Configure the Twitter Followers/Following Scraper settings
POST
Update Settings
Configure your Twitter Followers/Following Scraper squid settings. Choose whether to scrape followers, following, or both for each target account.
Headers
Your API authentication token. Value:
Token YOUR_API_KEYRequest body format. Value:
application/jsonScraper Parameters
Set these parameters in theparams object:
| Parameter | Type | Default | Description |
|---|---|---|---|
| scrape_followers | boolean | false | If true, collect the account’s followers list |
| scrape_following | boolean | false | If true, collect the accounts the user is following |
| max_unique_results_per_run | integer | unlimited | Maximum unique results across all tasks in the run |
Squid Settings
Configure general squid settings:| Setting | Type | Description |
|---|---|---|
| name | string | Display name for your squid configuration |
| concurrency | integer | Number of parallel scraping threads (default: 1) |
| accounts | array | Array of linked Twitter account hashes (required) |
| export_unique_results | boolean | Export only unique results (deduplicated) |
| to_complete | boolean | Run until all tasks complete |
| no_line_breaks | boolean | Remove line breaks from results |
This scraper requires a synced Twitter/X account. Add your Twitter cookies in the Accounts section before running.
Code Examples
Response
201