# Yelp Scraper - Business Leads, Reviews, Ratings, No API Key (`renzomacar/yelp-scraper`) Actor

- **URL**: https://apify.com/renzomacar/yelp-scraper.md
- **Developed by:** [Renzo Madueno](https://apify.com/renzomacar) (community)
- **Categories:** Business, Lead generation
- **Stats:** 2 total users, 1 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

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

## Yelp Scraper - Business Leads, Reviews, Ratings (No API Key)

Extract **Yelp business data at scale** — names, star ratings, review counts, prices, categories, full addresses, phone numbers, websites, GPS coordinates, photos, and (optionally) the actual review text — just by giving a **search term** and a **location**. No Yelp Fusion API key. No developer account. No rate-limit headaches. You type "coffee shops" + "Austin, TX" and get a clean, export-ready dataset of local businesses.

Most Yelp scrapers and the official Yelp Fusion API force you to register an app, manage an API key, and live inside a 5,000-call/day cap that returns a maximum of 50 results per search and **no review text**. This **Yelp scraper needs none of that**. It reads the same business data Yelp serves to a normal browser, so you get the full picture without bringing your own key.

### Why use this Yelp scraper

- **No API key required** — start scraping in seconds, nothing to register.
- **Built for lead generation** — phone, address, website and category for every business, perfect for cold outreach lists and local sales prospecting.
- **Ratings & reviews** — average rating, total review count, and optional recent review text (author, rating, date, body).
- **Reliable extraction** — it parses Yelp's own structured business JSON first, with embedded-JSON and rendered-DOM fallbacks, so results stay populated even when Yelp tweaks its layout.
- **Residential proxies built in** — Yelp blocks datacenter traffic with PerimeterX; this actor routes through residential IPs so pages load like a real visitor.
- **Clean, flat output** — one row per business (and one row per review), ready for CSV, Excel, Google Sheets, JSON, or your CRM/database.

### What data you get

Per business:

| Field | Type | Description |
|-------|------|-------------|
| `businessName` | string | Business name as listed on Yelp |
| `alias` | string | Yelp business slug (stable id) |
| `yelpUrl` | string | Direct link to the Yelp business page |
| `rating` | number | Average star rating (1.0–5.0) |
| `reviewCount` | integer | Total number of reviews |
| `priceLevel` | string | Price tier (`$`, `$$`, `$$$`, `$$$$`) |
| `categories` | array | Category tags (e.g. `["Coffee & Tea", "Cafes"]`) |
| `address` | string | Street address when shown on the result card |
| `city` / `state` / `zipCode` | string | Location parts when available |
| `neighborhood` | string | Neighborhood when available |
| `phone` | string | Business phone number (sponsored results) |
| `website` | string | Business website when listed |
| `latitude` / `longitude` | number | GPS coordinates when available |
| `imageUrl` | string | Cover photo URL |
| `isAdvertised` | boolean | `true` for paid/sponsored listings |
| `searchTerm` / `location` | string | The query that returned this row |
| `scrapedAt` | string | ISO 8601 collection timestamp |

Per review (when `includeReviews` is on), `dataType: "review"`:

| Field | Description |
|-------|-------------|
| `businessName`, `alias`, `yelpUrl` | Which business the review belongs to |
| `reviewAuthor` | Reviewer name |
| `reviewRating` | Star rating of the review |
| `reviewDate` | Date published |
| `reviewText` | Review body |

### Input

| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| `searchTerm` | string | Yes | — | What to search, e.g. `coffee shops`, `dentists`, `plumbers` |
| `location` | string | Yes | — | City + state or ZIP, e.g. `Austin, TX` or `90210` |
| `searchTerms` | array | No | — | Extra terms to run in the same location |
| `maxResults` | integer | No | 50 | Max businesses per term (Yelp paginates 10/page) |
| `includeReviews` | boolean | No | false | Also scrape recent reviews per business |
| `maxReviewsPerBusiness` | integer | No | 5 | Reviews to pull per business when reviews are on |
| `proxyCountry` | string | No | US | Residential proxy country for the location you scrape |

#### Example input

```json
{
  "searchTerm": "coffee shops",
  "location": "Austin, TX",
  "maxResults": 50,
  "includeReviews": false
}
````

#### Example output

```json
{
  "businessName": "Houndstooth Coffee",
  "alias": "houndstooth-coffee-austin",
  "yelpUrl": "https://www.yelp.com/biz/houndstooth-coffee-austin",
  "rating": 4.4,
  "reviewCount": 612,
  "priceLevel": "$$",
  "categories": ["Coffee & Tea", "Cafes"],
  "address": "401 Congress Ave, Austin, TX 78701",
  "city": "Austin",
  "state": "TX",
  "zipCode": "78701",
  "phone": "(512) 394-6051",
  "website": "houndstoothcoffee.com",
  "latitude": 30.2669,
  "longitude": -97.7428,
  "imageUrl": "https://s3-media0.fl.yelpcdn.com/...",
  "isAdvertised": false,
  "searchTerm": "coffee shops",
  "location": "Austin, TX",
  "scrapedAt": "2026-06-12T00:00:00.000Z"
}
```

### Use cases

- **Local lead generation** — build prospect lists of dentists, lawyers, contractors, gyms, salons, restaurants, or any niche in any city, with phone + website ready for outreach.
- **Sales prospecting & cold email/SMS** — export business contact details straight into your CRM.
- **Competitive intelligence** — track competitors' ratings and review velocity over time.
- **Market research & gap analysis** — count businesses per category to size a local market.
- **Local SEO & reputation** — study top-rated competitors and review sentiment.
- **Restaurant / retail analytics** — price-tier and rating distributions for reports.

### How it works

The actor opens Yelp's search results in a real headless Chrome through Apify **residential proxies**, then captures the structured business data Yelp itself loads — first from its internal search responses, then from JSON embedded in the page, and finally from the rendered cards as a fallback. Because Yelp gates everything behind PerimeterX bot protection, residential IPs are required; the actor handles that automatically. It paginates 10 results per page until it reaches `maxResults`, deduplicates by business, and (optionally) visits each business page to pull recent reviews from its structured review data.

### FAQ

**Do I need a Yelp API key or Yelp developer account?**
No. That is the whole point. Unlike the Yelp Fusion API and key-based scrapers, this actor works with zero credentials.

**Is this better than the Yelp Fusion API?**
For most lead-gen and research jobs, yes: no key, no 50-results-per-search cap, no 5,000-calls/day quota, and you can also get review text — which Fusion does not give you in full.

**Can I scrape Yelp reviews?**
Yes. Turn on `includeReviews` to also collect recent reviews (author, rating, date, text) for every business found.

**Can I search multiple categories at once?**
Yes. Put extra terms in `searchTerms` and they all run against the same `location`.

**Which countries / Yelp domains are supported?**
US Yelp (`yelp.com`) by default. Set `proxyCountry` to match your target market for best results.

**Why do I need residential proxies?**
Yelp blocks datacenter IP addresses with PerimeterX. Residential proxies make requests look like ordinary visitors. The actor uses them automatically.

**What if a search returns nothing?**
Genuinely empty searches are reported as warnings (not failures) in the run's key-value store under `WARNINGS`, so empty results are explainable. Hard anti-bot blocks are recorded under `FAILURES`.

**What format is the output?**
A standard Apify dataset — export to CSV, Excel, JSON, or Google Sheets, or pull it via the API.

### Pricing

This actor uses **pay-per-event** pricing: a small fee per run start plus a small fee per business returned. You only pay for the data you actually get. Apify platform usage (compute + residential proxy) is billed separately by Apify.

### Disclaimer

Scrape responsibly and only collect publicly available data. You are responsible for how you use the data and for complying with Yelp's terms and applicable laws (including data-protection regulations) in your jurisdiction.

# Actor input Schema

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

What to search for, e.g. 'coffee shops', 'dentists', 'plumbers', 'restaurants'.

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

City + state or ZIP, e.g. 'Austin, TX', 'Brooklyn, NY', or '90210'.

## `searchTerms` (type: `array`):

Run several searches in the same location in one go. Each term is paginated independently.

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

Maximum businesses to extract per search term. Yelp paginates 10 per page.

## `includeReviews` (type: `boolean`):

Also scrape recent reviews (author, rating, date, text) for each business. Slower and uses more compute.

## `maxReviewsPerBusiness` (type: `integer`):

How many recent reviews to pull per business when 'Include reviews' is on.

## `proxyCountry` (type: `string`):

Residential proxy country code (Yelp blocks datacenter IPs). Use the country of the location you are scraping.

## Actor input object example

```json
{
  "searchTerm": "coffee shops",
  "location": "Austin, TX",
  "maxResults": 50,
  "includeReviews": false,
  "maxReviewsPerBusiness": 5,
  "proxyCountry": "US"
}
```

# Actor output Schema

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

All result items as JSON.

# 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 = {
    "searchTerm": "coffee shops",
    "location": "Austin, TX"
};

// Run the Actor and wait for it to finish
const run = await client.actor("renzomacar/yelp-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 = {
    "searchTerm": "coffee shops",
    "location": "Austin, TX",
}

# Run the Actor and wait for it to finish
run = client.actor("renzomacar/yelp-scraper").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 '{
  "searchTerm": "coffee shops",
  "location": "Austin, TX"
}' |
apify call renzomacar/yelp-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Yelp Scraper - Business Leads, Reviews, Ratings, No API Key",
        "version": "0.1",
        "x-build-id": "Bf1WtRmliWC0sgNjg"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/renzomacar~yelp-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-renzomacar-yelp-scraper",
                "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/renzomacar~yelp-scraper/runs": {
            "post": {
                "operationId": "runs-sync-renzomacar-yelp-scraper",
                "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/renzomacar~yelp-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-renzomacar-yelp-scraper",
                "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": [
                    "searchTerm",
                    "location"
                ],
                "properties": {
                    "searchTerm": {
                        "title": "Search term",
                        "type": "string",
                        "description": "What to search for, e.g. 'coffee shops', 'dentists', 'plumbers', 'restaurants'."
                    },
                    "location": {
                        "title": "Location",
                        "type": "string",
                        "description": "City + state or ZIP, e.g. 'Austin, TX', 'Brooklyn, NY', or '90210'."
                    },
                    "searchTerms": {
                        "title": "Extra search terms (optional)",
                        "type": "array",
                        "description": "Run several searches in the same location in one go. Each term is paginated independently.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "maxResults": {
                        "title": "Max results per term",
                        "minimum": 1,
                        "maximum": 240,
                        "type": "integer",
                        "description": "Maximum businesses to extract per search term. Yelp paginates 10 per page.",
                        "default": 50
                    },
                    "includeReviews": {
                        "title": "Include reviews",
                        "type": "boolean",
                        "description": "Also scrape recent reviews (author, rating, date, text) for each business. Slower and uses more compute.",
                        "default": false
                    },
                    "maxReviewsPerBusiness": {
                        "title": "Max reviews per business",
                        "minimum": 1,
                        "maximum": 20,
                        "type": "integer",
                        "description": "How many recent reviews to pull per business when 'Include reviews' is on.",
                        "default": 5
                    },
                    "proxyCountry": {
                        "title": "Proxy country",
                        "type": "string",
                        "description": "Residential proxy country code (Yelp blocks datacenter IPs). Use the country of the location you are scraping.",
                        "default": "US"
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
