Twitter Users Scraper avatar
Twitter Users Scraper
Try for free

6 hours trial then $15.00/month - No credit card required now

View all Actors
Twitter Users Scraper

Twitter Users Scraper

web.harvester/twitter-users-scraper
Try for free

6 hours trial then $15.00/month - No credit card required now

Leverage our Twitter User Scraper to seamlessly search and extract user data, or directly scrape user information by providing a profile URL or username. Export your data in formats like JSON and Excel, perfect for integration with various applications, databases, and social media analytics tools.

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more

1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7  "handles": [
8    "elonmusk"
9  ],
10  "userQueries": [],
11  "profilesDesired": 10,
12  "proxyConfig": {
13    "useApifyProxy": true,
14    "apifyProxyGroups": [
15      "RESIDENTIAL"
16    ]
17  }
18}
19EOF
20
21# Run the Actor using an HTTP API
22# See the full API reference at https://docs.apify.com/api/v2
23curl "https://api.apify.com/v2/acts/web.harvester~twitter-users-scraper/runs?token=$API_TOKEN" \
24  -X POST \
25  -d @input.json \
26  -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
  • 10 monthly users
  • 2 stars
  • 100.0% runs succeeded
  • Created in Sep 2023
  • Modified 27 days ago