# Yelp Business Scraper (`neuro-scraper/yelp-business-scraper`) Actor

Yelp Business Scraper exports full Yelp business profiles: rating, review count, categories, price, address with coordinates, website, opening hours, amenities, history, photos, popular dishes, menu and latest reviews - plus related businesses.

- **URL**: https://apify.com/neuro-scraper/yelp-business-scraper.md
- **Developed by:** [Neuro Scraper](https://apify.com/neuro-scraper) (community)
- **Categories:** Lead generation, Travel
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.19 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### Yelp Business Scraper

**Yelp Business Scraper** exports complete Yelp business profiles - name, star rating, review count, categories, price range, full address with coordinates, website, opening hours and open-now status, amenities, history and specialties, owner, photos, popular dishes, menu items, health score and the latest reviews. Made for lead generation, local SEO, market research, franchise analysis and data teams who need clean Yelp business data.

> **Also from Neuro Scraper:** need short videos too? Try the [Facebook Reels Scraper](https://apify.com/neuro-scraper/facebook-reels-scraper) - reels, views, likes, captions and video links in one table.

The Yelp Business Scraper runs in the cloud on Apify: give it what you are looking for, press Start, and download a clean table of businesses as JSON, CSV, Excel or HTML - or pull it from the API. No account, no login and no browser extension are needed, and the Yelp Business Scraper keeps every column in the same order on every row so your spreadsheet formulas never break.

#### What the Yelp Business Scraper gives you

- `rowType` - `business`, or `dish` for the optional dish rows.
- `type` - Same as rowType.
- `id` - Yelp business id (dish rows: business id + dish name).
- `bizId` - Yelp business id.
- `businessId` - Yelp business id (alias).
- `identifier` - Yelp business id (alias).
- `alias` - Business alias - the part after /biz/ in the address.
- `name` - Business name.
- `display_name` - Business name (alias).
- `title` - Business name (alias).
- `url` - Business page URL.
- `directUrl` - Business page URL (alias).

The full list of 78 columns is in [Output fields](#output-fields) below.

### How to use the Yelp Business Scraper

1. Open the Yelp Business Scraper in Apify Console and click **Try for free** (or **Start** if you already use it).
2. Fill in the input form - the prefilled values already return results, so you can simply press Start first.
3. Set the maximum number of businesses you want; small runs are quick and cheap.
4. Click **Start** and watch the log: the Yelp Business Scraper reports every page it reads and how many new businesses it found.
5. Open the **Output** tab when the run finishes and download the table, or connect it to Google Sheets, Make, Zapier or your own code through the API.

### Input options of the Yelp Business Scraper

Every option of the Yelp Business Scraper is explained below: what it does, which values it accepts, its default and a tip.

#### Yelp business URLs (`startUrls`)

`startUrls` - the Yelp business pages to scrape. Paste a business address from any Yelp country site (yelp.com, yelp.co.uk, yelp.ca, yelp.de ...); query parameters are ignored, only the /biz/<alias> part matters. One row per business. Example: https://www.yelp.com/biz/katzs-delicatessen-new-york. Prefilled example: `[{"url": "https://www.yelp.com/biz/katzs-delicatessen-new-york"}]`.

#### Business aliases or ids (`placeSlugs`)

`placeSlugs` - business aliases or ids instead of URLs - the alias is the part after /biz/ in the address, e.g. franklin-barbecue-austin. Use it for long lists from a spreadsheet; it works together with startUrls and duplicates are removed automatically.

#### Also scrape related businesses (`expandRelated`)

`expandRelated` - also scrapes the other businesses that each business page links (similar and nearby places the page itself shows). The Yelp Business Scraper keeps adding them until Max businesses is reached, so a few seed businesses grow into a local list. Off by default. Default: `false`.

#### Max businesses (`maxItems`)

`maxItems` - the maximum number of business rows. 0 means every business you entered (plus related ones when Also scrape related businesses is on). Dish rows are not counted here - use Max rows in total for a hard stop of everything. Default: `0`. Range: 0 to no upper limit.

#### Max rows in total (`maxItemsTotal`)

`maxItemsTotal` - a hard stop for the whole run, counting business rows and dish rows together. 0 means no total limit. Use it to cap the cost of big runs with dish rows or related businesses. Default: `0`. Range: 0 to no upper limit.

#### Detail level (`details`)

`details` - Advanced (default) reads the whole business page: website, amenities, history, specialties, owner, photos, popular dishes, health score and review highlights. Basic returns only the core profile - name, rating, reviews, categories, price, address, coordinates and hours - and is faster. Allowed values: `advanced` (Advanced (website, amenities, history, photos, dishes)), `basic` (Basic (core profile only, faster)). Default: `"advanced"`.

#### Include latest reviews (`includeReviews`)

`includeReviews` - adds the business reviews to each row (in the reviews column; the first one also fills author, text, reviewCreatedAt, review_photos and bizUserPublicReply). Combine with Review sort and Review star ratings. For full review exports use the Yelp Reviews Scraper. Default: `false`.

#### Max reviews per business (`maxReviewsPerBusiness`)

`maxReviewsPerBusiness` - how many reviews to add per business when Include latest reviews is on. The review list is followed page by page (10 per page) with its own next-page cursor; 0 means all reviews of the business, which can be thousands for famous places. Default: `3`. Range: 0 to no upper limit.

#### Review sort (`sortBy`)

`sortBy` - the order of the included reviews - Yelp sort, Newest first, Oldest first, Highest rated, Lowest rated or Elite reviewers first, exactly like the sort menu on a business page. Newest first is the usual choice for monitoring. Allowed values: `yelp` (Yelp sort), `newest` (Newest first), `oldest` (Oldest first), `highestRating` (Highest rated), `lowestRating` (Lowest rated), `elites` (Elite reviewers first). Default: `"yelp"`.

#### Review star ratings (`ratings`)

`ratings` - keeps only included reviews with these star ratings, for example 1 and 2 stars to collect complaints. The filter is applied by Yelp itself, so Max reviews per business counts matching reviews. Leave empty for all stars.

#### Review language (`languageCode`)

`languageCode` - keeps only included reviews written in this language, given as a code such as en, de or fr. Leave empty for every language. Businesses abroad often have reviews in several languages.

#### Include photos (`includePhotos`)

`includePhotos` - adds the business photo URLs to the images column (the main photo is always in primaryPhoto). Switch it off when you only need text data and want smaller rows. Default: `true`.

#### Max photos per business (`maxPhotosPerBusiness`)

`maxPhotosPerBusiness` - how many photo URLs per business go into images. 0 means all photos the page lists (about 25); the total number of photos of the business is in photo_count. Default: `10`. Range: 0 to no upper limit.

#### Dish rows (`dishType`)

`dishType` - adds one extra row per dish: Popular dishes (name, mean rating, review and photo counts, price, photo) or Full menu (menu section, item, description, price, photo). Dish rows have rowType = dish and carry the business id, name and URL so you can join them. Allowed values: empty (No dish rows), `popular` (Popular dishes), `menu` (Full menu). Default: `""`.

#### Max concurrency (`maxConcurrency`)

`maxConcurrency` - how many businesses are read at the same time. The default 5 is fast and polite; use 1-3 for strictly ordered output or up to 10 for long lists. Default: `5`. Range: 1 to 10.

#### Proxy configuration (`proxyConfiguration`)

`proxyConfiguration` - the Apify Proxy for the run. Residential proxy is the default and recommended setting; you normally do not need to change it. Default: `{"useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"]}`.

### Input examples for the Yelp Business Scraper

Copy one of these into the JSON tab of the input form (or send it to the API):

**One business, full profile**

```json
{
  "startUrls": [
    {
      "url": "https://www.yelp.com/biz/katzs-delicatessen-new-york"
    }
  ]
}
```

**Seed businesses + related places, with 3 newest reviews each**

```json
{
  "placeSlugs": [
    "franklin-barbecue-austin",
    "dishoom-london"
  ],
  "expandRelated": true,
  "maxItems": 50,
  "includeReviews": true,
  "maxReviewsPerBusiness": 3,
  "sortBy": "newest"
}
```

**Popular dishes of restaurants as extra rows**

```json
{
  "startUrls": [
    {
      "url": "https://www.yelp.com/biz/katzs-delicatessen-new-york"
    }
  ],
  "dishType": "popular"
}
```

**Fast basic profiles without photos**

```json
{
  "placeSlugs": [
    "keens-steakhouse-new-york",
    "joes-pizza-new-york"
  ],
  "details": "basic",
  "includePhotos": false
}
```

### Output fields

Each row of the Yelp Business Scraper output is one business. Columns:

| Field | What it contains |
|---|---|
| `rowType` | `business`, or `dish` for the optional dish rows. |
| `type` | Same as rowType. |
| `id` | Yelp business id (dish rows: business id + dish name). |
| `bizId` | Yelp business id. |
| `businessId` | Yelp business id (alias). |
| `identifier` | Yelp business id (alias). |
| `alias` | Business alias - the part after /biz/ in the address. |
| `name` | Business name. |
| `display_name` | Business name (alias). |
| `title` | Business name (alias). |
| `url` | Business page URL. |
| `directUrl` | Business page URL (alias). |
| `inputSource` | The input (or the business it was related to) this row came from. |
| `rating` | Average star rating. |
| `aggregatedRating` | Average rating (alias). |
| `avg_rating` | Average rating (alias). |
| `reviewCount` | Total number of reviews. |
| `categories` | Categories, e.g. \["Delis", "American"]. |
| `cuisine` | Categories as one text. |
| `Category` | Main category (dish rows: Popular dish or the menu section). |
| `categoryAliases` | Category codes. |
| `rootCategory` | Top-level category, e.g. restaurants. |
| `priceRange` | Price range $ to $$$$. |
| `localized_price` | Price range (alias). |
| `address` | Full address in one line. |
| `formattedAddress` | Full address (alias). |
| `address1` | Street line 1. |
| `address2` | Street line 2. |
| `city` | City. |
| `region` | State / region code. |
| `zip` | Postcode. |
| `country` | Country code. |
| `neighborhoods` | Neighbourhood names. |
| `coordinates` | Latitude and longitude object. |
| `latitude` | Latitude. |
| `longitude` | Longitude. |
| `website` | Business website. |
| `display_url` | Website without https:// and www. |
| `menuUrl` | Menu link shown on the page. |
| `reservationUrl` | Booking link of a reservation partner shown on the page. |
| `is_closed` | true when the business is permanently closed. |
| `isBusinessClosed` | Same as is_closed. |
| `closedUntil` | Date until which a temporarily closed business stays closed. |
| `isCurrentlyOpen` | Open right now (at scrape time, business time zone). |
| `todayHours` | Today's opening hours. |
| `operationHours` | Opening hours for every day of the week. |
| `amenities` | Amenities and more: name + true/false (delivery, wheelchair accessible, Wi-Fi ...). |
| `about` | Specialties and history text of the business. |
| `description` | Short summary or specialties text. |
| `summary` | One-line summary of the business shown on the page. |
| `specialties` | Specialties written by the business. |
| `history` | History written by the business. |
| `yearEstablished` | Year the business was established. |
| `ownerName` | Business owner name shown in "About the business". |
| `ownerRole` | Owner role (e.g. Business Owner). |
| `isClaimed` | true when the business claimed its page. |
| `reviewHighlights` | Highlighted phrases from reviews. |
| `healthInspection` | Latest health inspection score and date where the city publishes them. |
| `isYelpAdvertiser` | true when the business advertises. |
| `primaryPhoto` | Main photo URL. |
| `photo_url` | Main photo (alias). |
| `images` | Photo URLs (up to Max photos per business). |
| `Photo` | Main photo (dish rows: dish photo). |
| `photo_count` | Total photos of the business. |
| `mediaCount` | Total photos (alias). |
| `popularDishes` | Popular dishes: name, mean rating, review and photo counts, price, photo. |
| `menu` | Menu items (Dish rows = Full menu): section, name, description, price, photo. |
| `reviews` | Included reviews (Include latest reviews): text, stars, date, reviewer, reactions, photos, reply. |
| `author` | Reviewer of the first included review. |
| `text` | Text of the first included review. |
| `reviewCreatedAt` | Date of the first included review. |
| `review_photos` | Photos of the first included review. |
| `bizUserPublicReply` | Owner reply to the first included review. |
| `Food Name` | Dish name (business rows: the most popular dish). |
| `Price` | Dish price (business rows: price range). |
| `Details` | Dish details (business rows: the summary). |
| `Details_basic` | true when Detail level = basic was used. |
| `scrapedAt` | When the row was saved (UTC). |

### Which columns can be empty

The Yelp Business Scraper fills every column the business itself has. A column is empty only when the site has no value for that business - measured on our test runs:

| Columns | When they are empty | Measured |
|---|---|---|
| `reservationUrl` | The page shows no booking-partner link. | 0/21 test businesses had one |
| `menu` | Dish rows = Full menu was not selected. | empty on 21/21 (not requested in the test) |
| `closedUntil` | Only set for temporarily closed businesses. | 21/21 open |
| `address2` | Only set when the address has a second line. | 1/21 |
| `ownerName`, `ownerRole` | The business has no owner profile in "About the business". | filled 5/21 |
| `history`, `yearEstablished`, `specialties`, `about` | The business wrote no history / specialties. | filled 8-9/21 |
| `healthInspection` | Only cities that publish inspections (e.g. New York). | filled 12/21 |
| `menuUrl`, `popularDishes`, `Food Name` | Only restaurants with a menu link / popular dishes. | filled 15-16/21 |
| `summary`, `description`, `Details` | Yelp shows no summary for the business. | filled 17-19/21 |
| `priceRange`, `localized_price`, `Price` | No price range set for the business. | filled 17/21 |
| `website`, `display_url`, `todayHours`, `operationHours`, `isCurrentlyOpen`, `isClaimed`, `reviewHighlights` | The business lists no website / hours, or the page sections were missing for that business. | filled 19/21 |
| `author`, `text`, `reviewCreatedAt`, `review_photos`, `bizUserPublicReply`, `reviews` | Include latest reviews is off, the business has no reviews, or the first review has no photos / reply. | review 20/21, photos 11/21, reply 1/21 |
| `rating`, `aggregatedRating`, `avg_rating`, `primaryPhoto`, `photo_url`, `Photo`, `images` | The business has no reviews or photos yet. | filled 20/21 |
| `inputSource` | Never empty - shows where the row came from. | - |

### How much does the Yelp Business Scraper cost?

The Yelp Business Scraper uses pay-per-result pricing: you pay only for the businesses you get. The price is **$1.49 per 1,000 businesses** on the Free plan and lower on paid plans ($1.39 Bronze, $1.29 Silver, $1.19 Gold and above), plus a tiny start fee per run. Worked example: 500 businesses cost about 500 / 1,000 x $1.49 = **$0.75**. Free-plan users get up to 30 businesses per run, which is enough to test the Yelp Business Scraper before paying anything.

### Use the Yelp Business Scraper with the API

Start the Yelp Business Scraper from your own code and read the businesses when the run is finished.

**Python**

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("neuro-scraper/yelp-business-scraper").call(run_input={"startUrls": [{"url": "https://www.yelp.com/biz/katzs-delicatessen-new-york"}]})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

**Node.js**

```javascript
import { ApifyClient } from "apify-client";

const client = new ApifyClient({ token: "<YOUR_API_TOKEN>" });
const run = await client.actor("neuro-scraper/yelp-business-scraper").call({"startUrls": [{"url": "https://www.yelp.com/biz/katzs-delicatessen-new-york"}]});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

**cURL** (run and get the items in one call)

```bash
curl -X POST "https://api.apify.com/v2/acts/neuro-scraper~yelp-business-scraper/run-sync-get-dataset-items?token=<YOUR_API_TOKEN>" -H "Content-Type: application/json" -d '{"startUrls": [{"url": "https://www.yelp.com/biz/katzs-delicatessen-new-york"}]}'
```

### Yelp Business Scraper use cases

- Build lead lists of local businesses with website, category and address.
- Enrich a CRM or spreadsheet of Yelp links with ratings, review counts, hours and amenities.
- Compare competitors: ratings, price range, popular dishes and review highlights.
- Track rating and review-count changes over time with scheduled runs.
- Collect coordinates for maps and territory planning.

### Tips for better results with the Yelp Business Scraper

- Use Also scrape related businesses to grow a list from a few seed businesses.
- Use Detail level = basic for quick rating / address refreshes.
- Dish rows carry businessId, so you can join them to the business rows.
- For many reviews per business use the Yelp Reviews Scraper.

### Limits of the Yelp Business Scraper

- Keyword / location search is not offered: Yelp search and category list pages answer automated visitors with a CAPTCHA, which this Actor never solves. Start from business URLs or aliases (or grow a list with related businesses).
- Phone numbers and emails are never collected.

### Yelp Business Scraper FAQ

#### Can the Yelp Business Scraper search for "pizza in Austin"?

No - search pages show a CAPTCHA to automated visitors. Give business URLs or aliases; switch on Also scrape related businesses to discover similar places nearby.

#### Which Yelp countries work?

Every Yelp business page, whatever the country - a London, Toronto or Berlin business is read exactly like a New York one.

#### Does the Yelp Business Scraper return phone numbers?

No. It never collects phone numbers or emails.

#### How do I get every review of a business?

Switch on Include latest reviews and set Max reviews per business to 0, or use the Yelp Reviews Scraper for review-only exports.

#### Do I need an account or a login to use the Yelp Business Scraper?

No. The Yelp Business Scraper collects only data anyone can see without signing in. You need just an Apify account to run it.

#### How fast is the Yelp Business Scraper?

The Yelp Business Scraper works on several businesses at the same time and streams every row to the dataset as soon as it is ready; a typical test of 20 businesses finishes in well under two minutes.

#### Can I schedule the Yelp Business Scraper?

Yes. Create a task with your input and add a schedule (hourly, daily, weekly) in Apify Console; each run of the Yelp Business Scraper then delivers fresh businesses automatically.

#### Which formats can I download from the Yelp Business Scraper?

JSON, CSV, Excel (XLSX), XML, HTML table and RSS - from the Output tab or through the API.

#### Can I connect the Yelp Business Scraper to Google Sheets, Make or Zapier?

Yes. Apify integrations send the Yelp Business Scraper results to Google Sheets, Slack, Make, Zapier, n8n, webhooks and more after each run.

#### What happens if a run of the Yelp Business Scraper is interrupted?

Every business already scraped stays in the dataset; start the run again (or resurrect it) to continue.

#### Is it legal to use the Yelp Business Scraper?

The Yelp Business Scraper collects publicly visible data only. Make sure your use of the data follows the site terms and data-protection laws such as GDPR and CCPA.

#### Why is a column empty in my Yelp Business Scraper results?

See [Which columns can be empty](#which-columns-can-be-empty): the site has no value for that business. The Yelp Business Scraper never leaves out a value the site shows.

#### Do you offer custom versions of the Yelp Business Scraper?

Yes - open an issue on the Actor page and describe the fields or sources you need.

### Get started with the Yelp Business Scraper

Press **Try for free**, keep the prefilled input and start your first run of the Yelp Business Scraper - your first businesses are ready in about a minute. Questions or ideas for the Yelp Business Scraper? Open an issue on the Actor page and we answer quickly.

### More scrapers from Neuro Scraper

| Actor | What it extracts |
|---|---|
| [Facebook Reels Scraper](https://apify.com/neuro-scraper/facebook-reels-scraper) | Facebook reels with views, likes, comments, captions and video links |
| [Yelp Reviews Scraper](https://apify.com/neuro-scraper/yelp-reviews-scraper) | All reviews of Yelp businesses with filters |
| [Google Maps Scraper](https://apify.com/neuro-scraper/google-maps-scraper) | Places from Google Maps |

# Actor input Schema

## `startUrls` (type: `array`):

Yelp business pages from any Yelp country site, e.g. https://www.yelp.com/biz/katzs-delicatessen-new-york.

## `placeSlugs` (type: `array`):

Instead of URLs: business aliases (the part after /biz/) or business ids.

## `expandRelated` (type: `boolean`):

Also scrape the other businesses each business page links (similar and nearby businesses), until Max businesses is reached.

## `maxItems` (type: `integer`):

Stop after this many business rows (0 = every input business, plus related ones when that option is on).

## `maxItemsTotal` (type: `integer`):

Hard stop for all rows including dish rows (0 = no limit).

## `details` (type: `string`):

Advanced reads the whole business page; Basic returns the core profile (name, rating, categories, address, hours) only.

## `includeReviews` (type: `boolean`):

Add the business's reviews (up to Max reviews per business) to each row.

## `maxReviewsPerBusiness` (type: `integer`):

How many reviews per business when Include latest reviews is on (0 = all reviews of the business; 10 per page).

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

Order of the included reviews.

## `ratings` (type: `array`):

Only include reviews with these stars (empty = all).

## `languageCode` (type: `string`):

Only include reviews in this language code, e.g. en (empty = all).

## `includePhotos` (type: `boolean`):

Add business photo URLs (up to Max photos per business).

## `maxPhotosPerBusiness` (type: `integer`):

How many photo URLs per business (0 = all photos on the page, about 25).

## `dishType` (type: `string`):

Also save one row per popular dish or per menu item (name, price, photo, section) of each restaurant.

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

How many businesses are read at the same time.

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

Apify Proxy settings. RESIDENTIAL is the default.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.yelp.com/biz/katzs-delicatessen-new-york"
    }
  ],
  "expandRelated": false,
  "maxItems": 0,
  "maxItemsTotal": 0,
  "details": "advanced",
  "includeReviews": false,
  "maxReviewsPerBusiness": 3,
  "sortBy": "yelp",
  "includePhotos": true,
  "maxPhotosPerBusiness": 10,
  "dishType": "",
  "maxConcurrency": 5,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `results` (type: `string`):

One row per result, in the run's default dataset.

# 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 = {
    "startUrls": [
        {
            "url": "https://www.yelp.com/biz/katzs-delicatessen-new-york"
        }
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("neuro-scraper/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 = {
    "startUrls": [{ "url": "https://www.yelp.com/biz/katzs-delicatessen-new-york" }],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("neuro-scraper/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 '{
  "startUrls": [
    {
      "url": "https://www.yelp.com/biz/katzs-delicatessen-new-york"
    }
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call neuro-scraper/yelp-business-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,neuro-scraper/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/6T9XSqcHjHyLoKEh7/builds/4ydBVQkAL1te7k77G/openapi.json
