![๐ฏ Twitter (X) User Scraper (Pay Per Result) avatar](https://images.apifyusercontent.com/sk8EaEXKZhwz65-xEE3YMxA0yelC4MXxLXVUOts3dYE/rs:fill:92:92/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vVjM4UFp6cEVnT2ZlZVd2WlkvQzNnT1d0YkJldG8zOEhUcXctdHdpdHRlcnguanBlZw.webp)
๐ฏ Twitter (X) User Scraper (Pay Per Result)
Try for free
Pay $0.30 for 1,000 users
View all Actors![๐ฏ Twitter (X) User Scraper (Pay Per Result)](https://images.apifyusercontent.com/sk8EaEXKZhwz65-xEE3YMxA0yelC4MXxLXVUOts3dYE/rs:fill:92:92/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vVjM4UFp6cEVnT2ZlZVd2WlkvQzNnT1d0YkJldG8zOEhUcXctdHdpdHRlcnguanBlZw.webp)
![๐ฏ Twitter (X) User Scraper (Pay Per Result)](https://images.apifyusercontent.com/sk8EaEXKZhwz65-xEE3YMxA0yelC4MXxLXVUOts3dYE/rs:fill:92:92/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vVjM4UFp6cEVnT2ZlZVd2WlkvQzNnT1d0YkJldG8zOEhUcXctdHdpdHRlcnguanBlZw.webp)
๐ฏ Twitter (X) User Scraper (Pay Per Result)
apidojo/twitter-user-scraper
Try for free
Pay $0.30 for 1,000 users
Introducing Twitter (X) User Scraper, the ultimate solution for direct user extraction from Twitter (X). It offers blazing speed and comprehensiveness, delivering lightning-fast user extraction features.
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 "startUrls": [
8 "https://twitter.com/apify",
9 "https://twitter.com/BillGates",
10 "https://twitter.com/SpaceX/status/1725852544587727145",
11 "https://twitter.com/search?q=elon&src=typed_query"
12 ],
13 "searchTerms": [
14 "elonmusk",
15 "taylorswift13"
16 ],
17 "maxItems": 1000,
18 "twitterHandles": [
19 "elonmusk",
20 "taylorswift13"
21 ],
22 "twitterUserIds": [
23 "44196397",
24 "17919972"
25 ],
26 "customMapFunction": "(object) => { return {...object} }"
27}
28EOF
29
30# Run the Actor using an HTTP API
31# See the full API reference at https://docs.apify.com/api/v2
32curl "https://api.apify.com/v2/acts/apidojo~twitter-user-scraper/runs?token=$API_TOKEN" \
33 -X POST \
34 -d @input.json \
35 -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
- 146 monthly users
- 12 stars
- 98.4% runs succeeded
- 4.4 hours response time
- Created in Nov 2023
- Modified about 12 hours ago
Categories