# Zomato Scraper (`tortuga/zomato-scraper`) Actor

Zomato restaurants by city, area or cuisine in India: restaurant id, URL, name, cuisines, rating and votes (dining and delivery), cost for two, address, locality and timings. Optional phone, GPS, opening hours, features and reviews. JSON or CSV, no login.

- **URL**: https://apify.com/tortuga/zomato-scraper.md
- **Developed by:** [Trevor Ortega](https://apify.com/tortuga) (community)
- **Categories:** Travel, E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.12 / 1,000 restaurants

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?

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

## Zomato Scraper

Scrape Zomato restaurants in India by city, area or cuisine: restaurant id, URL, name, cuisines, rating and votes (dining and delivery), cost for two, address, locality and timings. Turn on details for phone numbers, GPS coordinates, postcode, full opening hours and features, and turn on reviews for the newest public reviews of each restaurant. No login, no browser, JSON, CSV or Excel export.

### What data does Zomato Scraper extract?

| Field | Description |
|---|---|
| `id`, `url` | Zomato restaurant id and restaurant page URL |
| `name`, `cuisines` | Restaurant name and cuisine list |
| `rating`, `votes` | Overall rating and number of votes |
| `diningRating`, `diningVotes`, `deliveryRating`, `deliveryVotes` | Separate dining and delivery ratings and vote counts |
| `costForTwo`, `costForTwoValue`, `currency` | Cost for two as shown and as a number in INR |
| `locality`, `address`, `city` | Area, street address and city |
| `timing`, `distance` | Opening or closing note shown on the listing and the distance Zomato shows |
| `isPromoted`, `imageUrl` | Whether the card is a paid promotion, and the main image |
| `phones`, `latitude`, `longitude`, `zipcode` | Details: public phone numbers, GPS and postcode |
| `openingHours`, `statusText`, `highlights`, `establishments`, `costNote` | Details: weekly hours, open or closed now, features (wifi, parking, outdoor seating), venue type |
| `reviews` | Reviews: id, rating, rating text, dining or delivery, text, reviewer name and profile URL, date, likes, comments, photo count |

### How to use Zomato Scraper

1. Enter a **City** (for example `bangalore`, `mumbai`, `ncr`, `hyderabad`), and optionally **Localities** and **Cuisines**, or paste **Start URLs**.
2. Set **Max items**. Zomato shows about 9 restaurants per listing page, so the Actor also opens the city's cuisine and venue type pages (pizza, biryani, cafes, bars and more) to reach your number. Turn **Explore related listings** off to stay on the pages you listed.
3. Optionally turn on **Include details** and **Include reviews**.
4. Click **Start**, then export the dataset or read it through the API.

### Input example

```json
{
  "city": ["bangalore"],
  "cuisines": ["biryani"],
  "localities": ["koramangala"],
  "maxItems": 100,
  "includeDetails": true,
  "includeReviews": false
}
```

### Output example

```json
{
  "id": "22311906",
  "url": "https://www.zomato.com/bangalore/yazu-pan-asian-supper-club-st-marks-road-bangalore",
  "name": "Yazu Pan Asian Supper Club",
  "cuisines": ["Japanese", "Chinese", "Asian", "Thai", "Korean", "Beverages"],
  "rating": 4.2,
  "votes": 503,
  "diningRating": 4.4,
  "diningVotes": 445,
  "deliveryRating": 4,
  "deliveryVotes": 58,
  "costForTwo": "₹2,500 for two",
  "costForTwoValue": 2500,
  "currency": "INR",
  "locality": "St. Marks Road, Bangalore",
  "address": "61, F & B Area, 2nd Floor, Marksquare Space, St. Marks Road, Bangalore",
  "city": "bangalore",
  "timing": "Opens at 12noon",
  "isPromoted": true
}
```

### Pricing

Pay per event. A restaurant costs $1.40 per 1,000 for paying Apify plans (the Store shows the exact figure for your plan), plus $0.60 per 1,000 restaurants with details, $0.70 per 1,000 reviews, and a small start fee per run. Volume tiers get 10 to 20 percent off.

| Event | Price |
|---|---|
| Restaurant | $0.0014 |
| Restaurant details (optional) | $0.0006 |
| Review (optional) | $0.0007 |
| Actor start | $0.00005 |

Platform usage is included in these prices. In our tests a listing run used about $0.03 of platform usage per 1,000 restaurants and a run with details about $0.05 per 1,000.

### Monitor changes on a schedule

Turn on **Only new or changed items** and save the run as a Task with a Schedule. The Actor remembers what earlier runs of the same search returned and outputs only new restaurants or restaurants whose rating or cost for two changed. Unchanged restaurants are not charged. Each item gets `changeType` ("new" or "changed") and, for changed items, `previousValues` with the old values. Use **Monitoring name** to keep several watches on the same search apart.

### FAQ

#### Does Zomato Scraper need a login or cookies?

No. It reads the public listing, restaurant and review pages that any visitor sees.

#### Why do some restaurants have isPromoted set to true?

Zomato marks paid promotions on its listing pages and the Actor passes that flag through, so you can filter them out. Most listing pages mix promoted and regular restaurants.

#### How many restaurants can I get?

Each Zomato listing page shows about 9 restaurants. The Actor combines the city page with its cuisine and venue type pages, so a city gives several hundred distinct restaurants. Add localities and cuisines to go deeper.

#### Which cities work?

Cities in India that have a zomato.com/<city>/restaurants page. Use the city part of the URL (for example `ncr` for Delhi NCR; `delhi`, `bengaluru` and a few other common names are mapped for you).

#### How many reviews can I get?

The newest public reviews, up to 50 per restaurant (5 per page, one request each).

#### Legal

The Actor collects publicly visible business data (restaurant names, ratings, addresses, phone numbers published for customers) and public review text with the reviewer display name Zomato shows. Use it in line with Zomato's terms and the laws that apply to you.

# Actor input Schema

## `city` (type: `array`):

City as it appears in Zomato URLs, for example bangalore, mumbai, ncr, hyderabad, chennai, pune or kolkata (copy it from zomato.com/<city>/restaurants). A plain text value is accepted too.

## `localities` (type: `array`):

Optional areas of the city, for example koramangala, indiranagar or hsr-layout (copy from zomato.com/<city>/<area>-restaurants). Each area is searched in addition to the city page.

## `cuisines` (type: `array`):

Optional cuisines or venue types, for example pizza, biryani, north-indian, cafe or bar (copy from zomato.com/<city>/restaurants/<cuisine>).

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

Zomato listing pages (city, cuisine, locality or collection) or single restaurant pages such as https://www.zomato.com/bangalore/<restaurant-name>/info.

## `exploreRelated` (type: `boolean`):

Zomato shows about 9 restaurants per listing page. When on (default), the Actor also opens the city's cuisine and venue type pages (pizza, biryani, bars, cafes and more) to reach Max items. Turn off to stay on the pages you listed.

## `minRating` (type: `number`):

Keep only restaurants rated at least this high (Zomato uses a 5-point scale, for example 4).

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

Stop after this many restaurants. Keeps cost predictable.

## `includeDetails` (type: `boolean`):

Open each restaurant's page for phone numbers, GPS coordinates, postcode, full opening hours, features (wifi, parking, outdoor seating...) and the cost note. One extra request and one details charge per restaurant.

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

Add the newest public reviews of each restaurant as a reviews array (rating, text, reviewer name and profile URL, date, likes). One extra request per 5 reviews and one review charge per review.

## `maxReviewsPerRestaurant` (type: `integer`):

How many reviews to add per restaurant when Include reviews is on (1 to 50).

## `onlyNewOrChanged` (type: `boolean`):

Remember what earlier runs of this search returned and output only new restaurants or restaurants whose rating or cost for two changed. Use with a Schedule; unchanged items are not charged.

## `monitoringKey` (type: `string`):

Name for this watch, so several schedules on the same search stay separate; defaults to a key derived from the search input.

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

Apify datacenter proxy works (default). Zomato sits behind Akamai, which refuses some requests; the Actor retries those on a fresh IP.

## Actor input object example

```json
{
  "city": [
    "bangalore"
  ],
  "exploreRelated": true,
  "maxItems": 20,
  "maxReviewsPerRestaurant": 5,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# 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 = {
    "city": [
        "bangalore"
    ],
    "exploreRelated": true,
    "maxItems": 20,
    "maxReviewsPerRestaurant": 5,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("tortuga/zomato-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 = {
    "city": ["bangalore"],
    "exploreRelated": True,
    "maxItems": 20,
    "maxReviewsPerRestaurant": 5,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("tortuga/zomato-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 '{
  "city": [
    "bangalore"
  ],
  "exploreRelated": true,
  "maxItems": 20,
  "maxReviewsPerRestaurant": 5,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call tortuga/zomato-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,tortuga/zomato-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/UYZlAaetT6L6FIa2y/builds/tDqq6LkupuJn2L8PT/openapi.json
