---
title: "How to Scrape Yelp Reviews (Full Text, Every Page)"
description: "Get full Yelp reviews as JSON: business aliases, search by location, sort by newest or elites, star and keyword filters, owner replies, with code samples."
url: "https://scrapereviews.com/blog/scrape-yelp-reviews"
markdown: "https://scrapereviews.com/blog/scrape-yelp-reviews.md"
published: "2026-11-26"
updated: "2026-11-26"
---

# How to scrape Yelp reviews beyond the three-excerpt limit

Published 2026-11-26 · Updated 2026-11-26 · By ScrapeReviews

Yelp is where people in the US, and in a good part of Canada and Europe, review restaurants, salons, dentists and plumbers. For a local business, the last fifty Yelp reviews say more about what customers want than most surveys. The problem is getting them: the official Yelp Fusion API is designed to display businesses, and its reviews endpoint returns, as far as its documentation goes, up to three short excerpts per business. This guide shows how to read the full Yelp reviews of a business, page after page, as JSON with ScrapeReviews, an independent API not affiliated with Yelp.

## Find the business

Every Yelp business has an **alias**, the end of its URL: `yelp.com/biz/gary-danko-san-francisco` has the alias `gary-danko-san-francisco`. That is the id to pass in the paths below. The encrypted id Yelp uses internally works too; the API returns it in `extra.encid`.

If you only have a name, search. Yelp's search needs a place, so pass `location` (a city, a neighbourhood or an address) along with `query`: without it you get few or no businesses. The search uses Yelp's suggestions and usually returns 1 to 5 businesses with their alias, name and rating.

```bash title="cURL"
curl "https://api.scrapereviews.com/v1/yelp/businesses/search?query=gary%20danko&location=San%20Francisco,%20CA&limit=5" \
  -H "X-API-Key: $SCRAPEREVIEWS_API_KEY"
```

```python title="Python"
import os
import requests

session = requests.Session()
session.headers["X-API-Key"] = os.environ["SCRAPEREVIEWS_API_KEY"]

found = session.get(
    "https://api.scrapereviews.com/v1/yelp/businesses/search",
    params={"query": "pizza", "location": "Brooklyn, NY", "limit": 5},
    timeout=60,
).json()["data"]
for b in found:
    print(b["handle"], b["name"], b["rating"], b["review_count"])
```

```javascript title="JavaScript"
const headers = { 'X-API-Key': process.env.SCRAPEREVIEWS_API_KEY };
const res = await fetch('https://api.scrapereviews.com/v1/yelp/businesses/gary-danko-san-francisco', { headers });
const { data: biz } = await res.json();
console.log(biz.name, biz.rating, biz.review_count, biz.extra.price_range, biz.extra.city);
```

The business itself is at `/v1/yelp/businesses/{business_id}`: a unified `Entity` with `rating` (1 to 5 stars), `review_count` and an `extra` holding `alias`, `encid`, `address`, `city`, `region`, `postal_code`, `latitude`, `longitude`, `phone`, `price_range`, `neighborhoods` and `review_languages`.

## Read the reviews

The reviews route is `/v1/yelp/businesses/{business_id}/reviews`: up to 20 reviews per call (one Yelp page), newest first by default, with a cursor.

```bash title="cURL"
curl "https://api.scrapereviews.com/v1/yelp/businesses/gary-danko-san-francisco/reviews?sort=recent&stars=1,2&limit=20" \
  -H "X-API-Key: $SCRAPEREVIEWS_API_KEY"
```

```python title="Python"
def reviews(business, **params):
    cursor = None
    while True:
        page = session.get(
            f"https://api.scrapereviews.com/v1/yelp/businesses/{business}/reviews",
            params={**params, "limit": 20, "cursor": cursor},
            timeout=90,
        ).json()
        yield from page["data"]
        cursor = page["meta"]["next_cursor"]
        if not cursor:
            return

for r in reviews("gary-danko-san-francisco", search="service", since="2026-01-01"):
    elite = "elite" if r["extra"]["author_is_elite"] else ""
    print(r["rating"], r["published_at"][:10], elite, r["extra"]["reactions"], r["text"][:80])
```

```javascript title="JavaScript"
const url = 'https://api.scrapereviews.com/v1/yelp/businesses/gary-danko-san-francisco/reviews?sort=elites&limit=20';
const page = await (await fetch(url, { headers })).json();
for (const r of page.data) {
  console.log(r.rating, r.extra.previous_review_count, r.owner_reply?.text ?? '', r.text.slice(0, 80));
}
```

A Yelp review has the unified fields (`rating`, `text`, `language`, `published_at`, `helpful_count`, a pseudonymised `author` with `review_count`, and `owner_reply` when the business answered publicly) plus an `extra` with:

- `author_is_elite`: the reviewer belongs to the Yelp Elite programme, frequent and trusted reviewers.
- `previous_review_count`: earlier reviews by the same person of this business, a sign of a regular customer.
- `reactions`: the counts of `helpful`, `thanks`, `love_this` and `oh_no`.
- `photo_count`, `check_in_count` and `is_first_reviewer`.

## Sorting and filters: who applies what

Yelp sorts and filters some things itself, and the API applies the others on each page of 20 reviews it reads. The difference matters for cost and for `meta.total`.

