# Yelp Business Details API (`johnvc/yelp-place-api`) Actor

Scrape full Yelp business profiles by place ID - name, rating, reviews, price, categories, phone, address, website, hours, amenities, popular dishes, photos, and review highlights. Optional full menu extraction. Batch many businesses per run.

- **URL**: https://apify.com/johnvc/yelp-place-api.md
- **Developed by:** [John](https://apify.com/johnvc) (community)
- **Categories:** Lead generation, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 4 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $0.01 / 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.

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 Business Details API | Profiles, Hours, Menus & Amenities (MCP-ready)

> **Scrape full Yelp business profiles by place ID and get clean JSON back. Name, rating, review count, price, categories, phone, address, website, hours, amenities, popular dishes, photos, and review highlights - plus optional full menu extraction. Batch many businesses per run. MCP-ready for Claude, ChatGPT, Cursor, and other AI agents.**

Give the Actor one or more Yelp place IDs and it returns the complete business profile Yelp shows on each business page: name, "about" text, rating and review count, price tier, categories, photos, website, phone, full address and neighborhoods, day-by-day operation hours (including special/holiday hours), the full amenities and features list, popular dishes, review highlights, community Q&A, and health inspection scores. Flip on `full_menu` to pull the structured menu (sections, dishes, descriptions, and prices) instead.

This is the **details stage** of a 3-actor Yelp suite. Get place IDs from the **Yelp Search API**, fetch full profiles here, and pull reviews with the **Yelp Reviews API**. Predictable per-business pricing, structured JSON, no browsers or captchas.

---

### What this Actor returns

For each place ID, one dataset item containing:

- **Core profile** - name, rating, review count, price, categories, `is_claimed`, "about" / history.
- **Contact & location** - phone, website, full address, cross streets, neighborhoods, country, directions link.
- **Hours** - per-day operation hours with `currently_open` and special/holiday hours.
- **Amenities** - the complete features list (delivery, takeout, reservations, accessibility, parking, payments, and more) with active flags.
- **Extras** - popular items, review highlights, community questions, health provider score, and photo galleries.
- **Full menu** (optional) - when `full_menu` is on, structured menu sections, dishes, and price variations.

---

### Use with Claude, ChatGPT, Cursor & other AI agents (MCP)

This Actor is a first-class tool on the [Apify MCP Server](https://docs.apify.com/platform/integrations/mcp). Any MCP-compatible AI agent - Claude (Desktop, Web, Code), ChatGPT, Cursor, VS Code, Cline, Windsurf, Kilo Code, Opencode, Glama - can discover and call it in natural language.

**What an AI agent does with this:**

> User: *"Get the hours, phone, and amenities for Maman in SoHo."*
>
> Agent first calls the Yelp Search API to resolve "Maman SoHo" to a place ID, then calls this Actor with `{"place_ids": ["maman-new-york-22"]}` and returns the hours, phone, and amenities.

New to Claude? Claude Code and the Claude desktop app (which runs Cowork) both come with a free trial: https://claude.ai/referral/uIlpa7nPLg

#### Quick setup - Claude Desktop

Add this to `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) or `%APPDATA%\Claude\claude_desktop_config.json` (Windows):

```json
{
  "mcpServers": {
    "apify": {
      "command": "npx",
      "args": ["-y", "@apify/actors-mcp-server"],
      "env": {
        "APIFY_TOKEN": "YOUR_APIFY_API_TOKEN"
      }
    }
  }
}
````

Restart Claude Desktop, then ask something like *"Pull the full menu for this Yelp restaurant."*

#### Quick setup - Cursor / VS Code / Cline / Windsurf

These editors support **dynamic tool discovery**, so after the first call this Actor is registered as a named tool for the rest of the session. Point your MCP client at:

```
https://mcp.apify.com
```

…with header `Authorization: Bearer YOUR_APIFY_API_TOKEN`. Full setup: [Apify MCP integration docs](https://docs.apify.com/platform/integrations/mcp).

#### Quick setup - ChatGPT (and other static MCP clients)

ChatGPT, Gemini CLI, and Amazon Q connect through the same `https://mcp.apify.com` endpoint and call this Actor via the generic `call-actor` tool.

***

### Use cases

- **Enrich a lead list** - take place IDs from a Yelp search and add phone, website, hours, and amenities to each business.
- **Menu intelligence** - pull structured menus and prices across a set of restaurants.
- **Competitor profiles** - track rating, review count, price tier, and amenities for competitors over time.
- **Local data pipelines** - build a clean business dataset for a category or market.

***

### Input parameters

| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| `place_ids` | array of strings | **Yes** | - | Yelp place IDs or aliases (e.g. `maman-new-york-22`). One profile per ID. Get IDs from the Yelp Search API. |
| `full_menu` | boolean | No | `false` | Fetch the structured full menu instead of the standard profile. |
| `menu_name` | string | No | - | Which menu to scrape when a business has more than one (used with `full_menu`). |
| `business_alert` | boolean | No | `false` | Include the business alert message (e.g. "closed") when present. |
| `yelp_domain` | string | No | `yelp.com` | Regional Yelp domain. |

***

### Example output (one item per place ID)

```json
{
  "place_id": "maman-new-york-22",
  "result_timestamp": "2026-05-26T10:30:00.123456",
  "place_results": {
    "name": "Maman",
    "place_ids": ["DE0ROwygh-86i4s-WLp8wQ", "maman-new-york-22"],
    "rating": 3.9,
    "reviews": 847,
    "price": "$$",
    "categories": [{ "title": "Coffee & Tea" }, { "title": "Bakeries" }],
    "website": "https://www.mamannyc.com",
    "phone": "(212) 226-0700",
    "address": "239 Centre St New York, NY 10013",
    "neighborhoods": ["Little Italy", "SoHo"],
    "operation_hours": { "hours": [{ "day": "Mon", "hours": "7:30 AM - 6:00 PM" }] },
    "features": [{ "title": "Offers Delivery", "is_active": true }],
    "popular_items": [{ "title": "Almond Croissant", "reviews": 28 }]
  },
  "full_menu_results": null,
  "menu_requested": false,
  "menu_returned": false
}
```

***

### Pricing

This Actor uses transparent **pay-per-event** pricing:

| Event | Price | When |
|-------|-------|------|
| Setup | $0.02 | Once per run |
| Place processed | $0.02 | Per business profile fetched |

Looking up 1 business costs about **$0.04**; looking up 10 in one run costs about **$0.22**.

***

### How to get started

1. Open the Actor on the [Apify Store](https://apify.com/johnvc/yelp-place-api).
2. Paste one or more Yelp place IDs into `place_ids`, optionally enable `full_menu`, and click **Start**.
3. Read results from the dataset (JSON, CSV, Excel) or via the [Apify API](https://docs.apify.com/api/v2).

***

### Code example (Python + MCP)

Want a runnable quick-start? The public example repo has a Python (uv) script plus MCP install guides for Claude (Desktop, Code, Web) and Cursor:

**[github.com/johnisanerd/Apify-Yelp-API](https://github.com/johnisanerd/Apify-Yelp-API)**

It shows how the Yelp Search, Business Details, and Reviews APIs chain together - a search returns the `place_ids` that feed the other two.

### FAQ / Troubleshooting

- **Where do place IDs come from?** From the Yelp Search API - every listing includes a `place_ids` array. Use either the encoded ID or the alias.
- **I asked for the full menu but got a profile instead.** That business has no menu page on Yelp. The output sets `menu_returned: false` and returns the standard profile so you still get data.
- **Can I look up many businesses at once?** Yes - pass an array of place IDs. Each is billed as one `place_processed` event.
- **Is this reliable?** Yes - it calls a structured data API, not a headless browser, so there are no captchas or layout breakages.

Learn more about the [Apify MCP integration](https://docs.apify.com/platform/integrations/mcp).

Last Updated: 2026.05.29

# Actor input Schema

## `place_ids` (type: `array`):

List the Yelp place IDs or aliases to look up. Each entry can be the encoded ID (e.g. 'DE0ROwygh-86i4s-WLp8wQ') or the human-readable alias (e.g. 'maman-new-york-22'). Both forms appear in the place\_ids array of every Yelp Search API result. One business profile is returned per ID.

## `full_menu` (type: `boolean`):

Set true to scrape the business full menu (sections, dishes, descriptions, prices) instead of the standard profile. If a business has no menu page, the standard profile is returned instead and flagged in the output. Defaults to false.

## `menu_name` (type: `string`):

Choose which menu to scrape when a business offers more than one (e.g. 'Dinner Menu'). Only used together with Fetch Full Menu. Optional.

## `business_alert` (type: `boolean`):

Set true to include the business alert message when present (e.g. 'Yelpers report this location has closed.'). Defaults to false.

## `yelp_domain` (type: `string`):

Choose which regional Yelp domain to query (e.g. 'yelp.com', 'yelp.co.uk', 'yelp.fr'). Defaults to 'yelp.com'. Optional.

## Actor input object example

```json
{
  "place_ids": [
    "maman-new-york-22"
  ],
  "full_menu": false,
  "business_alert": false,
  "yelp_domain": "yelp.com"
}
```

# Actor output Schema

## `allResults` (type: `string`):

Complete dataset with every business profile returned by the run. Each item contains place\_results (or full\_menu\_results) for one place ID.

## `businessProfiles` (type: `string`):

Filtered view focused on the business profile and full menu for each requested place ID.

# 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 = {
    "place_ids": [
        "maman-new-york-22"
    ],
    "yelp_domain": "yelp.com"
};

// Run the Actor and wait for it to finish
const run = await client.actor("johnvc/yelp-place-api").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 = {
    "place_ids": ["maman-new-york-22"],
    "yelp_domain": "yelp.com",
}

# Run the Actor and wait for it to finish
run = client.actor("johnvc/yelp-place-api").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 '{
  "place_ids": [
    "maman-new-york-22"
  ],
  "yelp_domain": "yelp.com"
}' |
apify call johnvc/yelp-place-api --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Yelp Business Details API",
        "description": "Scrape full Yelp business profiles by place ID - name, rating, reviews, price, categories, phone, address, website, hours, amenities, popular dishes, photos, and review highlights. Optional full menu extraction. Batch many businesses per run.",
        "version": "0.0",
        "x-build-id": "I7F3fnw1R1mzzsH4m"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/johnvc~yelp-place-api/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-johnvc-yelp-place-api",
                "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/johnvc~yelp-place-api/runs": {
            "post": {
                "operationId": "runs-sync-johnvc-yelp-place-api",
                "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/johnvc~yelp-place-api/run-sync": {
            "post": {
                "operationId": "run-sync-johnvc-yelp-place-api",
                "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": [
                    "place_ids"
                ],
                "properties": {
                    "place_ids": {
                        "title": "Place IDs",
                        "minItems": 1,
                        "type": "array",
                        "description": "List the Yelp place IDs or aliases to look up. Each entry can be the encoded ID (e.g. 'DE0ROwygh-86i4s-WLp8wQ') or the human-readable alias (e.g. 'maman-new-york-22'). Both forms appear in the place_ids array of every Yelp Search API result. One business profile is returned per ID.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "full_menu": {
                        "title": "Fetch Full Menu",
                        "type": "boolean",
                        "description": "Set true to scrape the business full menu (sections, dishes, descriptions, prices) instead of the standard profile. If a business has no menu page, the standard profile is returned instead and flagged in the output. Defaults to false.",
                        "default": false
                    },
                    "menu_name": {
                        "title": "Menu Name",
                        "type": "string",
                        "description": "Choose which menu to scrape when a business offers more than one (e.g. 'Dinner Menu'). Only used together with Fetch Full Menu. Optional."
                    },
                    "business_alert": {
                        "title": "Include Business Alert",
                        "type": "boolean",
                        "description": "Set true to include the business alert message when present (e.g. 'Yelpers report this location has closed.'). Defaults to false.",
                        "default": false
                    },
                    "yelp_domain": {
                        "title": "Yelp Domain",
                        "type": "string",
                        "description": "Choose which regional Yelp domain to query (e.g. 'yelp.com', 'yelp.co.uk', 'yelp.fr'). Defaults to 'yelp.com'. Optional."
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
