# Yelp Review Scraper (`scrapeai/yelp-review-scraper`) Actor

Extracts detailed customer reviews from Yelp business pages. Scrapes reviewer name, rating, date, review text, reviewer location, elite status, useful/funny/cool reaction counts, and business metadata. Supports pagination for bulk review extraction.

- **URL**: https://apify.com/scrapeai/yelp-review-scraper.md
- **Developed by:** [ScrapeAI](https://apify.com/scrapeai) (community)
- **Categories:** Social media, Lead generation, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.50 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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 Review Scraper

Extract detailed customer reviews from Yelp business pages, including reviewer name, rating, date, review text, location, Elite status, reaction counts, and business information. Supports pagination for collecting reviews from multiple pages.

### Features

- **Direct URL Input** — Scrape reviews from specific Yelp business pages.
- **Rich Review Data** — Extract ratings, review text, reviewer names, dates, locations, and reaction counts.
- **Reviewer Details** — Capture publicly available reviewer information, including Elite status.
- **Business Metadata** — Collect relevant business details associated with each review.
- **Pagination Support** — Automatically process multiple review pages for bulk extraction.
- **Configurable Limits** — Control the number of reviews collected per business.
- **Structured Output** — Export clean review datasets for analysis and reporting.
- **Cloud Ready** — Runs on Apify with scheduling, proxy support, webhooks, datasets, and API integration.

### Use Cases

- Monitor brand reputation and customer sentiment.
- Analyze customer satisfaction and service quality.
- Identify recurring complaints, pain points, and improvement opportunities.
- Compare customer feedback across competing businesses.
- Track review trends, ratings, and engagement over time.
- Build datasets for sentiment analysis and business intelligence.

### Input

```json
{
  "businessUrl": "https://www.yelp.com/biz/gary-danko-san-francisco",
  "maxReviews": 25,
  "sortBy": "default_v2"
}
```

#### Example Output

```json
{
	"position": 19,
	"reviewId": "RjdjwBAkxnw0FL9LYm2G6Q",
	"reviewerName": "Becky V.",
	"reviewerProfileUrl": "https://www.yelp.com/user_details?userid=UVO0vrdc8Jfm00p7ixuf7A",
	"rating": 5,
	"reviewDate": "2026-01-12T18:30:14-08:00",
	"reviewText": "Excellent meal and service. This is a reliable spot for a special date night or celebration. \n\nFood is always great, wonderfully presented, good variety of options on the menu no matter what meat or seafood you're feeling like. Through the years many dishes remain staples, with slight variations made to the sides \n\nSome food favorites-\n-lemon pepper Duck. duck hash on the side was unique and yummy \n-Dessert menu changes occasionally.  And they're all so good! The pear sorbet baked Alaska was fantastic!! The pear flavor was delightful and the liquor drizzled on top of the whole piece was a strong contrast  \n-lobster risotto\n- pork chop \n-cheese cart! How fun \n\nTip!\nGo early to find parking! This area can be tough and watch for 2 hour only street signs. No valet parking available here.",
	"reviewerLocation": "San Francisco, CA",
	"isElite": "Yes",
	"eliteYear": "Elite '26",
	"usefulCount": 1,
	"funnyCount": 0,
	"coolCount": 3,
	"reviewerReviewCount": 1077,
	"reviewerFriendCount": 169,
	"reviewerPhotoCount": 32356,
	"reviewerAvatar": "https://s3-media0.fl.yelpcdn.com/photo/tBM6ulQO74kqwEuu4zXgRA/60s.jpg",
	"reviewPhotos": null,
	"businessName": "Gary Danko",
	"businessUrl": "https://www.yelp.com/biz/gary-danko-san-francisco",
	"scrapedAt": "2026-08-14T09:55:56.018Z"
}
```

# Actor input Schema

## `businessUrl` (type: `string`):

The Yelp business page URL to extract reviews from.

## `startUrls` (type: `array`):

Multiple Yelp business page URLs to scrape reviews from.

## `maxReviews` (type: `integer`):

Maximum number of reviews to scrape per business page.

## `sortBy` (type: `string`):

How to sort the reviews.

## `language` (type: `string`):

Filter reviews by language (e.g. 'en' for English, leave empty for all).

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

Proxy settings. Apify Residential Proxy (US) is strongly recommended for production.

## Actor input object example

```json
{
  "businessUrl": "https://www.yelp.com/biz/gary-danko-san-francisco",
  "maxReviews": 50,
  "sortBy": "default_v2",
  "language": "",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

# Actor output Schema

## `dataset` (type: `string`):

Dataset containing all scraped Yelp reviews

# 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 = {
    "businessUrl": "https://www.yelp.com/biz/gary-danko-san-francisco",
    "maxReviews": 50,
    "language": "",
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "US"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapeai/yelp-review-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 = {
    "businessUrl": "https://www.yelp.com/biz/gary-danko-san-francisco",
    "maxReviews": 50,
    "language": "",
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "US",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("scrapeai/yelp-review-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 '{
  "businessUrl": "https://www.yelp.com/biz/gary-danko-san-francisco",
  "maxReviews": 50,
  "language": "",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}' |
apify call scrapeai/yelp-review-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapeai/yelp-review-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/dUNlVZ6SzEs8kYgBu/builds/7lGx1f9Lna9WOfrlY/openapi.json
