# Twitter Phone Number Scraper (`contacts-api/twitter-phone-number-scraper`) Actor

Extract public contact numbers from Twitter profiles using our Twitter Phone Number Scraper. Ideal for lead generation, outreach, and growth-focused marketing.

- **URL**: https://apify.com/contacts-api/twitter-phone-number-scraper.md
- **Developed by:** [Lead Heaven](https://apify.com/contacts-api) (community)
- **Categories:** Lead generation, Social media, Other
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$4.99/month + usage

To use this Actor, you pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period.You also pay for the Apify platform usage, which gets cheaper the higher Apify subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#rental-actors

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

### 🐦 Twitter Phone Number Scraper - Fast, Advanced & Cheapest

Welcome to the ultimate tool for supercharging your Twitter lead generation efforts: the **Twitter Phone Number Scraper**. Designed with speed, affordability, and advanced filtering capabilities, this actor is perfect for extracting verified phone numbers from Twitter profiles in just minutes. Say goodbye to manual research and hello to automated success.

Whether you're a digital marketer, recruiter, sales professional, business owner, or growth hacker, this tool empowers you to bypass gatekeepers and gain direct access to decision-makers. With **keyword and location-based targeting**, you can craft highly specific campaigns that deliver real results.

Stop wasting time on outdated methods. With the **Twitter Phone Number Scraper**, you can unlock new opportunities, build connections faster, and achieve your business goals—all while saving time and money.

***

### 📥 Input Parameters Guide

To get started, simply provide the following parameters in your input configuration:

| Parameter         | Type             | Description                                                   | Default   | Best Practice                                    |
|-------------------|------------------|---------------------------------------------------------------|-----------|-------------------------------------------------|
| `keywords`        | Required array   | Core search terms (e.g., "marketing", "CEO").              | None      | Use descriptive, role-specific keywords.        |
| `location`        | Optional string  | Geo-targeting for more precise results.                       | None      | Specify cities or regions for targeted outreach.|
| `country`         | Required string  | Select the country to target (e.g., "United States (+1)"). | None      | Use country codes for accurate filtering.       |
| `maxPhoneNumbers` | Optional integer | Limit the number of phone numbers extracted.                  | 100       | Set a comfortable limit to optimize speed.      |

#### Example Input Configuration

```json
{
  "keywords": ["marketing", "CEO"],
  "location": "New York",
  "country": "United States (+1)",
  "maxPhoneNumbers": 50
}
```

***

### 📤 Output Data Structure

The output data is delivered in clean, structured formats (JSON/CSV), making it easy to integrate into your workflows.

| Field           | Description                             | Importance |
|------------------|-----------------------------------------|------------|
| `keyword`       | The search term used in the query.      | High       |
| `title`         | Name or business title.                 | Medium     |
| `description`   | The Twitter bio or profile summary.     | Medium     |
| `url`           | Link to the Twitter profile.            | High       |
| `phone_number`  | Extracted phone number.                 | High       |
| `country`       | The country associated with the profile.| Medium     |
| `dial_code`     | Country-specific dialing code.          | Low        |

#### Example Output JSON

```json
[
  {
    "keyword": "CEO",
    "title": "John Doe",
    "description": "Founder at Tech Innovators",
    "url": "https://twitter.com/johndoe",
    "phone_number": "+1 123-456-7890",
    "country": "United States",
    "dial_code": "+1"
  }
]
```

***

### 🌟 Why Choose Our Twitter Phone Number Scraper?

#### 1. ⚡ Unmatched Speed and Efficiency

Our scraper processes data at lightning speed, giving you results in record time. Scale your campaigns effortlessly with the fastest Twitter phone number extraction tool available.

#### 2. 🎯 Highly Targeted Search Results

Leverage keyword and location-based targeting to extract only the most relevant phone numbers. This is marketing automation for Twitter data at its finest.

#### 3. 💰 The Most Affordable Solution on the Market

We pride ourselves on being the **cheapest** phone number scraper available, without compromising on quality or features. Maximize your ROI with cost-effective lead generation.

#### 4. 🌍 Global Reach and Scalability

Extract data from any country worldwide. Whether you're targeting B2B leads in the US, Europe, or Asia, our scraper has you covered.

#### 5. 🌐 Global Country Support

Easily filter results by country, ensuring compliance with local dialing codes and regulations for seamless outreach.

#### 6. 🛡️ Robust and Reliable

Built with advanced algorithms, our scraper ensures accurate, reliable, and secure data extraction every time.

***

### 🛠️ How It Works

1. Input your **keywords**, **location**, and **country** parameters.
2. Define the **maximum number of phone numbers** you want to extract.
3. Start the scraper and let it process Twitter data in real-time.
4. Download your results in JSON or CSV format.
5. Integrate the extracted data into your CRM or outreach tools for action.

***

### 💡 Practical Use Cases for Your Business

#### 1. Recruitment

Find and connect with top talent directly by extracting phone numbers of professionals in your niche.

#### 2. Sales Prospecting

Generate high-quality B2B leads from Twitter to fuel your cold outreach campaigns.

#### 3. Marketing Automation

Build targeted campaigns using contact data from Twitter influencers, business owners, and decision-makers.

***

### 📈 Maximizing Your ROI: Best Practices for Cold Outreach

- Personalize your messages to stand out.
- Use engaging subject lines to improve open rates.
- Follow up with leads who don't respond initially.
- Leverage CRM tools for tracking and automation.
- Respect user privacy by adhering to legal guidelines.

***

### ❓ Frequently Asked Questions (FAQ)

**1. Is this scraper legal to use?**
Yes, our scraper only collects publicly available data from Twitter profiles.

**2. How fast is the scraper?**
It processes data in real-time, delivering results in minutes.

**3. Can I filter by location?**
Yes, you can use the `location` parameter to target specific cities or regions.

**4. How accurate is the data?**
We use advanced algorithms to ensure high accuracy, but results depend on the availability of public information.

**5. Can I integrate the data into my CRM?**
Absolutely! The data is delivered in JSON/CSV formats for easy integration.

**6. How much does it cost?**
We offer the most affordable pricing in the market. Contact us for details.

**7. Do I need proxies?**
We recommend using residential proxies for optimal performance and reliability.

***

### 🔧 Troubleshooting Common Issues

- **0 results:** Broaden your keywords or reduce filters.
- **Slow processing:** Lower the `maxPhoneNumbers` parameter.
- **No results found:** Not all profiles have publicly available phone numbers.

***

### 📞 Support, Feedback & Custom Solutions

Need assistance or have specific requirements? We're here to help!

**Email Us:** **<leadheavencontact@gmail.com>**

***

#### Key Features Summary

- ✅ Fast and reliable.
- ✅ Cost-effective.
- ✅ Highly targeted.
- ✅ Clean, structured data.
- ✅ Global country support.
- ✅ Compliant with public data policies.
- ✅ Expert support team.

Start identifying new business opportunities today with the **Twitter Phone Number Scraper**!

# Actor input Schema

## `keywords` (type: `array`):

Enter keywords to search for (e.g., 'Target Keyword').

## `location` (type: `string`):

Filter by location (e.g., 'London', 'California'). Leave empty for global search.

## `country` (type: `string`):

Select the country to target for phone numbers.

## `maxPhoneNumbers` (type: `integer`):

Stop scraping after this many phone numbers are found. Setting a higher limit extends the scraping duration.

## Actor input object example

```json
{
  "keywords": [
    "marketing",
    "founder"
  ],
  "country": "United Kingdom (+44)",
  "maxPhoneNumbers": 20
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "keywords": [
        "marketing",
        "founder"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("contacts-api/twitter-phone-number-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "keywords": [
        "marketing",
        "founder",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("contacts-api/twitter-phone-number-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "keywords": [
    "marketing",
    "founder"
  ]
}' |
apify call contacts-api/twitter-phone-number-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=contacts-api/twitter-phone-number-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/J5odj4YhLsnhcNufW/builds/y3xeqPRzVb56dm0kr/openapi.json
