# Yelp Business Scraper - Reviews, Ratings, Hours & Contact Info (`thirdwatch/yelp-business-scraper`) Actor

Scrape Yelp business details: name, rating, reviews, price range, categories, address, phone, website, hours, coordinates.

- **URL**: https://apify.com/thirdwatch/yelp-business-scraper.md
- **Developed by:** [Thirdwatch](https://apify.com/thirdwatch) (community)
- **Categories:** Lead generation, News, Other
- **Stats:** 5 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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 Business Scraper

> **Thirdwatch portfolio:** 5K users across 88 public Actors, 2M+ records delivered, and >99% run success. [Explore all Thirdwatch Actors](https://apify.com/thirdwatch).

> Scrape Yelp business details — name, rating, review counts, price range, categories, full address, phone, website, hours, and GPS coordinates.

### What you get

Business data from Yelp for any US location. Pass direct Yelp URLs or business slugs, or search by query (e.g., "best pizza new york") and the scraper resolves the Yelp business pages automatically. Returns ratings, review counts, price range, categories, address, phone, website, hours of operation, and GPS coordinates — ideal for lead generation, local SEO, and competitive analysis.

### Output fields

| Field | Description |
|-------|-------------|
| `business_name` | Business name |
| `rating` | Yelp rating (1-5) |
| `reviews_count` | Number of reviews |
| `price_range` | Price level ($, $$, $$$, $$$$) |
| `categories` | Business categories (e.g., "Italian", "Pizza") |
| `address` | Street address |
| `city` | City |
| `state` | US state |
| `phone` | Phone number |
| `website` | Business website URL |
| `hours` | Opening hours by day |
| `latitude` | GPS latitude |
| `longitude` | GPS longitude |
| `image_url` | Business photo URL |
| `is_claimed` | Whether the business is claimed on Yelp |
| `url` | Yelp business page URL |

### Example output

```json
{
    "business_name": "Joe's Pizza",
    "rating": 4.5,
    "reviews_count": 2300,
    "price_range": "$",
    "categories": ["Pizza", "Italian"],
    "address": "7 Carmine St",
    "city": "New York",
    "state": "NY",
    "phone": "(212) 366-1182",
    "website": "https://joespizzanyc.com/",
    "hours": {"Mon": "10:00 AM - 4:00 AM", "Tue": "10:00 AM - 4:00 AM"},
    "latitude": 40.7303,
    "longitude": -74.0023,
    "image_url": "https://s3-media1.fl.yelpcdn.com/bphoto/example.jpg",
    "is_claimed": true,
    "url": "https://www.yelp.com/biz/joes-pizza-new-york"
}
```

### Input parameters

| Parameter | Required | Description |
|-----------|----------|-------------|
| `businessUrls` | No\* | List of Yelp business URLs or slugs (e.g., `"gary-danko-san-francisco"` or `"https://yelp.com/biz/gary-danko-san-francisco"`). |
| `searchQueries` | No\* | Search queries to find businesses (e.g., `["best pizza new york", "plumber san francisco"]`). |
| `maxResults` | No | Maximum businesses to scrape (1-500). Default `5`. |
| `proxyConfiguration` | No | Proxy settings. Leave default for best results. |

\*At least one of `businessUrls` or `searchQueries` must be provided.

### Use cases

- **Lead generation**: Build prospect lists of local businesses with phone, website, and address for cold outreach.
- **Market research**: Analyse business density, rating bands, and category mix in any US city.
- **Competitor analysis**: Benchmark ratings and review volumes across a named set of competitors.
- **Local SEO**: Audit Yelp listings at scale and track rating/review trends over time.
- **Data enrichment**: Append Yelp ratings, categories, and verified contact details to CRM records.
- **Location intelligence**: Use GPS coordinates to map businesses around a property or territory.

### Pricing

Pay-per-result pricing. Tiered discounts apply automatically based on usage volume.

| Tier | Price per result |
|------|------------------|
| FREE | $0.008 |
| BRONZE | $0.006 |
| SILVER | $0.005 |
| GOLD | $0.004 |

### Limitations

- Primarily US-focused — Yelp's strongest market. International coverage is thin.
- Individual review text is not extracted; only star ratings and review counts.
- Some smaller businesses have incomplete data (missing hours, website, or coordinates).
- Search mode resolves Yelp URLs via Google, so search-query results depend on Google's index for that business.
- Very new or unclaimed listings occasionally lack phone or website data on Yelp itself.

### Compared to alternatives

- **vs. yin/yelp-scraper** (~$10/1K results): Our $4-$8/1K tiered pricing is meaningfully cheaper at scale, with the same fields plus GPS coordinates and claimed status.
- **vs. Yelp Fusion API**: Fusion requires approval, rate-limits heavily, and doesn't expose claimed-status or full detail — this actor fills that gap for research and enrichment.

Pairs well with [Google Maps Scraper](https://apify.com/thirdwatch/google-maps-scraper?fpr=9m2cd6) and [TripAdvisor Scraper](https://apify.com/thirdwatch/tripadvisor-scraper?fpr=9m2cd6) for complete local-business intelligence.

### FAQ

**Can I just pass business names instead of Yelp URLs?**
Yes — use `searchQueries`. Each query becomes a Google search for the matching Yelp business page. For known businesses, passing the slug directly via `businessUrls` is faster and more reliable.

**Does this include review text?**
No. Only the review count and rating are returned. Individual review bodies are not scraped.

**Can I scrape non-US businesses?**
Yelp does cover some international cities, but coverage and data quality drop significantly outside the US.

**How fresh is the data?**
Pulled live at run time — as fresh as Yelp itself.

Last verified: 2026-04

More scrapers at [thirdwatch.dev](https://thirdwatch.dev).

# Actor input Schema

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

List of Yelp business URLs (e.g. 'https://yelp.com/biz/gary-danko-san-francisco') or just slugs (e.g. 'gary-danko-san-francisco').

## `searchQueries` (type: `array`):

Search for businesses instead of providing URLs. Each query searches Google for 'site:yelp.com/biz {query}'. Examples: 'best pizza new york', 'plumber san francisco', 'thai restaurant chicago'.

## `maxResults` (type: `integer`):

Maximum number of businesses to scrape.

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

Proxy settings. Leave default for best results.

## Actor input object example

```json
{
  "businessUrls": [
    "gary-danko-san-francisco"
  ],
  "searchQueries": [],
  "maxResults": 5,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# 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 = {
    "businessUrls": [
        "gary-danko-san-francisco"
    ],
    "maxResults": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("thirdwatch/yelp-business-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": ["gary-danko-san-francisco"],
    "maxResults": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("thirdwatch/yelp-business-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 '{
  "businessUrls": [
    "gary-danko-san-francisco"
  ],
  "maxResults": 5
}' |
apify call thirdwatch/yelp-business-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,thirdwatch/yelp-business-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/KNuXKDyaSQ9yjiD3A/builds/40Aqx4RtjSYrTasht/openapi.json
