Twitter Profile Scraper avatar
Twitter Profile Scraper
Try for free

3 days trial then $10.00/month - No credit card required now

View all Actors
Twitter Profile Scraper

Twitter Profile Scraper

epctex/twitter-profile-scraper
Try for free

3 days trial then $10.00/month - No credit card required now

Scrape any Twitter profile of any user. Extract tweets, replies, favorites, retweets, conversation threads and many more without any limit. Gather user related information such as verification, location, profile image, friends, followers, following and much more! No limits on Twitter!

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 mode

Node.js

Python

curl

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  ],
10  "maxTweetsPerUser": 100,
11  "customMapFunction": "(object) => { return {...object} }",
12  "proxy": {
13    "useApifyProxy": true
14  }
15}
16EOF
17
18# Run the Actor using an HTTP API
19# See the full API reference at https://docs.apify.com/api/v2
20curl "https://api.apify.com/v2/acts/epctex~twitter-profile-scraper/runs?token=$API_TOKEN" \
21  -X POST \
22  -d @input.json \
23  -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
  • 133 monthly users
  • 98.7% runs succeeded
  • 0.2 days response time
  • Created in Jul 2022
  • Modified about 16 hours ago