# Zomato City Restaurant & Cuisine Filter Scraper (`nimbryxo-studio/zomato-city-restaurant-and-cuisine-filter-scraper`) Actor

Pull Zomato restaurant listings for Indian and UAE cities by URL or by city, cuisine, category, rating, and cost filters, with ratings, cost for two, location, phones, hours, and top dishes per restaurant.

- **URL**: https://apify.com/nimbryxo-studio/zomato-city-restaurant-and-cuisine-filter-scraper.md
- **Developed by:** [Nimbryxo-studio](https://apify.com/nimbryxo-studio) (community)
- **Categories:** Automation, 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 $0.49 / 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

## Zomato Restaurant, Menu & Review Data Extractor

Turn Zomato's public pages into a clean dataset of restaurants, dishes, reviews and photos for India and the UAE. Paste a city, a listing link, a collection or a restaurant link and the actor returns structured rows you can load into a spreadsheet, database or warehouse. No Zomato account, cookie or proxy setup is needed.

Zomato shows nine restaurants per listing page on the web. This actor does not pretend otherwise: it reads the listings and collections that are actually published, and it exposes the menu, review and photo surfaces that other tools often skip.

### What you can collect

| Mode | Input | One row per |
|---|---|---|
| Search | city + optional cuisine, rating, sort, cost filters, or any listing URL | restaurant |
| Collections | one or more collection URLs, or a city | restaurant |
| Restaurant | restaurant URLs or numeric IDs | restaurant |
| Reviews | restaurant URLs or numeric IDs | review |
| Menu | restaurant URLs or numeric IDs | dish (or a menu-page row when the menu is image-only) |
| Photos | restaurant URLs or numeric IDs | gallery photo |

Every mode accepts numeric restaurant IDs such as `18619718`, so you can start from a CRM or an earlier export without hunting for URLs.

### Restaurant fields

The original fields are all still present, so existing tasks and integrations keep working:

`id`, `res_id`, `name`, `url`, `type`, `cuisines`, `establishments`, `status`, `timing`, `is_delivery_only`, `is_perm_closed`, `location` (`address`, `locality`, `locality_verbose`, `city`, `city_id`, `country`, `country_id`, `zipcode`, `latitude`, `longitude`, `map_url`), `ratings` (`aggregate`, `text`, `votes`, `dining`, `delivery`), `reviews.count`, `price` (`for_two`, `currency`, `currencyCode`, `cft_text`), `phones`, `photo`, `images`, `image_count`, `features`, `highlights`, `known_for`, `top_dishes`, `social.website`, `search_context`.

New fields sit beside them:

- `ratingText`, `ratingSubtitle`, `ratingColor`, `diningReviewCount`, `deliveryReviewCount`
- `timingByDay` (day range + opening hours), `peopleLiked`, `topTags`, `similarRestaurantIds`
- `offers` (title, subtitle, type, value, start and end time), `paymentMethods`, `chain`, `safety`
- `isDarkKitchen`, `is_temp_closed`, `fssai`
- `menuImages` (label, page count), `menuItems` and `menuImagePages` when `includeMenu` is on
- `reviewItems` when `includeReviews` is on, plus `photos` and `photoCount` when `includePhotos` is on

A field Zomato does not publish for a restaurant is omitted, not filled with null or a placeholder.

### Review fields

`reviewId`, `restaurantId`, `restaurantName`, `restaurantUrl`, `city`, `locality`, `text`, `userName`, `userProfileUrl`, `userProfilePic`, `userReviewsCount`, `userFollowersCount`, `rating`, `ratingType`, `experience`, `timestampText`, `reviewDate`, `dateIsApproximate`, `likeCount`, `commentCount`, `comments`, `ownerReplies`, `photos`, `tags`, `reviewUrl`.

`reviewDate` is derived from Zomato's relative label (for example "3 days ago") and is marked approximate; exact dates shown by Zomato are kept as-is.

### Dish fields

`id`, `restaurantId`, `restaurantName`, `restaurantUrl`, `name`, `description`, `price`, `minPrice`, `maxPrice`, `currency`, `currencyCode`, `imageUrl`, `thumbUrl`, `isVeg`, `dietaryTags`, `tags`, `itemType`, `itemState`, `rating`, `ratingVotes`, `menu`, `category`, `modifiers`.

Prices are the amounts Zomato displays to a signed-out visitor. Taxes and charges are not included.

### Photo fields

`photoId`, `restaurantId`, `restaurantName`, `restaurantUrl`, `url`, `thumbUrl`, `uploaderName`, `uploaderProfileUrl`, `timestamp`, `likeCount`, `commentCount`.

### Inputs

| Input | Default | What it does |
|---|---|---|
| `mode` | `search` | Search, Collections, Restaurant, Reviews, Menu or Photos |
| `startUrls` | `[]` | Any Zomato listing, locality, collection, restaurant or share URL, or a numeric restaurant ID |
| `city` | – (prefilled: `mumbai`) | City used by Search and Collections when no listing URL is supplied |
| `searchMode` | `dining` | Dining out, Delivery, Cafes or Drinks & nightlife |
| `cuisine` | Any | Cuisine filter with 120+ options |
| `cuisineSlug` | – | Free-form cuisine ID or slug, overrides the dropdown |
| `minRating` | Any | 3.5+, 4.0+, 4.5+ or 5.0 |
| `sort` | Popularity | Popularity, rating or cost ordering |
| `minCost` / `maxCost` | 0 | Cost-for-two bounds |
| `expandCuisines` | false | Adds one listing per popular cuisine for the city |
| `expandCollections` | false | Adds the city's curated collections |
| `includeDetails` | true | Full detail page for each restaurant |
| `includeReviews` | false | Attach reviews or return review rows |
| `maxReviewsPerRestaurant` | 20 | 0 means all that Zomato exposes (guarded at 10,000) |
| `reviewSort` | Newest | Newest, oldest, highest or lowest |
| `includeMenu` | false | Attach dishes or return dish rows |
| `includeMenuImages` | true | Keep image-based menu page links |
| `includePhotos` | false | Attach photos or return photo rows |
| `maxPhotosPerRestaurant` | 30 | 0 means all that Zomato exposes (guarded at 5,000) |
| `maxItems` | 100 | Hard row cap for the run |
| `maxRetries` | 2 | Retries on 429, 5xx and connection errors |
| `ignoreUrlFailures` | true | Continue when one URL or restaurant cannot be read |

#### Examples

Dining search, full details, top 50:

```json
{
  "mode": "search",
  "city": "bangalore",
  "searchMode": "dining",
  "minRating": "4",
  "maxItems": 50
}
```

Bulk discovery from a collection:

```json
{
  "mode": "collections",
  "startUrls": ["https://www.zomato.com/mumbai/insta-worthy"],
  "maxItems": 200
}
```

Every review and dish for one restaurant:

```json
{
  "mode": "menu",
  "startUrls": ["https://www.zomato.com/mumbai/pa-pa-ya-bandra-kurla-complex"],
  "maxItems": 500
}
```

```json
{
  "mode": "reviews",
  "startUrls": ["18619718"],
  "maxReviewsPerRestaurant": 0,
  "maxItems": 3000
}
```

### Coverage and honest limits

- **Live markets:** India and the UAE. The actor ships every city Zomato currently serves there, not a stale list. Cities Zomato left (London, New York, Singapore and others) are skipped.
- **Nine per listing:** Zomato's web listing returns nine restaurants per page. Bulk coverage comes from cuisine partitions, rating partitions and collections. Each collection can expose dozens of restaurants; `expandCollections` uses that.
- **Reviews:** paginated five at a time until the last page Zomato exposes. Very large restaurants can require hundreds of requests; `maxReviewsPerRestaurant` keeps runs predictable.
- **Menus:** text menus come from the delivery menu surface and include dish names, descriptions, prices, images and dietary tags. Some restaurants publish only menu photos; the actor then returns the image page links instead of inventing dishes.
- **Photos:** paginated 30 at a time across the all/food/ambience tabs.
- **UAE delivery:** Zomato does not publish delivery listings for UAE cities to signed-out visitors. Use Dining out, Cafes or Drinks & nightlife there; Delivery works for Indian cities.
- **Menus in the UAE:** many UAE dine-in venues publish no menu to signed-out visitors. When a restaurant has no text menu and no menu photos, Menu mode returns no row for it rather than inventing dishes.
- **Dates:** Zomato shows relative timestamps, so `reviewDate` is approximate and flagged as such. Exact dates are kept when published.
- **Blocking:** the actor picks its own connection path and retries automatically. A proxy input is deliberately not exposed.

### FAQ

**Do I need a Zomato login or cookies?**
No. Every mode works on public pages.

**Can I use IDs and links in the same run?**
Yes. `startUrls` accepts a mix of numeric IDs, share links, restaurant links and listing links.

**Can I scrape a city that is not in the dropdown?**
Yes. Paste that city's Zomato listing URL into `startUrls`, for example
`https://www.zomato.com/agartala/restaurants` or `https://www.zomato.com/sk/agartala/restaurants`.
The dropdown is a curated shortcut, not an exhaustive city index.

**Why do review links use `zoma.to`?**
That is the permalink Zomato publishes for a review. Some bot/HEAD checks reject the short-link
host even though it opens in a browser. If your tool needs a long URL, use
`https://www.zomato.com/<city>/<restaurant-slug>/reviews/<reviewId>`.

**Why does a search return fewer rows than `maxItems`?**
Because the selected listing or collection ran out of restaurants. Add cuisines, collections or more listings to widen the search.

**Why is one field missing from a row?**
Zomato did not publish it for that restaurant. Rows are omit-empty on purpose.

**Are menu prices final?**
They are the prices Zomato displays before taxes, delivery fees and charges.

**Does this actor write reviews or interact with restaurants?**
No. It only reads public data.

**Is this affiliated with Zomato?**
No. It reads public pages and is not endorsed by or connected to Zomato.

### Data source

Public Zomato web pages: city listings, collections, restaurant pages, delivery menus, review pages and photo galleries. The actor uses browser-like requests without login, keeps a polite request pace, and escalates its own connection path only when a block is real.

# Actor input Schema

## `mode` (type: `string`):

Choose the record type you want. Search and Collections return restaurant rows; Restaurant returns one detailed row per restaurant; Reviews, Menu and Photos return one row per review, dish or photo.

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

Accepts any mix of Zomato listing, locality, collection, restaurant or share URLs, plus numeric restaurant IDs. Examples: https://www.zomato.com/mumbai/restaurants, https://www.zomato.com/dubai/jones-the-grocer-al-barsha, https://www.zomato.com/mumbai/insta-worthy, 18619718.

## `city` (type: `string`):

Used with Search and Collections when you do not paste a listing URL. All cities where Zomato currently publishes restaurant data.

## `searchMode` (type: `string`):

Which Zomato city surface to read.

## `cuisine` (type: `string`):

Narrow the city search to one cuisine. Choose Any to keep every cuisine.

## `cuisineSlug` (type: `string`):

Optional free-form cuisine, e.g. 'chinese' or '1051'. Overrides the Cuisine dropdown when set.

## `minRating` (type: `string`):

Server-side rating filter.

## `sort` (type: `string`):

Order of returned restaurant rows. Applied by Zomato where supported and again locally.

## `minCost` (type: `integer`):

Drop restaurants whose published cost for two is below this amount. Leave 0 for no lower bound.

## `maxCost` (type: `integer`):

Drop restaurants whose published cost for two is above this amount. Leave 0 for no upper bound.

## `expandCuisines` (type: `boolean`):

For a city search, also read one listing per popular cuisine (20 extra listings). Multiplies coverage because Zomato shows only 9 rows per listing.

## `expandCollections` (type: `boolean`):

For a city search, also read the city's curated collections. Each collection page can expose dozens of restaurants.

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

Fetch each restaurant's detail page for phones, coordinates, hours, offers, payments, chain and more. Turn off for a faster, cheaper run.

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

Attach reviews to each restaurant row (Search/Collections/Restaurant) or return flat review rows in Reviews mode.

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

0 means every review Zomato exposes (guarded at 10,000). Reviews are paginated 5 per request.

## `reviewSort` (type: `string`):

Applied locally after fetching.

## `includeMenu` (type: `boolean`):

Attach menu items to each restaurant row (Search/Collections/Restaurant) or return one row per dish in Menu mode.

## `includeMenuImages` (type: `boolean`):

When a restaurant only publishes menu photos, keep the image page URLs.

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

Attach gallery photos to each restaurant row or return flat photo rows in Photos mode.

## `maxPhotosPerRestaurant` (type: `integer`):

0 means every photo Zomato exposes (guarded at 5,000). Photos are paginated 30 per request.

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

Hard cap on returned rows. A negative input is clamped. Search returns restaurants; Reviews, Menu and Photos return their own record type.

## `maxRetries` (type: `integer`):

Retries per request on 429, 5xx and connection errors.

## `ignoreUrlFailures` (type: `boolean`):

Keep going when one URL or restaurant cannot be read.

## Actor input object example

```json
{
  "mode": "search",
  "startUrls": [],
  "city": "mumbai",
  "searchMode": "dining",
  "cuisine": "",
  "minRating": "",
  "sort": "popularity",
  "minCost": 0,
  "maxCost": 0,
  "expandCuisines": false,
  "expandCollections": false,
  "includeDetails": true,
  "includeReviews": false,
  "maxReviewsPerRestaurant": 20,
  "reviewSort": "newest",
  "includeMenu": false,
  "includeMenuImages": true,
  "includePhotos": false,
  "maxPhotosPerRestaurant": 30,
  "maxItems": 1,
  "maxRetries": 2,
  "ignoreUrlFailures": true
}
```

# Actor output Schema

## `restaurants` (type: `string`):

Restaurant rows, including full menu and review data when those toggles are on.

## `reviews` (type: `string`):

One row per review from Reviews mode or includeReviews.

## `menuItems` (type: `string`):

One row per dish from Menu mode.

## `photos` (type: `string`):

One row per gallery photo from Photos mode or includePhotos.

# 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 = {
    "mode": "search",
    "city": "mumbai",
    "expandCuisines": false,
    "expandCollections": false,
    "includeDetails": true,
    "includeReviews": false,
    "includeMenu": false,
    "includeMenuImages": true,
    "includePhotos": false,
    "maxItems": 1,
    "ignoreUrlFailures": true
};

// Run the Actor and wait for it to finish
const run = await client.actor("nimbryxo-studio/zomato-city-restaurant-and-cuisine-filter-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 = {
    "mode": "search",
    "city": "mumbai",
    "expandCuisines": False,
    "expandCollections": False,
    "includeDetails": True,
    "includeReviews": False,
    "includeMenu": False,
    "includeMenuImages": True,
    "includePhotos": False,
    "maxItems": 1,
    "ignoreUrlFailures": True,
}

# Run the Actor and wait for it to finish
run = client.actor("nimbryxo-studio/zomato-city-restaurant-and-cuisine-filter-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 '{
  "mode": "search",
  "city": "mumbai",
  "expandCuisines": false,
  "expandCollections": false,
  "includeDetails": true,
  "includeReviews": false,
  "includeMenu": false,
  "includeMenuImages": true,
  "includePhotos": false,
  "maxItems": 1,
  "ignoreUrlFailures": true
}' |
apify call nimbryxo-studio/zomato-city-restaurant-and-cuisine-filter-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,nimbryxo-studio/zomato-city-restaurant-and-cuisine-filter-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/HIc9Iv5EZTcKrNhrG/builds/HLwMqMbmlXdrIYzMC/openapi.json
