# Yelp Review Scraper - Reviews, Ratings & Owner Replies (`s-r/yelp-reviews-scraper`) Actor

Yelp web scraper for reviews: public Yelp reviews come out as one row each with full text, star rating, author, date, photos, helpful count and owner reply, linked to the business name, address and rating. For reputation monitoring and review analysis; choose language, sort order and review limit.

- **URL**: https://apify.com/s-r/yelp-reviews-scraper.md
- **Developed by:** [SR](https://apify.com/s-r) (community)
- **Categories:** Business, Marketing, Travel
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 reviews

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

## Yelp Review Scraper

Yelp review scraper collects full public review text, star ratings, authors, dates,
photos, helpful counts and owner replies for one Yelp business, together with the
business row those reviews belong to.

Give it a Yelp business page or a Yelp business ID, choose a language, a sort order
and how many reviews you want, and the dataset delivers one review per row plus one
row for the reviewed business. Use the results for reputation monitoring, customer
feedback analysis, service research and comparisons over time. Each review stays
connected to its business through a stable Yelp business ID and a canonical page
URL, so successive runs can be matched in your own system by review ID.

### What this Yelp review scraper collects

Each dataset row represents one public review that Yelp publishes on a business
page: the complete review text with its paragraph breaks, the star rating, the
reviewer's display name, the publication date, the published photo URLs, the
helpful reaction count and the business reply when one exists. The row also carries
the Yelp business ID and the business page URL it belongs to, so reviews and
businesses join without guessing.

The reviewed business is delivered once per run as its own row: name, Yelp ID,
canonical URL, address components, average rating, Yelp's stated review count,
categories, phone number, price range and coordinates where the source publishes
them. As a Yelp web scraper for reviews, the actor does not return search pages,
business listings per query or arbitrary text matches; it reads the review feed of
one business you name.

Missing optional source values stay missing rather than being guessed. The actor
does not invent author countries, does not claim verified purchases and does not
recreate reviews that Yelp has hidden or removed.

### Yelp review scraper input

Supply exactly one of `business_url` and `business_id`. A business URL must be an
HTTPS business page under `/biz/` on yelp.com, yelp.co.uk or yelp.ca. A business ID
is Yelp's 22-character identifier. For example, Gary Danko's business ID is
`WavvLdfdP6g8aZTtbBQHTw`, and its business page is
`https://www.yelp.com/biz/gary-danko-san-francisco`.

Set `max_reviews` to a whole number from 1 to 10000. The default is 100. This limit
counts unique reviews, excluding the accompanying business row. Select `sort=newest`
for recent feedback, `oldest` to start at the older end of the available feed, or
`recommended` for Yelp's recommended order. The default sort is newest.

Choose `language=en`, `zh` or `nl`. English is the default. This is an explicit
review language filter. The actor does not translate reviews or combine all
languages into one list. A business can exist and still have no reviews in the
selected language. Search pages, arbitrary text queries and shortened redirect
links are not supported inputs.

### Output: reviews and their business

The dataset contains one business row followed by unique review rows. The
`record_type` and `_type` fields distinguish `place` and `review`. The business row
includes its name, Yelp ID and canonical URL, with address components, average
rating, review count, categories, phone number and geographic coordinates when the
source provides them. The field `reviews_count` represents Yelp's stated business
total.

Review rows include `review_id`, `rating`, complete `text`, `author_name`,
`published_at`, `place_id` and `place_url`. The business ID and URL match the
accompanying business row. Review text preserves paragraph breaks. Dates are
provided in UTC; `published_at_local` also preserves the original date with its time
zone offset. Author location and review count are included when available, without
inferring a country from the display location.

`photos` contains published photo URLs and available captions, dimensions and dates.
No photo files are downloaded. An empty list means the review has no published
photos in this response. `owner_reply` contains the published business response and
its available author information, or null when there is no response. `reply_text` is
included when a response exists. Reply dates are preserved exactly, even when they
look unusual.

`likes` means the helpful reaction count. Other reaction types remain separate in
`reactions`; they are not added together as helpful votes. Missing optional source
values are omitted rather than guessed. The actor does not claim verified purchases,
author countries, hidden reviews or reviews removed by Yelp.

### Example output

This is one real review of Gary Danko in San Francisco, exactly as the actor
delivers it (three published photos are part of the row):

```json
{
  "_type": "review",
  "record_type": "review",
  "row_id": "review:962YiGW4KO6blduqxZl3TQ",
  "source": "yelp-reviews-scraper",
  "platform": "yelp",
  "fetched_at": "2026-11-11T14:05:38.997913+00:00",
  "review_id": "962YiGW4KO6blduqxZl3TQ",
  "review_url": "https://www.yelp.com/biz/gary-danko-san-francisco?hrid=962YiGW4KO6blduqxZl3TQ",
  "place_id": "WavvLdfdP6g8aZTtbBQHTw",
  "place_url": "https://www.yelp.com/biz/gary-danko-san-francisco",
  "place_name": "Gary Danko",
  "rating": 5,
  "text": "This is an excellent spot for dinner near Ghirardelli Square. The fillet and lobster risotto were outstanding. Service felt genuinely welcoming, and the atmosphere suited a recognition dinner well.",
  "author_name": "WW T.",
  "published_at": "2026-11-07T22:48:57.000Z",
  "published_at_local": "2026-11-07T14:48:57-08:00",
  "photos": [
    {
      "photo_id": "IBQcJaR5dI32BJPnsTtEyw",
      "url": "https://s3-media0.fl.yelpcdn.com/bphoto/IBQcJaR5dI32BJPnsTtEyw/o.jpg",
      "width": 613,
      "height": 1357,
      "caption": null,
      "created_at": "2026-11-07T22:49:04.000Z"
    },
    {
      "photo_id": "_gsEVCuNKOPsPr5-MNPEgA",
      "url": "https://s3-media0.fl.yelpcdn.com/bphoto/_gsEVCuNKOPsPr5-MNPEgA/o.jpg",
      "width": 1996,
      "height": 1460,
      "caption": null,
      "created_at": "2026-11-07T22:49:09.000Z"
    },
    {
      "photo_id": "b7_4I9w8D_Y1O3aCtLyjPQ",
      "url": "https://s3-media0.fl.yelpcdn.com/bphoto/b7_4I9w8D_Y1O3aCtLyjPQ/o.jpg",
      "width": 2000,
      "height": 1500,
      "caption": null,
      "created_at": "2026-11-07T22:49:14.000Z"
    }
  ],
  "reactions": {
    "HELPFUL": 1,
    "THANKS": 0,
    "LOVE_THIS": 1,
    "OH_NO": 0
  },
  "owner_reply": null,
  "language": "en",
  "author_id": "BA5aif6YRC0loQ9d0eM1Dg",
  "author_location": "Phoenix, United States",
  "author_review_count": 214,
  "likes": 1
}
```

The business row that travels with it reports `name` "Gary Danko", `place_id`
`WavvLdfdP6g8aZTtbBQHTw`, `address` "800 N Point St, San Francisco, CA, 94109, US",
`rating` 4.5, `reviews_count` 6158 and `price_range` "$$$$". The `OUTPUT` record of
the run reports `reviews_delivered`, `places_delivered`, `rows_delivered`,
`has_more`, `feed_exhausted`, `stop_reason` and `next_cursor`.

### Use cases

- **Reputation monitoring:** scrape Yelp reviews for one location every week, match
  on `review_id` and alert on new low ratings or unanswered complaints.
- **Customer feedback analysis:** feed the complete `text`, `rating` and
  `owner_reply` fields into sentiment models and topic reports per location.
- **Service research and competition:** compare your own rating and review count
  with the competing businesses you track, using the business row that ships with
  every run.
- **Review analytics products:** keep `place_id`, `review_id`, `published_at` and
  `rating` as stable keys in your own database, and use `author_review_count` and
  `likes` to weight reviewers.
- **Local market studies:** collect the English, Chinese or Dutch review feed of a
  set of businesses in one language each, so language-specific opinions stay
  comparable over time.

### How this compares with other Yelp review scrapers

Many Yelp scraper products return search results: business names, ratings and
addresses per query, without the review rows behind them. Others promise "reviews"
but deliver only short excerpts, or mix businesses and reviews in one nested object
that is hard to join. This Yelp web scraping actor is built the other way around:
one flat review row per review, one business row per run, a stable `place_id` on
both, and explicit fields for the parts that are usually lost — full review text,
photo URLs, the helpful count, the owner's reply and both the UTC and the original
local publication time.

Where the official Yelp API hands out only limited review snippets through its
business endpoint, this actor reads the public recommended feed that a visitor
actually sees, including its pagination. Where competing Yelp web scraping tools
charge per request or per business page, billing here follows the unique review
rows you receive.

### Pagination and continuing interrupted collection

The actor automatically follows available review pages up to your limit. It removes
duplicate review IDs and retains one business row across the whole run. The result
is an available public recommended feed in the selected language, rather than a
historical archive of everything ever posted about the business.

The key-value store's `OUTPUT` record contains delivered review and business
counts, selected language, sort order and `next_cursor`. If collection stops early,
preserve the cursor and start another run with the original business selector,
options and `max_reviews`, adding that cursor. It continues the same total review
allowance, rather than starting a new allowance. A completed or limit-reached
collection has a null cursor. The underlying feed may change between requests;
continuation does not freeze a snapshot.

Check `feed_exhausted`, `stop_reason`, `has_more`, `partial` and `warnings` when
assessing coverage. The business's headline review count and a language-specific
feed count can differ. Reaching your requested limit does not mean the entire
business history was read.

### Pricing and free plan limits

The review event counts only unique review rows delivered to the dataset. The
accompanying business row does not add a review charge. A valid business with no
reviews in the chosen language produces the business row and zero review events.
Check the current Pricing tab for the published event price and applicable platform
charges.

Users without a paid Apify plan receive at most ten dataset rows per run: one
business row and up to nine reviews. A lower requested limit remains lower. Paid
users can request up to 10000 reviews, subject to the available feed and run
duration. Setting a limit of one for a paid run delivers one review together with
its business row.

### Frequently asked questions

#### Does the Yelp review scraper include every Yelp review?

It collects the available public recommended feed in the selected language. Hidden,
removed and non-recommended reviews are outside the product. Natural feed exhaustion
is reported explicitly; the business headline count is not proof of complete
coverage.

#### Can I obtain business details without any reviews?

Yes. A business with no matching language reviews still produces its business row.
The review count for billing is zero, while its stated overall business rating and
review count remain available when published by Yelp.

#### Are photos and business replies always present?

They appear only when Yelp publishes them for that review. Photo arrays can be
empty, and the business reply can be null. Missing content is never replaced with a
business profile photo or a generated response.

#### Do I need an official Yelp API key to run it?

No. You supply a business page or a business ID and the actor reads the public
review feed itself, so a Yelp API key and partner access to the official Yelp Fusion
API are not part of the input. The official business endpoint also returns only
limited review snippets, while this actor returns the full review text.

#### Can I export the results for analysis?

Yes. Use Apify's dataset exports for JSON, CSV or spreadsheet analysis. Nested
photos and replies are easiest to preserve in JSON. Filter by `record_type` to
separate the business from reviews, and keep `place_id` when joining the two
tables.

#### What if I also need the businesses themselves first?

Start with a Yelp search scraper to turn a term and a city into business pages, then
run this actor on those pages to collect the review rows. Both actors use the same
Yelp business ID, so the two datasets join on `place_id` without cleanup.

# Actor input Schema

## `business_id` (type: `string`):

A 22-character Yelp business ID. Supply exactly one of business_id and business_url.

## `business_url` (type: `string`):

HTTPS /biz/ page on yelp.com, yelp.co.uk or yelp.ca. URL query offsets do not set review volume.

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

Total unique reviews across continuation requests, excluding the accompanying place row.

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

Order of the recommended public review feed.

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

Explicit review feed language. The English feed does not include all languages.

## `cursor` (type: `string`):

Opaque continuation from summary.next_cursor or data.next_cursor. Resubmit the original selector and options.

## Actor input object example

```json
{
  "business_id": "WavvLdfdP6g8aZTtbBQHTw",
  "max_reviews": 100,
  "sort": "newest",
  "language": "en"
}
```

# Actor output Schema

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

One place row followed by unique review rows.

## `summary` (type: `string`):

Delivery counts and next_cursor for an interrupted run.

# 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 = {
    "business_id": "WavvLdfdP6g8aZTtbBQHTw"
};

// Run the Actor and wait for it to finish
const run = await client.actor("s-r/yelp-reviews-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 = { "business_id": "WavvLdfdP6g8aZTtbBQHTw" }

# Run the Actor and wait for it to finish
run = client.actor("s-r/yelp-reviews-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 '{
  "business_id": "WavvLdfdP6g8aZTtbBQHTw"
}' |
apify call s-r/yelp-reviews-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,s-r/yelp-reviews-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/qCuqUf7VoarmOw2gd/builds/IQ1kqYxtQ3KzMmnkv/openapi.json
