Best Twitter Scraper avatar
Best Twitter Scraper
Try for free

No credit card required

View all Actors
Best Twitter Scraper

Best Twitter Scraper

Try for free

No credit card required

Twitter scraper that scrapes the latest Twitter content of any user. Since you need to be logged in to Twitter to crawl, you need to provide a Twitter account. Twitter 抓取器,可以抓取任意用户最新的Twitter内容。 因为需要先登录 Twitter 才能抓取,所以需要提供一个 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 more

1# Set API token
4# Prepare Actor input
5cat > input.json <<'EOF'
7  "login_user": "HuZhang18851",
8  "login_password": "r7pkkp22",
9  "names": [
10    "elonmusk"
11  ],
12  "tweet_urls": [],
13  "search_urls": []
17# Run the Actor using an HTTP API
18# See the full API reference at
19curl "$API_TOKEN" \
20  -X POST \
21  -d @input.json \
22  -H 'Content-Type: application/json'
Maintained by Community
Actor metrics
  • 33 monthly users
  • 1 star
  • 9.4% runs succeeded
  • 3.8 days response time
  • Created in Aug 2023
  • Modified 10 months ago