๐Ÿฏ Twitter (X) User Scraper (Pay Per Result) avatar
๐Ÿฏ Twitter (X) User Scraper (Pay Per Result)

Pricing

$0.40 / 1,000 users

Go to Store
๐Ÿฏ Twitter (X) User Scraper (Pay Per Result)

๐Ÿฏ Twitter (X) User Scraper (Pay Per Result)

Developed by

API Dojo

API Dojo

Maintained by Community

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.8 (3)

Pricing

$0.40 / 1,000 users

74

Total users

2.7K

Monthly users

329

Runs succeeded

96%

Issues response

1.3 days

Last modified

20 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 token
4// Replace the '<YOUR_API_TOKEN>' with your token
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9// Prepare Actor input
10const 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 finish
34const 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: