Scrape Users Script Configuration
The scrape_users script exports usernames from the follower list, following list, or account search UI. It is available on TikTok, Instagram, and Threads in the Pro build and runs through a connected Android device.
Script Configuration (script_config)
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| mode | string | No | followers | followers, following, or keyword |
| target_username | string | Conditional | "" | Account whose followers/following list should be opened |
| search_keyword | string | Conditional | "" | Search query used when mode is keyword |
| max_scrape_count | integer | No | 50 | Maximum new usernames to export (1–10,000) |
target_username is required for followers and following. search_keyword is required for keyword.
Example: Threads followers
curl -X POST http://localhost:50809/api/v1/task \
-H "Content-Type: application/json" \
-d '{
"serials": ["device_serial_1"],
"script_name": "scrape_users",
"platform": "threads",
"script_config": {
"mode": "followers",
"target_username": "@creator",
"max_scrape_count": 50
}
}'