# Yelp Reviews Scraper | $3/1K | Real-Time (No Cache) (`apivault_labs/yelp-reviews-scraper`) Actor

Scrape Yelp business reviews in real-time — reviewer, rating, text, date. Up to ~20-30 recent reviews per business.

- **URL**: https://apify.com/apivault\_labs/yelp-reviews-scraper.md
- **Developed by:** [Apivault Labs](https://apify.com/apivault_labs) (community)
- **Categories:** Lead generation
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 review extracteds

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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 Reviews Scraper | $3/1K | Real-Time, No Login

Scrape Yelp business reviews in real-time. Get reviewer name, location, rating, review text, date, photo counts, and helpful-funny-cool reactions. No login, no API key.

### ✨ Key Features

- 🔄 Real-time scraping — always fresh reviews
- ⭐ Rating, date, full review text
- 👤 Reviewer name, location, friends and review count
- 📷 Number of photos in each review
- 👍 Useful / Funny / Cool reaction counts
- 🧲 Auto-deduplication across pages
- 🔒 No login, no API key

### Input

```json
{
  "businessUrls": [
    "https://www.yelp.com/biz/tartine-bakery-san-francisco"
  ],
  "maxPages": 3,
  "sortBy": "date_desc"
}
````

#### How to get a Yelp business URL

1. Open [Yelp](https://www.yelp.com) and find the business
2. Click the business card to open the page
3. Copy the URL — it looks like `https://www.yelp.com/biz/tartine-bakery-san-francisco`

#### Input Parameters

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `businessUrls` | string\[] | ✅ | Yelp business page URLs |
| `maxPages` | int | ❌ | Pages per business, 1-5 (default: 3, ~10 reviews per page) |
| `sortBy` | string | ❌ | `date_desc` / `date_asc` / `rating_desc` / `rating_asc` / `elites_desc` (default: `date_desc`) |
| `extractReviewer` | bool | ❌ | Reviewer name (default: true) |
| `extractReviewerLocation` | bool | ❌ | Reviewer location (default: true) |
| `extractReviewerStats` | bool | ❌ | Friends + total reviews count (default: true) |
| `extractRating` | bool | ❌ | 1-5 star rating (default: true) |
| `extractDate` | bool | ❌ | Review date (default: true) |
| `extractText` | bool | ❌ | Full review text (default: true) |
| `extractPhotosCount` | bool | ❌ | Number of photos attached (default: true) |
| `extractReactions` | bool | ❌ | Useful/Funny/Cool counts (default: true) |
| `extractBusinessName` | bool | ❌ | Include business slug on each row (default: true) |
| `maxConcurrency` | int | ❌ | Parallel page scrapes (default: 2) |
| `timeout` | int | ❌ | Timeout per page in seconds (default: 180) |

### Output

One dataset row per review:

```json
{
  "success": true,
  "businessUrl": "https://www.yelp.com/biz/tartine-bakery-san-francisco",
  "businessSlug": "tartine-bakery-san-francisco",
  "reviewerName": "Jasmine C.",
  "reviewerLocation": "San Francisco, CA",
  "reviewerFriends": "25",
  "reviewerReviewsCount": "127",
  "rating": 5,
  "reviewDate": "05/09/2026",
  "text": "I've been coming to Tartine for years and it never disappoints...",
  "photosCount": "2",
  "usefulCount": "5",
  "funnyCount": "1",
  "coolCount": "3"
}
```

### Use Cases

- Monitor your restaurant / shop reputation on Yelp
- Analyze competitor reviews and ratings
- Build datasets for sentiment analysis
- Track customer complaints in real time
- Gather testimonials for marketing
- Local SEO audits

### Pricing

- **$0.003 per review** ($3 per 1,000 reviews)
- You pay only for unique reviews actually extracted
- Duplicates across pages are deduplicated and charged once

### How it works

The actor fetches the Yelp business page for each URL with the chosen sort order, paginating through `start=10`, `start=20`, etc. Thunderbit's rendering engine pulls ~10 reviews per page. Duplicates (same reviewer + text) are filtered before pushing to the dataset.

### Important Notes (read before running)

- **Yelp limits anonymous access.** Expect roughly **20-30 recent reviews** per business in practice. Not 100+ like on Trustpilot.
- **Deeper pagination often returns empty.** `maxPages: 3` is the sweet spot. Requesting 5 pages won't double the results.
- **Small or new businesses** may return only 3-5 reviews total.
- Reviews returned come directly from Yelp's public pages. No private / hidden reviews.
- For maximum coverage combine two runs with different `sortBy` values (e.g. `date_desc` + `elites_desc`) and dedupe in your pipeline.

### Tips

- Use `sortBy: date_desc` to capture the latest customer feedback (most useful for monitoring).
- Use `sortBy: rating_desc` + `rating_asc` in separate runs to capture the most positive and most negative opinions.
- Keep `maxConcurrency: 2` — Yelp is sensitive to concurrent requests.
- If you're looking for a high-volume review source with hundreds of reviews per company, consider our **Trustpilot Reviews Scraper** instead.

# Actor input Schema

## `businessUrls` (type: `array`):

List of Yelp business page URLs (e.g. https://www.yelp.com/biz/tartine-bakery-san-francisco)

## `maxPages` (type: `integer`):

How many review pages to attempt per business (each ~10 reviews). Recommended: 2-3. Yelp caps most businesses around 20-30 recent reviews.

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

Which review order to request

## `extractReviewer` (type: `boolean`):

Extract reviewer display name

## `extractReviewerLocation` (type: `boolean`):

Extract reviewer city / location

## `extractReviewerStats` (type: `boolean`):

How many friends and reviews the author has on Yelp

## `extractRating` (type: `boolean`):

Extract star rating 1-5

## `extractDate` (type: `boolean`):

Extract review date

## `extractText` (type: `boolean`):

Extract review body text

## `extractPhotosCount` (type: `boolean`):

How many photos are attached to the review

## `extractReactions` (type: `boolean`):

Extract Useful / Funny / Cool reaction counts

## `extractBusinessName` (type: `boolean`):

Include business slug on each review row

## `maxConcurrency` (type: `integer`):

Parallel page scrapes (recommended: 2)

## `timeout` (type: `integer`):

Max wait time per Yelp page

## Actor input object example

```json
{
  "businessUrls": [
    "https://www.yelp.com/biz/tartine-bakery-san-francisco"
  ],
  "maxPages": 3,
  "sortBy": "date_desc",
  "extractReviewer": true,
  "extractReviewerLocation": true,
  "extractReviewerStats": true,
  "extractRating": true,
  "extractDate": true,
  "extractText": true,
  "extractPhotosCount": true,
  "extractReactions": true,
  "extractBusinessName": true,
  "maxConcurrency": 2,
  "timeout": 180
}
```

# 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 = {
    "businessUrls": [
        "https://www.yelp.com/biz/tartine-bakery-san-francisco"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("apivault_labs/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 = { "businessUrls": ["https://www.yelp.com/biz/tartine-bakery-san-francisco"] }

# Run the Actor and wait for it to finish
run = client.actor("apivault_labs/yelp-reviews-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "businessUrls": [
    "https://www.yelp.com/biz/tartine-bakery-san-francisco"
  ]
}' |
apify call apivault_labs/yelp-reviews-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=apivault_labs/yelp-reviews-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Yelp Reviews Scraper | $3/1K | Real-Time (No Cache)",
        "description": "Scrape Yelp business reviews in real-time — reviewer, rating, text, date. Up to ~20-30 recent reviews per business.",
        "version": "1.0",
        "x-build-id": "yrQNkVBZXrGDd5gZs"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/apivault_labs~yelp-reviews-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-apivault_labs-yelp-reviews-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/apivault_labs~yelp-reviews-scraper/runs": {
            "post": {
                "operationId": "runs-sync-apivault_labs-yelp-reviews-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/apivault_labs~yelp-reviews-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-apivault_labs-yelp-reviews-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "businessUrls"
                ],
                "properties": {
                    "businessUrls": {
                        "title": "Yelp Business URLs",
                        "type": "array",
                        "description": "List of Yelp business page URLs (e.g. https://www.yelp.com/biz/tartine-bakery-san-francisco)",
                        "items": {
                            "type": "string"
                        }
                    },
                    "maxPages": {
                        "title": "Pages per business",
                        "minimum": 1,
                        "maximum": 5,
                        "type": "integer",
                        "description": "How many review pages to attempt per business (each ~10 reviews). Recommended: 2-3. Yelp caps most businesses around 20-30 recent reviews.",
                        "default": 3
                    },
                    "sortBy": {
                        "title": "Sort reviews by",
                        "enum": [
                            "date_desc",
                            "date_asc",
                            "rating_desc",
                            "rating_asc",
                            "elites_desc"
                        ],
                        "type": "string",
                        "description": "Which review order to request",
                        "default": "date_desc"
                    },
                    "extractReviewer": {
                        "title": "Reviewer Name",
                        "type": "boolean",
                        "description": "Extract reviewer display name",
                        "default": true
                    },
                    "extractReviewerLocation": {
                        "title": "Reviewer Location",
                        "type": "boolean",
                        "description": "Extract reviewer city / location",
                        "default": true
                    },
                    "extractReviewerStats": {
                        "title": "Reviewer Stats (friends, reviews count)",
                        "type": "boolean",
                        "description": "How many friends and reviews the author has on Yelp",
                        "default": true
                    },
                    "extractRating": {
                        "title": "Rating",
                        "type": "boolean",
                        "description": "Extract star rating 1-5",
                        "default": true
                    },
                    "extractDate": {
                        "title": "Review Date",
                        "type": "boolean",
                        "description": "Extract review date",
                        "default": true
                    },
                    "extractText": {
                        "title": "Review Text",
                        "type": "boolean",
                        "description": "Extract review body text",
                        "default": true
                    },
                    "extractPhotosCount": {
                        "title": "Review Photos Count",
                        "type": "boolean",
                        "description": "How many photos are attached to the review",
                        "default": true
                    },
                    "extractReactions": {
                        "title": "Useful / Funny / Cool counts",
                        "type": "boolean",
                        "description": "Extract Useful / Funny / Cool reaction counts",
                        "default": true
                    },
                    "extractBusinessName": {
                        "title": "Business Name",
                        "type": "boolean",
                        "description": "Include business slug on each review row",
                        "default": true
                    },
                    "maxConcurrency": {
                        "title": "Max Concurrency",
                        "minimum": 1,
                        "maximum": 4,
                        "type": "integer",
                        "description": "Parallel page scrapes (recommended: 2)",
                        "default": 2
                    },
                    "timeout": {
                        "title": "Timeout per page (seconds)",
                        "minimum": 60,
                        "maximum": 300,
                        "type": "integer",
                        "description": "Max wait time per Yelp page",
                        "default": 180
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
