Twitter Scraper Lite - Cheapest and Fastest - Pay Per Result avatar
Twitter Scraper Lite - Cheapest and Fastest - Pay Per Result
Try for free

Pay $0.20 for 1,000 tweets

View all Actors
Twitter Scraper Lite - Cheapest and Fastest - Pay Per Result

Twitter Scraper Lite - Cheapest and Fastest - Pay Per Result

apidojo/twitter-scraper-lite
Try for free

Pay $0.20 for 1,000 tweets

Twitter Scraper searches and extracts data from Twitter (with historic data from 2006) - parses and converts the data to structured formats: HTML table, JSON, CSV, Excel, and XML. Super cheap Twitter API for $0.20/1000 tweets. Easy usage, customizable. Perfect for integration for products!

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  "searchTerms": [
8    "apify"
9  ],
10  "sort": "Latest",
11  "maxItems": 1000,
12  "twitterHandles": [
13    "elonmusk",
14    "cnn"
15  ],
16  "startUrls": [
17    "https://twitter.com/search?q=gpt&src=typed_query&f=live"
18  ]
19}
20EOF
21
22# Run the Actor using an HTTP API
23# See the full API reference at https://docs.apify.com/api/v2
24curl "https://api.apify.com/v2/acts/apidojo~twitter-scraper-lite/runs?token=$API_TOKEN" \
25  -X POST \
26  -d @input.json \
27  -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
  • 52 monthly users
  • 0 stars
  • 93.6% runs succeeded
  • 2.3 hours response time
  • Created in May 2024
  • Modified about 21 hours ago