# Yelp Search Scraper: Bulk Business Data & Lead Generator (`devil_port369-owner/yelp`) Actor

Fast, no-login Yelp scraper to export business details, ratings, contact info, and photos. Supports bulk search terms and multiple locations without needing proxies or cookies.

- **URL**: https://apify.com/devil\_port369-owner/yelp.md
- **Developed by:** [DataFusionX](https://apify.com/devil_port369-owner) (community)
- **Categories:** Lead generation, AI, E-commerce
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, NaN 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/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

## 🚀 Yelp Search & Lead Intelligence Scraper

**The most efficient, "no-fuss" Yelp data extractor on Apify.**
Generate high-intent B2B leads, monitor local competition, and track market trends in bulk—**without** the headache of managing proxies, rotating cookies, or dealing with login blocks.

---

### 💎 Why This Scraper Beats the Rest?

Most Yelp scrapers are brittle and expensive. This Actor is engineered for **resilience and scale**:

* **Zero Infrastructure Overhead:** No Proxy APIs or login cookies required. It just works.
* **Deep Intelligence:** Extracts data points most scrapers miss, such as **Response Times**, **Local Quote Volume**, and **Verified Licenses**.
* **Ad-Aware:** Distinguishes between organic results and paid ads to help you analyze competitor spend.
* **Lead-Gen Optimized:** Identifies businesses with active "Call to Action" buttons (e.g., *Get Pricing*).

---

### 📊 Commercial Use Cases

| **For Sales Teams** | **For SEO & Marketing** | **For Market Analysts** |
| --- | --- | --- |
| Extract businesses with fast response times to target high-activity prospects. | Monitor local search rankings and review scores across multiple cities. | Analyze price ranges and service categories to find market gaps. |

---

### 🛠️ Data Points Extracted

| Category | Data Points |
| --- | --- |
| **Business Info** | Name, Yelp URL, Address, Neighborhood, Phone, Categories |
| **Reputation** | Rating, Review Count, Snippet Text (Latest Reviews) |
| **Lead Quality** | **Response Time**, **Quote Request Volume**, CTA Buttons |
| **Trust Signals** | **Verified License Data**, Yelp Guaranteed Status |
| **Media & Ads** | Primary Photo, Portfolio Count, Ad Campaign IDs, Ad Placement |

---

### 🚀 Getting Started: Input Parameters

This Actor is designed to be "plug-and-play." You only need to provide search terms and locations.

| Field | Type | Description | Default |
| --- | --- | --- | --- |
| `search_terms` | Array | Keywords (e.g., `["Roofing", "HVAC"]`) | **Required** |
| `location` | Array | Areas (e.g., `["Austin, TX", "10001"]`) | **Required** |
| `max_results` | Integer | How many results to pull per query. | `30` |
| `sort_by` | String | Options: `rating`, `review_count`, `best_match`. | `rating` |

---

### 📦 Output Sample (JSON)

Our output is clean, flattened, and ready for your CRM or a BI tool.

```json
{
   "biz_id": "KV5IMy5PwasnwcyNrjIKSQ",
    "name": "AAD Mobile Autowash",
    "alias": "aad-mobile-autowash-brooklyn",
    "yelp_url": "https://www.yelp.com/biz/aad-mobile-autowash-brooklyn",
    "address": "2020 Kings Hwy",
    "neighborhoods": [
      "Midwood"
    ],
    "service_area": null,
    "categories": [
      "Car Wash",
      "Auto Detailing"
    ],
    "price_range": null,
    "rating": 0,
    "review_count": null,
    "phone": "",
    "primary_photo_url": "https://s3-media0.fl.yelpcdn.com/bphoto/pUoQsmu_BX8ItKtIJfluAQ/ls.jpg",
    "all_photos_url": "https://www.yelp.com/biz_photos/KV5IMy5PwasnwcyNrjIKSQ",
    "portfolio_photo_count": 0,
    "snippet_text": "AADautowash is Brooklyn’s premium mobile auto detailing service, bringing top‑tier cleaning and restoration directly to your home, job, or parking…",
    "snippet_type": "specialty",
    "highlights": [],
    "tags": [
      "Car wash"
    ],
    "yelp_guaranteed": false,
    "verified_license": null,
    "parent_business": null,
    "cta_buttons": [
      "Get pricing"
    ],
    "response_time": "7 hrs",
    "local_quote_requests": "29 locals recently requested a quote",
    "is_ad": true,
    "ad_slot": 0,
    "ad_campaign_id": "220325067",
    "ad_placement": "vertical_0",
    "search_term": "Car wash",
    "search_location": "New York"
}

````

***

### 💡 Pro-Tips for Success

- **Zip Codes vs. Cities:** Use Zip Codes for hyper-local scraping and higher accuracy in dense areas like NYC or London.
- **Lead Scoring:** Use the `local_quote_requests` field to prioritize businesses that are currently trending in their local area.
- **Competitor Ad Research:** Filter by `is_ad: true` to see which businesses are aggressively bidding on your target keywords.

***

### ⚖️ Integrity & Ethics

This scraper follows Yelp's public data structure. Please ensure your use of the data complies with local regulations (GDPR/CCPA) and Yelp's Terms of Service. This tool is intended for ethical data analysis and lead generation.

***

**Need a custom feature or higher volume?** - Let us know

# Actor input Schema

## `search_terms` (type: `array`):

List of business categories or keywords to search (e.g. Restaurants, Car Wash).

## `location` (type: `array`):

List of cities or addresses to search in (e.g. New York, NY).

## `max_results` (type: `integer`):

Maximum number of businesses to scrape per (search\_term × location) pair.

## `sort_by` (type: `string`):

How to sort Yelp results.

## Actor input object example

```json
{
  "search_terms": [
    "Restaurants"
  ],
  "location": [
    "New York, NY"
  ],
  "max_results": 10,
  "sort_by": "rating"
}
```

# Actor output Schema

## `results` (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 = {
    "search_terms": [
        "Restaurants"
    ],
    "location": [
        "New York, NY"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("devil_port369-owner/yelp").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 = {
    "search_terms": ["Restaurants"],
    "location": ["New York, NY"],
}

# Run the Actor and wait for it to finish
run = client.actor("devil_port369-owner/yelp").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 '{
  "search_terms": [
    "Restaurants"
  ],
  "location": [
    "New York, NY"
  ]
}' |
apify call devil_port369-owner/yelp --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=devil_port369-owner/yelp",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Yelp Search Scraper: Bulk Business Data & Lead Generator",
        "description": "Fast, no-login Yelp scraper to export business details, ratings, contact info, and photos. Supports bulk search terms and multiple locations without needing proxies or cookies.",
        "version": "0.0",
        "x-build-id": "tzNUnYpz4C27oJTuZ"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/devil_port369-owner~yelp/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-devil_port369-owner-yelp",
                "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/devil_port369-owner~yelp/runs": {
            "post": {
                "operationId": "runs-sync-devil_port369-owner-yelp",
                "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/devil_port369-owner~yelp/run-sync": {
            "post": {
                "operationId": "run-sync-devil_port369-owner-yelp",
                "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": [
                    "search_terms",
                    "location"
                ],
                "properties": {
                    "search_terms": {
                        "title": "Search Terms",
                        "type": "array",
                        "description": "List of business categories or keywords to search (e.g. Restaurants, Car Wash).",
                        "items": {
                            "type": "string"
                        }
                    },
                    "location": {
                        "title": "Locations",
                        "type": "array",
                        "description": "List of cities or addresses to search in (e.g. New York, NY).",
                        "items": {
                            "type": "string"
                        }
                    },
                    "max_results": {
                        "title": "Max Results (0 == unlimited)",
                        "type": "integer",
                        "description": "Maximum number of businesses to scrape per (search_term × location) pair.",
                        "default": 10
                    },
                    "sort_by": {
                        "title": "Sort By",
                        "enum": [
                            "rating",
                            "review_count",
                            "recommended"
                        ],
                        "type": "string",
                        "description": "How to sort Yelp results.",
                        "default": "rating"
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
