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

Collects Yelp business reviews with reviewer details, ratings, dates, review text, photos, feedback counts, Elite status, and owner replies. Supports multiple businesses, flexible sorting, language selection, and up to 200 reviews per business.

- **URL**: https://apify.com/moving\_beacon-owner1/yelp-review-scraper.md
- **Developed by:** [Jamshaid Arif](https://apify.com/moving_beacon-owner1) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $9.99 / 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?

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

Collects reviews from Yelp business pages. Give it one or more businesses (page URLs or slugs) and it returns each review with the reviewer's name, home location, review / friend / photo counts, Elite status and profile photo, the star rating, date, full review text, any photos attached to the review, the useful / funny / cool feedback counts, check-in and updated-review flags, and the business owner's public reply when there is one — plus the business's overall rating, total review count and categories on every record.

### Input

| Field | Default | Description |
|---|---|---|
| Businesses | `["garaje-san-francisco"]` | Yelp business page URLs (`https://www.yelp.com/biz/<slug>`) or just the slugs. |
| Max reviews per business | `20` | Maximum number of reviews to return per business (up to 200). |
| Sort order | `newest` | `newest`, `oldest`, `highest_rated`, `lowest_rated` or `most_relevant`. |
| Review language | `en` | Two-letter language code of the reviews to collect. |
| Proxy configuration | Apify proxy | Optional. Enable a US-based proxy for the most reliable results. |

### Output

One dataset record per review:

```json
{
    "business_name": "Garaje",
    "business_alias": "garaje-san-francisco",
    "business_url": "https://www.yelp.com/biz/garaje-san-francisco",
    "business_rating": 4.2,
    "business_reviews_count": 1829,
    "business_categories": ["Breakfast & Brunch"],
    "review_id": "tNt2pmNCRiYB1zyrDab3Vg",
    "reviewer_name": "Mark P.",
    "reviewer_location": "Burlingame, CA",
    "reviewer_reviews_count": 17,
    "reviewer_friends_count": 0,
    "reviewer_photos_count": 4,
    "reviewer_elite_year": null,
    "reviewer_profile_photo": "https://s3-media0.fl.yelpcdn.com/photo/.../30s.jpg",
    "rating": 4,
    "date": "2026-07-25T18:42:06Z",
    "text": "A couple of friends recommended stopping here before a Giants game...",
    "language": "en",
    "useful_count": 0,
    "funny_count": 0,
    "cool_count": 0,
    "photos": [{ "url": "https://s3-media0.fl.yelpcdn.com/bphoto/.../348s.jpg", "caption": "Beignet Flight!" }],
    "photos_count": 1,
    "check_in_count": 0,
    "is_first_review": false,
    "is_updated_review": false,
    "previous_reviews_count": 0,
    "owner_reply_text": "Thank you for the excellent review!",
    "owner_reply_date": "2026-07-26T15:02:11Z",
    "raw": { ... }
}
```

### Notes

- Runs with completely empty input (collects reviews for a sample business).
- Enable a US-based proxy for the most reliable results.
- Reviews are public Yelp content; use the data in line with Yelp's terms of service, e.g. for research.

# Actor input Schema

## `businesses` (type: `array`):

Yelp businesses to collect reviews from — full page URLs (https://www.yelp.com/biz/<slug>) or just the slugs.

## `max_reviews` (type: `integer`):

Maximum number of reviews to return per business. Reviews are collected 10 per page.

## `sort` (type: `string`):

Order in which reviews are collected.

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

Two-letter language code of the reviews to collect (e.g. 'en').

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

Proxy settings for the run. Enable a US-based proxy for the most reliable results, especially for sites that limit non-US or datacenter traffic. Optional — leave off to run directly.

## Actor input object example

```json
{
  "businesses": [
    "garaje-san-francisco"
  ],
  "max_reviews": 20,
  "sort": "newest",
  "language": "en",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

# 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 = {
    "businesses": [
        "garaje-san-francisco"
    ],
    "max_reviews": 20,
    "sort": "newest",
    "language": "en",
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "US"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("moving_beacon-owner1/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 = {
    "businesses": ["garaje-san-francisco"],
    "max_reviews": 20,
    "sort": "newest",
    "language": "en",
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "US",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("moving_beacon-owner1/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 '{
  "businesses": [
    "garaje-san-francisco"
  ],
  "max_reviews": 20,
  "sort": "newest",
  "language": "en",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}' |
apify call moving_beacon-owner1/yelp-review-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,moving_beacon-owner1/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/aw92bkMp9Zm1jSHrC/builds/efKEIVcuswy920X6n/openapi.json
