# Xing Phone Number Scraper - Country Filter & Carrier Data (`code-beat/xing-phone-number-scraper-fast-and-reliable`) Actor

🟢 XING Phone Number Scraper pulls professional and recruiter contact numbers at scale with country filtering and carrier data. ✅ Validated, line-typed results. 🇩🇪 Built for DACH B2B sales & German recruitment outreach.

- **URL**: https://apify.com/code-beat/xing-phone-number-scraper-fast-and-reliable.md
- **Developed by:** [Code Beat](https://apify.com/code-beat) (community)
- **Categories:** Lead generation, Automation, Jobs
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## 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

### Xing Phone Number Scraper 📞

**Xing Phone Number Scraper** helps you find phone numbers from publicly available Xing profiles, bios, and posts using keywords and country targeting. It’s built for marketers, recruiters, sales pros, and researchers who need faster Xing lead generation, a practical Xing contact scraper, and scalable Xing data extraction without manual prospecting.

### 🌟 Key Features of Xing Phone Number Scraper

| Feature | Benefit |
|---|---|
| ✅ **Keyword-Based Targeting** | Uses your keywords to surface relevant Xing profiles for more focused prospecting |
| ✅ **Country Selection** | Helps you narrow results to a specific country and its dialing code |
| ✅ **Location Filtering** | Lets you further refine searches by location for more accurate Xing contact scraping |
| ✅ **Bulk Extraction** | Supports larger Xing lead generation runs without manual copy-paste work |
| ✅ **Result Deduplication** | Avoids repeating the same phone number, keeping your Xing sales leads cleaner |
| ✅ **Progress Saving** | Stores progress so longer runs can resume more smoothly |
| ✅ **Incremental Dataset Saving** | Saves results as they are found, reducing the risk of losing data during long jobs |
| ✅ **Built-In Proxy Support** | Improves reliability when scraping publicly available data at scale |

### 📥 Input — Xing Phone Number Scraper Parameters

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

| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| `keywords` | Array | Yes | `["marketing","founder"]` | Keywords used to find relevant Xing profiles, bios, and posts. |
| `location` | String | No | `""` | Optional location filter such as a city or region. Leave it empty for a broader search. |
| `country` | String | Yes | `United Kingdom (+44)` | Country to target for phone number extraction. |
| `maxPhoneNumbers` | Integer | No | `20` | Stops the run after this many unique phone numbers are found. Higher values can increase run time. |

### 📤 Output — What Xing Phone Number Scraper Returns

The actor saves each result as a JSON record in your Apify dataset.

```json
{
  "keyword": "marketing",
  "title": "Anna Müller",
  "description": "Digital marketing consultant helping B2B teams improve lead generation and customer retention.",
  "url": "https://www.xing.com/profile/Anna_Mueller",
  "phone_number": "+44 20 7946 0958",
  "country": "United Kingdom",
  "dial_code": "+44"
}
```

| Field | Label | Format | Description |
|---|---|---|---|
| `keyword` | Keyword | text | The keyword that led to this result. |
| `title` | Title | text | The profile or page title returned in the dataset. |
| `description` | Description | text | The visible description or summary associated with the result. |
| `url` | Url | link | Direct link to the Xing page where the phone number was found. |
| `phone_number` | Phone Number | text | The phone number captured from publicly available content. |
| `country` | Country | text | The selected country for the run. |
| `dial_code` | Dial Code | text | The dialing code associated with the selected country. |

### 💻 How to Use Xing Phone Number Scraper — Step-by-Step

1. **Open the Actor** — Find **Xing Phone Number Scraper** in the Apify Store.
2. **Enter Keywords** — Add one or more keywords that match the Xing profiles you want to scrape.
3. **Set a Country** — Choose the country you want to target for phone number extraction.
4. **Add a Location Filter** — Optionally narrow the search to a city or region.
5. **Set Max Phone Numbers** — Limit the total number of unique phone numbers collected in one run.
6. **Run the Actor** — Start the actor and watch the logs as it collects results.
7. **Export Results** — Download the dataset once the run is complete.

No coding required — ideal for fast Xing phone lookup and scalable Xing prospecting tool workflows.

### 💡 Best Use Cases for Xing Phone Number Scraper

- 🎯 **Xing Lead Generation** — Build targeted Xing sales leads from publicly available profile data.
- 📣 **Outreach Lists** — Create contact lists for sales, partnerships, and recruitment.
- 🔬 **Xing Contact Enrichment** — Add phone numbers to existing lead records.
- 📊 **Market Research** — Study professionals, roles, and industries visible on Xing.
- 🤝 **Prospecting Workflows** — Speed up manual research with a practical Xing automation tool.

### Disclaimer

This actor only accesses publicly available data on Xing. It does not scrape private profiles, authenticated content, or password-protected pages. Users are responsible for making sure their use complies with Xing’s Terms of Service, GDPR, CCPA, and applicable anti-spam laws. This tool is intended for legitimate purposes only, including research, lead generation, and marketing in compliance with local regulations. For data-removal requests, contact 📧 <codebeatapi@gmail.com>.

### 🆘 Support & Feedback

Have a question or found an issue with the **Xing Phone Number Scraper**? We're here to help.

- 🐞 **Bug Reports:** Reach out if you notice an issue with scraping or output formatting
- ✨ **Custom Solutions & Feature Requests:** Contact us for help with specialized Xing data extraction needs
- 📧 **Email:** <codebeatapi@gmail.com>

Your feedback helps improve the Xing phone number scraper for everyone.

### Country & Time Targeting

**Target Country** did two jobs already: it supplies the dial code the search
looks for, and it is the region numbers are parsed against. It now does a third

- Google is asked to answer as if searching from that country (`gl`). Turn on
  **Strict country filter** to also restrict results to pages Google attributes to
  it (`cr=countryXX`); that is much tighter and returns noticeably fewer results.

**Result Language** restricts results to one language (`hl` + `lr`).

**Time Range** limits results to a publication window - past hour, 24 hours,
week, month, year, or an explicit *Custom range* via **Custom range: from** /
**to** in `YYYY-MM-DD` form. Selecting *Custom range* without either date falls
back to no time filter rather than silently searching all of time.

### Region resolution

| Field | Meaning |
| --- | --- |
| `regionAmbiguous` | `true` when the number was printed without a country code and the same national digits are valid in more than one country |
| `phoneIsMobile` | `true`/`false` where the numbering plan can tell, empty where it genuinely cannot (US, Canada, Mexico) |
| `phoneCallingCode` | The country's international calling code, as a number |
| `phoneCountryName` | Full country name, falling back to the two-letter code rather than guessing |

`regionAmbiguous` is the important one. A number written as `020 7946 0958` is
only a UK number because the run targeted the UK - the country shown is a
reading, not a fact, and this column tells you which rows those are.

# Actor input Schema

## `scrapeMode` (type: `string`):

Find New Numbers (default) searches About.Me by keyword. Validate My List skips searching entirely and instead runs the numbers you paste into Phone List (below) through the same deliverability checks.

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

Enter keywords to search for (e.g., 'Target Keyword'). Only used in Find New Numbers mode.

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

Filter by location (e.g., 'London', 'California'). Leave empty for global search. Only used in Find New Numbers mode.

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

Select the country to target for phone numbers. Only used in Find New Numbers mode.

## `phoneList` (type: `array`):

Paste the phone numbers you want checked for deliverability (any format - the selected Country is used as the default region for numbers without a country code). Only used when Scrape Mode is set to "Validate My List".

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

Stop scraping after this many phone numbers are found. Setting a higher limit extends the scraping duration. Only used in Find New Numbers mode.

## `minQualityScore` (type: `number`):

Drop any number whose quality score (0.0-1.0) falls below this. Leave at 0 for no filter.

## `requireStrictValid` (type: `boolean`):

Drop numbers that fail strict validity (correct length/format for the region) - mainly relevant in Validate My List mode, since search results are already strictly valid by construction.

## `excludeTollFree` (type: `boolean`):

Drop numbers identified as toll-free.

## `excludePremiumRate` (type: `boolean`):

Drop numbers identified as premium-rate.

## `requireCountryMatch` (type: `boolean`):

Drop numbers whose own detected region does not match the Country you selected (e.g. shared dial codes like +1 covering the US, Canada, and Caribbean nations).

## `strictCountry` (type: `boolean`):

Restrict Google to pages it attributes to the country you selected (cr=countryXX), rather than only preferring them. Much tighter targeting, noticeably fewer results.

## `searchLanguage` (type: `string`):

Restrict results to one language. Leave on "Any language" for no filter.

## `timeRange` (type: `string`):

Only return pages Google indexed within this window. A number published last month is far more likely to still be answered than one last seen years ago.

## `customDateFrom` (type: `string`):

Only used when Time Range is "Custom range". Format: YYYY-MM-DD.

## `customDateTo` (type: `string`):

Only used when Time Range is "Custom range". Format: YYYY-MM-DD.

## Actor input object example

```json
{
  "scrapeMode": "Find New Numbers",
  "keywords": [
    "recruiter",
    "consultant"
  ],
  "country": "Germany (+49)",
  "phoneList": [],
  "maxPhoneNumbers": 20,
  "minQualityScore": 0,
  "requireStrictValid": false,
  "excludeTollFree": false,
  "excludePremiumRate": false,
  "requireCountryMatch": false,
  "strictCountry": false,
  "searchLanguage": "",
  "timeRange": "Any time",
  "customDateFrom": "",
  "customDateTo": ""
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

# 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": [
        "recruiter",
        "consultant"
    ],
    "phoneList": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("code-beat/xing-phone-number-scraper-fast-and-reliable").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": [
        "recruiter",
        "consultant",
    ],
    "phoneList": [],
}

# Run the Actor and wait for it to finish
run = client.actor("code-beat/xing-phone-number-scraper-fast-and-reliable").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).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": [
    "recruiter",
    "consultant"
  ],
  "phoneList": []
}' |
apify call code-beat/xing-phone-number-scraper-fast-and-reliable --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,code-beat/xing-phone-number-scraper-fast-and-reliable"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

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