
🏯 Twitter (X) User Scraper (Pay Per Result)
Pricing
$0.40 / 1,000 users

🏯 Twitter (X) User Scraper (Pay Per Result)
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.
4.7 (3)
Pricing
$0.40 / 1,000 users
64
Total users
2.3k
Monthly users
211
Runs succeeded
98%
Issue response
4.8 hours
Last modified
17 hours ago
You can access the 🏯 Twitter (X) User Scraper (Pay Per Result) programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.
1import { ApifyClient } from 'apify-client';2
3// Initialize the ApifyClient with your Apify API token4// Replace the '<YOUR_API_TOKEN>' with your token5const client = new ApifyClient({6 token: '<YOUR_API_TOKEN>',7});8
9// Prepare Actor input10const input = {11 "startUrls": [12 "https://twitter.com/apify",13 "https://twitter.com/BillGates",14 "https://twitter.com/SpaceX/status/1725852544587727145",15 "https://twitter.com/search?q=elon&src=typed_query"16 ],17 "searchTerms": [18 "elonmusk",19 "taylorswift13"20 ],21 "maxItems": 1000,22 "twitterHandles": [23 "elonmusk",24 "taylorswift13"25 ],26 "twitterUserIds": [27 "44196397",28 "17919972"29 ],30 "customMapFunction": (object) => { return {...object} }31};32
33// Run the Actor and wait for it to finish34const run = await client.actor("apidojo/twitter-user-scraper").call(input);35
36// Fetch and print Actor results from the run's dataset (if any)37console.log('Results from dataset');38console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);39const { items } = await client.dataset(run.defaultDatasetId).listItems();40items.forEach((item) => {41 console.dir(item);42});43
44// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs
🏯 Twitter (X) User Scraper (Pay Per Result) API in JavaScript
The Apify API client for JavaScript is the official library that allows you to use 🏯 Twitter (X) User Scraper (Pay Per Result) API in JavaScript or TypeScript, providing convenience functions and automatic retries on errors.
Install the apify-client
$npm install apify-client
Other API clients include: