# Verified Leads by CMM (`signaliz/verified-local-leads-by-cmm`) Actor

Get leads from Outscraper. You have the option to verify them with Million Verifier, and include Catch\_All emails as well

- **URL**: https://apify.com/signaliz/verified-local-leads-by-cmm.md
- **Developed by:** [Signaliz](https://apify.com/signaliz) (community)
- **Categories:** AI, Agents, Automation
- **Stats:** 6 total users, 0 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

$10.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.

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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

## Verified Leads from CMM

This Apify actor searches for business leads using the Outscraper Google Maps API, extracts contact and enrichment information, and (optionally) verifies emails using the MillionVerifier API. The output is a structured list of leads with rich metadata and email verification status.

When possible, we have identified the contact first name, last name, and job title. Additionally, we have included socials like Linkedin, Facebook, and Instagram.  
The MillionVerifier Output field will show you whether the email is valid or catch_all.  
If you are not concerned with email validation - exclude Million Verifier to return all emails.

---

### Features

- **Google Maps Search via Outscraper**: Find businesses by query and region.
- **Email Extraction**: Extracts emails from both `email_1` and `emails` array fields.
- **Email Verification (Optional)**: Uses MillionVerifier to check if emails are valid, good, or catch-all.
- **Flexible Filtering**: Optionally include catch-all emails.
- **Rich Output**: Includes business info, contact details, social links, and verification results.
- **Domain Extraction**: Extracts domain from website if available.

---

### Input

Provide a JSON object with the following fields:

| Field                      | Type    | Required | Description                                                                 |
|----------------------------|---------|----------|-----------------------------------------------------------------------------|
| `query`                    | string  | Yes      | What you want to search for (e.g. `"marketing agencies"`).                  |
| `limit`                    | integer | No       | Max number of leads to fetch (default: 500).                                |
| `region`                   | string  | No       | Region to search in (e.g. `"United States"`).                               |
| `outscraper_api_key`       | string  | Yes      | Your Outscraper API key.                                                    |
| `million_verifier_api_key` | string  | Cond.    | Your MillionVerifier API key (required if using email verification).         |
| `useMillionVerifier`       | boolean | No       | Whether to verify emails using MillionVerifier (default: false).            |
| `includeCatchAll`          | boolean | No       | Whether to include catch-all emails (default: false).                       |

**Example input:**
```json
{
  "query": "law firms in Texas",
  "limit": 100,
  "region": "United States",
  "outscraper_api_key": "YOUR_OUTSCRAPER_KEY",
  "million_verifier_api_key": "YOUR_MV_KEY",
  "useMillionVerifier": true,
  "includeCatchAll": false
}
````

***

### Output

Each output lead will include the following fields (if available):

- `name`
- `name_for_emails`
- `full_address`
- `street`
- `postal_code`
- `country_code`
- `city`
- `state`
- `phone`
- `type`
- `logo`
- `email`
- `email_1_first_name`
- `email_1_last_name`
- `email_1_title`
- `facebook`
- `instagram`
- `linkedin`
- `site`
- `million_verifier_result` (e.g. `"ok"`, `"good"`, `"catch_all"`, `"error"`, etc.)
- `domainInfo` (object with `domain` field, if website is available)

***

### How It Works

1. **Searches Google Maps** using Outscraper for your query and region.
2. **Extracts leads** and their emails.
3. **(Optional) Verifies emails** using MillionVerifier.
   - Only includes emails with result `"ok"` or `"good"`.
   - If `includeCatchAll` is true, also includes `"catch_all"` results.
4. **Outputs** a JSON array of leads with all requested fields.

***

### Notes

- You must have valid API keys for both Outscraper and MillionVerifier (if using email verification).
- If you do not enable MillionVerifier, all found emails are included.
- The actor will log excluded emails and the reason for exclusion.

***

### Example Output

```json
{
  "name": "Example Law Firm",
  "name_for_emails": "John Doe",
  "full_address": "123 Main St, Dallas, TX",
  "street": "123 Main St",
  "postal_code": "75201",
  "country_code": "US",
  "city": "Dallas",
  "state": "TX",
  "phone": "+1 555-123-4567",
  "type": "Law Firm",
  "logo": "https://example.com/logo.png",
  "email": "info@examplelaw.com",
  "email_1_first_name": "John",
  "email_1_last_name": "Doe",
  "email_1_title": "Attorney",
  "facebook": "https://facebook.com/examplelaw",
  "instagram": "https://instagram.com/examplelaw",
  "linkedin": "https://linkedin.com/company/examplelaw",
  "site": "https://examplelaw.com",
  "million_verifier_result": "ok",
  "domainInfo": { "domain": "examplelaw.com" }
}
```

***

### Troubleshooting

- If you see `Excluding ... due to MillionVerifier result: ...` in logs, that email did not pass the verification filter.
- If you get a 404 or error from MillionVerifier, check your API key and endpoint.
- If you get no results, try a broader query or check your API quotas.

# Actor input Schema

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

What you want to search for (e.g. 'marketing agencies').

## `limit` (type: `integer`):

Maximum number of leads to fetch (default: 500).

## `region` (type: `string`):

Region to search in (e.g. 'United States').

## `outscraper_api_key` (type: `string`):

Your Outscraper API key

## `million_verifier_api_key` (type: `string`):

Your MillionVerifier API key (optional if not using email verification)

## `useMillionVerifier` (type: `boolean`):

Whether to verify emails using MillionVerifier

## `includeCatchAll` (type: `boolean`):

Whether to include catch-all emails in the results (only applies when using MillionVerifier)

## Actor input object example

```json
{
  "limit": 500,
  "useMillionVerifier": false,
  "includeCatchAll": false
}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("signaliz/verified-local-leads-by-cmm").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("signaliz/verified-local-leads-by-cmm").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 '{}' |
apify call signaliz/verified-local-leads-by-cmm --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=signaliz/verified-local-leads-by-cmm",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Verified Leads by CMM",
        "description": "Get leads from Outscraper. You have the option to verify them with Million Verifier, and include Catch_All emails as well",
        "version": "0.0",
        "x-build-id": "KFRX4zyavQZGPRf99"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/signaliz~verified-local-leads-by-cmm/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-signaliz-verified-local-leads-by-cmm",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/signaliz~verified-local-leads-by-cmm/runs": {
            "post": {
                "operationId": "runs-sync-signaliz-verified-local-leads-by-cmm",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/signaliz~verified-local-leads-by-cmm/run-sync": {
            "post": {
                "operationId": "run-sync-signaliz-verified-local-leads-by-cmm",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "query",
                    "outscraper_api_key"
                ],
                "properties": {
                    "query": {
                        "title": "Search query",
                        "type": "string",
                        "description": "What you want to search for (e.g. 'marketing agencies')."
                    },
                    "limit": {
                        "title": "Limit",
                        "type": "integer",
                        "description": "Maximum number of leads to fetch (default: 500).",
                        "default": 500
                    },
                    "region": {
                        "title": "Region",
                        "type": "string",
                        "description": "Region to search in (e.g. 'United States')."
                    },
                    "outscraper_api_key": {
                        "title": "Outscraper API Key",
                        "type": "string",
                        "description": "Your Outscraper API key"
                    },
                    "million_verifier_api_key": {
                        "title": "MillionVerifier API Key",
                        "type": "string",
                        "description": "Your MillionVerifier API key (optional if not using email verification)"
                    },
                    "useMillionVerifier": {
                        "title": "Use MillionVerifier",
                        "type": "boolean",
                        "description": "Whether to verify emails using MillionVerifier",
                        "default": false
                    },
                    "includeCatchAll": {
                        "title": "Include Catch-all Emails",
                        "type": "boolean",
                        "description": "Whether to include catch-all emails in the results (only applies when using MillionVerifier)",
                        "default": false
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
