# Manta Scraper - Extract Business Listings & Company Data (`alizarin_refrigerator-owner/manta-scraper`) Actor

Scrape comprehensive business information from Manta.com, one of the largest US small business directories. Extract company profiles, contact details, categories, and more for lead generation and market research.
Build Lead Lists
Research Markets
Enrich CRM Data
Verify Citations
Competitive Analysis

- **URL**: https://apify.com/alizarin_refrigerator-owner/manta-scraper.md
- **Developed by:** [The Howlers](https://apify.com/alizarin_refrigerator-owner) (community)
- **Categories:** Lead generation, Integrations
- **Features:** Limited permissions
- **Stats:** 28 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.01 / 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/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

## Manta Business Directory Scraper

Scrape the Manta business directory for company listings, contact info, and business details: name, street address, city, state, zip code, phone, website, category, hours, coordinates and claim status. Find the Manta listing of any US small business from its name and city, for citation and NAP checks. Built by John Rippy (https://www.linkedin.com/in/johnrippy/).

Note: this actor runs in Demo Mode by default, so a default run returns labeled sample data and charges no task events (the Actor start fee still applies). Set demoMode to false to fetch real data.

***

### How it reads Manta

Manta sits behind Cloudflare, which turns away plain scripts. The actor opens Manta in a Camoufox stealth browser over Apify residential proxies, so pages load the way they do for any visitor, and reads the public search and listing pages with human pacing. Ads and trackers are not loaded. Only public pages are read; the actor never logs in. When a session is not served pages, it switches to a new exit IP.

***

### Quick Start

#### Test with Demo Mode (no task events)

```json
{
  "demoMode": true
}
```

#### Find one business (lookup)

```json
{
  "demoMode": false,
  "scrapeType": "lookup",
  "searchTerm": "Smooth Saling Plumbing",
  "location": "Nashville, TN",
  "phone": "(615) 815-1502"
}
```

Returns one row: the matching listing with its URL and full address, or a `not_found` row when Manta has no listing for the business near that city. Other Manta listings that match the same business (duplicates) are listed in `otherListings`.

#### Search businesses

```json
{
  "demoMode": false,
  "scrapeType": "search",
  "searchTerm": "plumbing",
  "location": "Nashville, TN",
  "maxResults": 20
}
```

#### Listing pages

```json
{
  "demoMode": false,
  "scrapeType": "company_profile",
  "companyUrl": "https://www.manta.com/c/m1hm62l/smooth-saling-plumbing-water-heater-replacement"
}
```

***

### Input Parameters

| Parameter | Type | Default | Required | Description |
|-----------|------|---------|----------|-------------|
| `scrapeType` | string | `"search"` | No | `lookup`, `company_profile` or `search` |
| `companyUrl` | string | - | No | Manta listing URL (company_profile); several separated by commas |
| `searchTerm` | string | `"restaurant"` | No | Lookup: the business name. Search: a business type or keyword |
| `location` | string | `"New York, NY"` | No | City and state; Manta searches about 10 miles around it |
| `phone` | string | - | No | Lookup: phone of the business, to confirm a name match |
| `website` | string | - | No | Lookup: website of the business, to confirm a name match |
| `maxResults` | integer | `50` | No | Maximum number of businesses |
| `includeDetails` | boolean | `true` | No | Search: open every listing for zip code, hours, categories and coordinates |
| `proxyConfiguration` | object | `{"useApifyProxy":true,"apifyProxyGroups":["RESIDENTIAL"]}` | No | Proxy settings. Residential proxies are needed for Manta |
| `demoMode` | boolean | `true` | No | Return sample data without scraping |
| `webhookUrl` | string | - | No | Optional webhook URL to receive each listing as it is scraped |

***

### Output

| Field | Description |
|-------|-------------|
| `name` | Business name on Manta |
| `url`, `mantaId` | Manta listing URL and id |
| `address`, `city`, `state`, `zipCode`, `fullAddress` | Address on the listing. When Manta shows "Service Area" instead of a street, `address` is null, `serviceAreaBusiness` is true and `fullAddress` holds the city, state and zip only |
| `phone`, `website` | Contact details on the listing |
| `category`, `categories` | Manta category and its parents |
| `hours`, `latitude`, `longitude` | Business hours (one entry per day, e.g. `Mon 7:00 AM - 7:00 PM`) and map position |
| `claimed` | Whether the owner claimed the listing |
| `rating`, `reviewCount` | Manta reviews, when shown |
| `match` | Lookup only: how the listing was matched (`website`, `name_and_phone`, `name_and_city`, `name_and_state`), with name score and city and phone checks |
| `otherListings` | Lookup only: other matching listings of the same business |

A field Manta does not show (for example `employeeCount`, `revenue` or `yearFounded` on most listings) is null, never an empty string or 0.

A lookup with no match returns `status: "not_found"` with the pages checked. If Manta could not be read at all, the row has `status: "blocked"` and no task event is charged for it (the Actor start fee still applies).

***

### Pricing

This actor uses **pay-per-event** billing:

| Event | When it is charged | Price |
|-------|--------------------|-------|
| Actor start | Once when the run starts, one event per GB of memory (minimum one). At the default 2 GB of memory a run starts at $0.20 | $0.10 per GB |
| Business Listing | Each business listing scraped | $0.002 |
| Result | Each item written to the default dataset | $0.00001 |

**Demo mode charges no task events**: sample rows are never billed. Every run, a demo run included, still pays the Actor start fee and the small per-result fee shown above. `not_found` and `blocked` rows charge no task events.

***

### Troubleshooting

#### A lookup returned not_found

Manta lists millions of US businesses but not every one. Check the spelling, try the name as it appears on the storefront, or give the city the business is registered in.

#### status: blocked

Manta did not serve pages to any of the browser sessions. Run again later, and keep the residential proxy on.

#### How do I test without paying for results?

Enable **Demo Mode** in the input. It returns labeled sample data so you can check the output format.

***

**Built by John Rippy | [Actor Arsenal](https://actorarsenal.com)**

# Actor input Schema

## `scrapeType` (type: `string`):

Lookup finds the Manta listing of one business from its name and city (phone and website help confirm it) and returns its URL, address and phone, or a not_found row. Company profile opens given Manta listing URLs. Search lists the businesses Manta shows for a keyword near a location.

## `companyUrl` (type: `string`):

Manta listing URL, for example https://www.manta.com/c/m1hm62l/smooth-saling-plumbing-water-heater-replacement. Several can be given separated by commas.

## `searchTerm` (type: `string`):

Lookup: the business name. Search: a business type or keyword.

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

City and state, for example 'Nashville, TN'. Manta searches about 10 miles around it.

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

Lookup: phone number of the business, to confirm a name match. Optional.

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

Lookup: website of the business, to confirm a name match. Optional.

## `maxResults` (type: `integer`):

Maximum number of businesses to scrape

## `includeDetails` (type: `boolean`):

Search: open every listing found for its zip code, hours, categories and coordinates. Turn off for search-card data only (name, street, city, phone, website).

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

Proxy settings for web scraping

## `demoMode` (type: `boolean`):

Return sample data without actual scraping

## `webhookUrl` (type: `string`):

Optional webhook URL to receive data as it's scraped

## Actor input object example

```json
{
  "scrapeType": "search",
  "searchTerm": "restaurant",
  "location": "New York, NY",
  "maxResults": 50,
  "includeDetails": true,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  },
  "demoMode": true
}
```

# Actor output Schema

## `results` (type: `string`):

Business directory listings including company profiles, contact info, and business details

# 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 = {
    "demoMode": true
};

// Run the Actor and wait for it to finish
const run = await client.actor("alizarin_refrigerator-owner/manta-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 = { "demoMode": True }

# Run the Actor and wait for it to finish
run = client.actor("alizarin_refrigerator-owner/manta-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 '{
  "demoMode": true
}' |
apify call alizarin_refrigerator-owner/manta-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,alizarin_refrigerator-owner/manta-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/uElhurs6uWRbeQDdp/builds/gmxeUrgPhCZKfVvWf/openapi.json
