# Bing Maps Business Leads Scraper — Email, Phone & Socials (`haketa/bing-maps-contacts-scraper`) Actor

Scrape Bing Maps businesses by search query and enrich with contacts: name, phone, website, address, category, coordinates — plus email and social profiles from each website. For local B2B lead generation and market research. Independent tool, not affiliated with Microsoft or Bing.

- **URL**: https://apify.com/haketa/bing-maps-contacts-scraper.md
- **Developed by:** [Haketa](https://apify.com/haketa) (community)
- **Categories:** Lead generation
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

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

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Bing Maps Business Leads Scraper — Email, Phone & Socials

> **Scrape businesses from Bing Maps by search and enrich them into leads: name, phone, website, address, category, coordinates — plus email and social profiles pulled from each business's website.** Search like "dentists in Miami" and get clean JSON/CSV/Excel in seconds. Built for local B2B lead generation, sales prospecting and market research.

[![Bing Maps](https://img.shields.io/badge/Bing%20Maps-Business%20Leads-008373)]()
[![Email & Phone](https://img.shields.io/badge/Phone%20%2B%20Email%20%2B%20Socials-2da44e)]()
[![Local B2B](https://img.shields.io/badge/Local%20B2B%20Lead--Gen-8250df)]()
[![Export](https://img.shields.io/badge/Export-JSON%20%2F%20CSV%20%2F%20Excel-fb8500)]()

***

### What This Actor Does

Enter a search like **"plumbers in London"** and this Actor returns matching businesses on Bing Maps — then enriches each into an outreach-ready lead:

- **Business** — name, category, full address, coordinates
- **Contact** — phone number (from Bing Maps) and **email** (extracted from the website)
- **Website & socials** — website URL plus Facebook, Instagram, LinkedIn, Twitter/X and YouTube profiles

Bing Maps is a strong **second source** to Google Maps — it lists businesses Google may miss, and vice versa, so together you get broader coverage of any local market.

***

### Why Use This

- **Real local leads.** Phone and website come on ~every business, enriched to emails and socials — everything a sales team needs.
- **A second source to Google Maps.** Different index, different coverage — run both to maximize a market's leads.
- **Any niche, any city.** "restaurants in Austin", "dentists in Miami", "law firms in Berlin".
- **Contact enrichment built in.** The Actor visits each website and pulls emails + social profiles automatically.

***

### Quick Start

#### Run it in the console (no code)

1. Add **Search queries** in the form `<what> in <where>` (e.g. `dentists in Miami FL`).
2. Keep **Enrich with email & socials** on to turn listings into leads.
3. Set **Max businesses**, click **Start**, then export as **JSON, CSV, Excel or HTML**, or push to Google Sheets, a webhook or a database.

#### Run it via API (Python)

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")

run_input = {
    "searchQueries": ["dentists in Miami FL", "coffee shops in Seattle"],
    "includeEmails": True,
    "maxItems": 300,
}

run = client.actor("YOUR_USERNAME/bing-maps-contacts-scraper").call(run_input=run_input)

for b in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(b["name"], "·", b["phone"], "·", b["email"] or "-")
```

#### Build a contactable lead list (Python)

```python
run = client.actor("YOUR_USERNAME/bing-maps-contacts-scraper").call(run_input={
    "searchQueries": ["marketing agencies in Chicago"], "maxItems": 500,
})
leads = [b for b in client.dataset(run["defaultDatasetId"]).iterate_items()
         if b.get("email") or b.get("phone")]
print(len(leads), "contactable leads")
```

***

### Input Parameters

| Field | Type | Description |
|---|---|---|
| `searchQueries` | array | Bing Maps searches (`<what> in <where>`). Each searched separately. |
| `includeEmails` | boolean | Fetch each website and extract email + socials. Default `true`. |
| `maxPagesPerQuery` | integer | Result pages per query (20 businesses per page). Default `5`. |
| `maxItems` | integer | Max businesses across all queries. `0` = no limit. |
| `proxyConfiguration` | object | Apify Proxy. Enabled by default. |

***

### Output

Each business is one record:

```json
{
  "businessId": "YN15C80335FD02AEC5",
  "name": "Ultra Smile Dentistry",
  "category": "Dentist",
  "phone": "(305) 372-1020",
  "email": "info@ultrasmilemiami.com",
  "emails": ["info@ultrasmilemiami.com"],
  "website": "http://ultrasmilemiami.com/",
  "address": "123 Biscayne Blvd, Miami, FL 33132",
  "latitude": 25.77, "longitude": -80.19,
  "instagram": "ultrasmilemiami", "facebook": "ultrasmilemiami",
  "query": "dentists in Miami FL"
}
```

Businesses without a website still return name, phone, category and address; email/socials fill where a website exists.

***

### Use Cases

#### 1. Local B2B lead generation

Build targeted lead lists of local businesses by niche and city — with phone, email and socials — for cold outreach, agencies and SaaS.

#### 2. Second-source coverage

Combine with a Google Maps scraper to cover businesses each index lists but the other misses.

#### 3. Sales prospecting & territory building

Map every business of a type in an area, enriched with contacts, for field sales and planning.

#### 4. Market & competitive research

See how many businesses of a category exist in a market and their web/social presence.

#### 5. CRM enrichment

Enrich or verify records with phone, website, email, socials and coordinates.

***

### Tips

- **Query format matters:** use `<what> in <where>` — the more specific the location, the tighter the results.
- **Run alongside Google Maps** for the widest coverage of a local market.
- **Phone is near-universal; email depends on the website.** Enable `includeEmails` for the best contact coverage.
- **Schedule it** with Apify Schedules to keep lead lists fresh.

***

### Frequently Asked Questions

**Do I need an account or API key?**
No. The Actor reads publicly visible Bing Maps business data and public websites — no login or key.

**Will every business have an email?**
Phone and website come from Bing Maps for almost every business; email and socials are extracted from the website, so they fill for businesses that publish them online.

**Can I target any country?**
Yes — put the city/country in the query (e.g. "cafes in Lisbon").

**What export formats are supported?**
JSON, CSV, Excel, HTML, or via API — plus Google Sheets, webhooks, Make and Zapier.

***

### Legal & Responsible Use

This Actor is an independent tool and is **not affiliated with, endorsed by, or sponsored by Microsoft or Bing**. All trademarks are the property of their respective owners.

It collects only publicly available business information. You are responsible for how you use the data. Please:

- Comply with applicable data-protection and anti-spam laws (GDPR/CCPA, CAN-SPAM) when contacting businesses.
- Honor opt-outs and send only relevant, lawful outreach.
- Do not use the data for spam, harassment, or any unlawful purpose.
- Use reasonable request volumes and scheduling.

# Actor input Schema

## `searchQueries` (type: `array`):

Bing Maps searches in the form "<what> in <where>" (e.g. "restaurants in Austin TX", "plumbers in London", "dentists in Miami"). Each is searched separately.

## `includeEmails` (type: `boolean`):

For each business with a website, fetch the site and extract email addresses and social profiles (Facebook/Instagram/LinkedIn/Twitter/YouTube). Slower but turns listings into leads.

## `maxPagesPerQuery` (type: `integer`):

Result pages to paginate per query (20 businesses per page).

## `maxItems` (type: `integer`):

Maximum businesses across all queries. 0 = no limit.

## `proxyConfiguration` (type: `object`):

Apify Proxy. Enabled by default.

## Actor input object example

```json
{
  "searchQueries": [
    "dentists in Miami FL",
    "coffee shops in Seattle"
  ],
  "includeEmails": true,
  "maxPagesPerQuery": 3,
  "maxItems": 60,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `businessId` (type: `string`):

Bing place ID (ypid)

## `name` (type: `string`):

Business name

## `category` (type: `string`):

Category

## `phone` (type: `string`):

Phone number

## `email` (type: `string`):

Primary email (enriched)

## `emails` (type: `string`):

All emails found

## `website` (type: `string`):

Website URL

## `address` (type: `string`):

Full address

## `latitude` (type: `string`):

Latitude

## `longitude` (type: `string`):

Longitude

## `facebook` (type: `string`):

Facebook (enriched)

## `instagram` (type: `string`):

Instagram (enriched)

## `linkedin` (type: `string`):

LinkedIn (enriched)

## `twitter` (type: `string`):

Twitter/X (enriched)

## `imageUrl` (type: `string`):

Business image URL

## `query` (type: `string`):

Search query

## `scrapedAt` (type: `string`):

ISO timestamp

# 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 = {
    "searchQueries": [
        "dentists in Miami FL",
        "coffee shops in Seattle"
    ],
    "includeEmails": true,
    "maxPagesPerQuery": 3,
    "maxItems": 60,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("haketa/bing-maps-contacts-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 = {
    "searchQueries": [
        "dentists in Miami FL",
        "coffee shops in Seattle",
    ],
    "includeEmails": True,
    "maxPagesPerQuery": 3,
    "maxItems": 60,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("haketa/bing-maps-contacts-scraper").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 '{
  "searchQueries": [
    "dentists in Miami FL",
    "coffee shops in Seattle"
  ],
  "includeEmails": true,
  "maxPagesPerQuery": 3,
  "maxItems": 60,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call haketa/bing-maps-contacts-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,haketa/bing-maps-contacts-scraper"
        }
    }
}
```

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/dNwB3UqZ0ddAL3AMA/builds/rabJ2pZobqXYfq1Kp/openapi.json