| Parameter | Values | Applied by |
|---|---|---|
| `sort` | `recent` (default), `relevant`, `oldest`, `highest`, `lowest`, `elites` | Yelp |
| `stars` | e.g. `1,2` | Yelp (on our side when combined with `search`) |
| `search` | words the review mentions, e.g. `parking` | Yelp |
| `language` | ISO 639-1 code | each page, on our side |
| `since`, `until` | dates | each page, on our side |

With only Yelp's filters, `meta.total` is Yelp's count. With `language`, `since` or `until`, it is null, and a page whose 20 reviews all fall outside the filter comes back empty with `has_more: true` and is not billed: keep following the cursor. With the default newest-first order, a `since` window ends as soon as the reviews get older than it.

`sort=elites` puts the reviews of Elite members first: useful when you want a short, high-signal sample of a busy business.

**Sorting by rating on very large businesses.** `highest` and `lowest` make Yelp sort the whole list, and on businesses with thousands of reviews that can be slow enough to end in a 504 `upstream_timeout` (free). If you want the negative reviews, use `stars=1,2` with the default order instead: same reviews, newest first, and fast.

## What you get, and what you do not

The API reads the reviews Yelp **recommends**, the ones shown on the business page and counted in its rating. Reviews Yelp files as "not recommended" are not included, and the end of the list is the end of the recommended reviews, so `meta.complete` is always true. For most analyses this is what you want anyway: it is the set of reviews your customers actually see.

## Signals worth keeping

Yelp reviews carry more context than a rating and a text, and a little of it goes a long way in analysis:

- **Elite authors.** Elite members write often and in detail, and their reviews tend to be read more. Tracking the share of Elite reviews, and their average rating against everyone else's, tells you whether your most influential reviewers are happy.
- **Returning customers.** `previous_review_count` above zero means the person reviewed this business before. A regular who drops from five stars to two is a stronger signal than a first-time visitor's complaint.
- **Reactions.** `reactions.helpful` and `love_this` show which reviews other users found useful; sort your sample by them when you need the reviews that shape opinion.
- **Owner replies.** Measure how many negative reviews got a public reply and how fast, comparing `owner_reply.published_at` with `published_at`. Response rate is one of the easiest numbers for a local business to improve.

## Use case: what customers complain about, block by block

A multi-location restaurant group, a franchise or an agency managing local listings can run the same loop every week: for each location, read the reviews since the last run, keep the 1-star and 2-star ones, and group them by topic with `search` (`wait`, `price`, `parking`, `rude`). Compare with the competitors two doors down, found through search with the same `location`. The method is the one in [competitor review monitoring](https://scrapereviews.com/blog/competitor-review-monitoring.md); for hotels and attractions, add Tripadvisor reviews. Before storing review texts, read [is it legal to scrape reviews?](https://scrapereviews.com/blog/is-it-legal-to-scrape-reviews.md): authors are pseudonymised, but the use you make of the data is your responsibility.

## Costs and errors

- 1 credit per successful call, up to 20 reviews in it; search and business details are 1 credit each. Failed calls cost nothing.
- Unknown business: 404 `entity_not_found`. A bad parameter: 400 `invalid_parameter`. Yelp unreachable or slow: 503 `upstream_blocked` or 504 `upstream_timeout`. The list is in [errors](https://scrapereviews.com/docs/errors.md).
- Every parameter is documented in the reference: [search](https://scrapereviews.com/docs/api/yelp-search.md), [business](https://scrapereviews.com/docs/api/yelp-business.md), [reviews](https://scrapereviews.com/docs/api/yelp-reviews.md), and in the overview of the [Yelp Reviews API](https://scrapereviews.com/yelp-reviews-api.md).

## Start with one business

[Create a free account](https://scrapereviews.com/auth/sign-up) and get 30 free calls every month, no card needed: enough to read the latest reviews of your business and its neighbours today. The [getting started guide](https://scrapereviews.com/docs.md) shows the first request, and the [SDKs](https://scrapereviews.com/docs/sdks.md) wrap the cursor for you.


## Frequently asked questions

### Why not use the Yelp Fusion API?

The official Yelp API is built for showing businesses, not for analysing reviews: as far as its public documentation goes, it returns up to three short review excerpts per business. To read the full texts and every page of reviews you need another way to get them.

### What is the business id on Yelp?

The alias at the end of the business URL: yelp.com/biz/gary-danko-san-francisco gives gary-danko-san-francisco. The encrypted id that the API returns in extra.encid works too.

### Do I get the reviews Yelp does not recommend?

No. The API reads the recommended reviews, the ones Yelp shows on the business page and counts in its rating. The reviews Yelp hides as not recommended are not included.

### Why does sorting by rating sometimes time out?

On businesses with thousands of reviews, Yelp can be slow to sort by rating and the call ends with a 504 that costs nothing. Use the stars filter with the default newest-first order instead: it gives the same reviews and answers quickly.

## Related guides

- [Competitor review monitoring: track rivals on Trustpilot with Python](https://scrapereviews.com/blog/competitor-review-monitoring.md): Track competitors on Trustpilot: rating trend, review volume, reply rate and complaint themes, with a Python script that alerts you when something drops.
- [Is it legal to scrape reviews? A practical guide to the rules](https://scrapereviews.com/blog/is-it-legal-to-scrape-reviews.md): Is scraping reviews legal? What terms of service, GDPR, database rights, copyright and US case law say, and a checklist for using review data responsibly.
