---
title: "Yelp Reviews API Endpoint | ScrapeReviews"
description: "Read the reviews of any Yelp business as JSON, newest, relevant or Elite first, filtered by stars, text, language and dates, with owner replies."
url: "https://scrapereviews.com/docs/api/yelp-reviews"
markdown: "https://scrapereviews.com/docs/api/yelp-reviews.md"
---

# Yelp reviews endpoint

GET`https://api.scrapereviews.com/v1/yelp/businesses/{business_id}/reviews`1 credit per call, up to 20 reviews (one Yelp page)

The Yelp reviews endpoint returns the reviews Yelp recommends and shows on a business page, as unified Review objects: star rating, text, language, date, the owner’s public reply, the helpful votes and a pseudonymised author.

Yelp applies the sort, the star filter and the text search; language, since and until are applied by us on each page of 20, and meta.total is then null. Sorting by rating can time out on Yelp’s side for businesses with many thousands of reviews: use the star filter instead.

Authors are pseudonymised: author.id is a stable HMAC of the Yelp user id, with the number of reviews they wrote; names and photos are never returned. extra holds the photo and check-in counts, whether the author is Elite and the reactions (helpful, thanks, love this, oh no).

## Parameters

#### Path parameters

| Parameter    | Type   | Description                                                                                  |
| ------------ | ------ | -------------------------------------------------------------------------------------------- |
| business\_id | string | The alias at the end of the Yelp URL (gary-danko-san-francisco) or the Yelp id (extra.encid) |

#### Query parameters

| Parameter | Type               | Default | Description                                                                |        |        |        |                                                                                                  |
| --------- | ------------------ | ------- | -------------------------------------------------------------------------- | ------ | ------ | ------ | ------------------------------------------------------------------------------------------------ |
| sort      | recent \| relevant | oldest  | highest                                                                    | lowest | elites | recent | Order (applied by Yelp); highest and lowest can time out on businesses with thousands of reviews |
| stars     | string             | all     | Comma-separated star ratings, e.g. 1,2 (applied by Yelp)                   |        |        |        |                                                                                                  |
| language  | string             | all     | ISO 639-1 language code, e.g. en (applied by us on each page)              |        |        |        |                                                                                                  |
| search    | string             | \-      | Text the review must contain (applied by Yelp, max 200 characters)         |        |        |        |                                                                                                  |
| since     | date               | \-      | Published on or after: YYYY-MM-DD or ISO 8601 (applied by us on each page) |        |        |        |                                                                                                  |
| until     | date               | \-      | Published on or before (applied by us on each page)                        |        |        |        |                                                                                                  |
| limit     | integer 1-20       | 20      | Reviews per response (one Yelp page)                                       |        |        |        |                                                                                                  |
| cursor    | string             | \-      | meta.next\_cursor of the previous response, with the same parameters       |        |        |        |                                                                                                  |

Authenticate with your API key in the `X-API-Key` header or as `Authorization: Bearer` (see [authentication](https://scrapereviews.com/docs/authentication.md)).

## Example request

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

## Response

Shape

```text
{ "entity": EntityRef, "data": Review[], "meta": ReviewsMeta }
```

Example (shortened)

```jsonc
{
  "entity": { "source": "yelp", "type": "business", "id": "gary-danko-san-francisco", "handle": "gary-danko-san-francisco",
              "name": "Gary Danko", "url": "https://www.yelp.com/biz/gary-danko-san-francisco",
              "rating": 4.5, "rating_scale": 5, "review_count": 6160 },
  "data": [
    {
      "source": "yelp", "id": "a99qd2Wf42dKGdiEigD1CA", "rating": 2.0, "rating_scale": 5,
      "title": null, "text": "...", "language": "en", "published_at": "2026-11-05T10:56:55-08:00",
      "helpful_count": 3,
      "author": { "id": "u_7a1e3c5b9d0f2a4c6e8b", "country": "US", "review_count": 621, "is_verified": null },
      "owner_reply": { "text": "Thank you for your feedback...", "published_at": "2026-11-06" },
      "url": "https://www.yelp.com/biz/gary-danko-san-francisco?hrid=a99qd2Wf42dKGdiEigD1CA",
      "extra": { "photo_count": 0, "check_in_count": 1, "author_is_elite": true,
                 "reactions": { "helpful": 3, "thanks": 0, "love_this": 1, "oh_no": 0 } }
    }
  ],
  "meta": { "credits_used": 1, "cache_hit": false, "count": 20, "total": 342, "has_more": true, "next_cursor": "eyJ..." , "complete": true }
}
```

Every field is described in the [response models](https://scrapereviews.com/docs/api.md#models). Successful responses also carry the `X-Credits-Used` header.

## Cost

Yelp reviews cost 1 credit per call, up to 20 reviews (one Yelp page). A call that returns no reviews but has meta.has\_more true (a page filtered out by language or dates) costs 0 credits. A limit above 20 is refused with 400 invalid\_parameter.

Only successful calls are billed: every error costs 0 credits. You get 30 free calls every month; see [pricing](https://scrapereviews.com/pricing.md) for credit packs.

## Errors

Errors come with an HTTP status and this JSON body: branch on `detail.error`, show `detail.message` to humans.

Example error

```json
{
  "detail": {
    "error": "entity_not_found",
    "message": "No Yelp business found for 'no-such-business'"
  }
}
```

| HTTP | error                               | Meaning                                                                                                                                         |
| ---- | ----------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| 400  | invalid\_parameter                  | A parameter is invalid: bad domain, stars, language or date, missing query, limit out of range...                                               |
| 401  | missing\_api\_key                   | No API key in X-API-Key or Authorization: Bearer.                                                                                               |
| 401  | invalid\_api\_key                   | The key does not exist or has been revoked.                                                                                                     |
| 402  | insufficient\_credits               | Your credit balance is 0.                                                                                                                       |
| 404  | entity\_not\_found                  | No location, property, business or product with this id on Tripadvisor, Booking.com, Yelp, G2 or Capterra (the source is named in the message). |
| 422  | invalid\_cursor                     | The cursor is malformed, tampered with, or was created for other filters.                                                                       |
| 429  | rate\_limit\_exceeded               | Too many requests per minute.                                                                                                                   |
| 429  | insufficient\_credits\_retry\_later | The balance ran out on recent calls and the key is cooling down.                                                                                |
| 502  | upstream\_changed                   | The source (Trustpilot, App Store or Google Play, named in the message) changed its format and the response could not be read.                  |
| 503  | upstream\_blocked                   | The source is temporarily blocking requests.                                                                                                    |
| 503  | feature\_disabled                   | The endpoint is temporarily switched off by us (detail.feature names it). The call is not billed.                                               |
| 504  | upstream\_timeout                   | The source did not answer in time.                                                                                                              |

What to do for each code: [error handling](https://scrapereviews.com/docs/errors.md).

## Use cases

- Alert your team on new one- and two-star Yelp reviews of your locations.
- Search the reviews of a restaurant for a dish or a word ("parking", "gluten").
- Measure how often and how fast owners reply to reviews.

Related endpoints

- [Yelp business](https://scrapereviews.com/docs/api/yelp-business.md) GET /v1/yelp/businesses/{business\_id}: A Yelp business: rating, review count and distribution, categories, address, phone, price range.
- [Yelp search](https://scrapereviews.com/docs/api/yelp-search.md) GET /v1/yelp/businesses/search: Yelp businesses matching a name near a location (Yelp’s search suggestions).

ScrapeReviews is an independent service and is not affiliated with or endorsed by Yelp.
