# Zomato 🍔 Scraper (`jupri/zomato`) Actor

Scrape Restaurants data from Zomato.com 🍔🥪🌯🍟🍕🌮🍝🍩🥯🥧🍲🥟🥞🥘🧁🧇🍫🍰🍱🍛🍦🍧🍨

- **URL**: https://apify.com/jupri/zomato.md
- **Developed by:** [cat](https://apify.com/jupri) (community)
- **Categories:** E-commerce
- **Stats:** 424 total users, 1 monthly users, 100.0% runs succeeded, 3 bookmarks
- **User rating**: 4.13 out of 5 stars

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

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

### Welcome to Zomato.com Scraper

![enter image description here](https://img.freepik.com/premium-vector/abstract-oriental-cat-head-portrait-from-multicolored-paints-abyssinian-cat-colored-drawing_537015-259.jpg?w=240)

### About Zomato.com

**Zomato** ([/zoʊmɑːtoʊ/](https://en.wikipedia.org/wiki/Help:IPA/English "Help:IPA/English")) is an Indian [multinational](https://en.wikipedia.org/wiki/Multinational_corporation "Multinational corporation") restaurant aggregator and [food delivery](https://en.wikipedia.org/wiki/Food_delivery "Food delivery") company founded by Deepinder Goyal and Pankaj Chaddah in 2008.[\[4\]](https://en.wikipedia.org/wiki/Zomato#cite_note-4)[\[5\]](https://en.wikipedia.org/wiki/Zomato#cite_note-5) Zomato provides information, menus and user-reviews of restaurants as well as food delivery options from partner restaurants in select cities.[\[6\]](https://en.wikipedia.org/wiki/Zomato#cite_note-6) As of 2019, the service is available in 24 countries and in more than 10,000 cities.[\[7\]](https://en.wikipedia.org/wiki/Zomato#cite_note-7)

### About This Actor

Scrape Restaurants data from Zomato.com

### Input Example

```json
{
    "location": "London",
    "limit": 5
}
```

### Output Example

```json
{
    "cuisines": "Fast Food",
    "establishments": [
        {
            "id": 281,
            "name": "Fast Food"
        }
    ],
    "features": {
        "fullbar": 0,
        "live_music": true,
        "smoking_area": 2,
        "takeaway": 1
    },
    "id": 18942349,
    "images": [
        {
            "comments": 0,
            "height": 720,
            "likes": 0,
            "thumb": "https://b.zmtcdn.com/data/pictures/9/18942349/0e059b1750b7aec99c9b6ffcd312d00f.jpg?fit=around%7C200%3A200&crop=200%3A200%3B%2A%2C%2A",
            "url": "https://b.zmtcdn.com/data/pictures/9/18942349/0e059b1750b7aec99c9b6ffcd312d00f.jpg?fit=around%7C640%3A720&crop=640%3A720%3B%2A%2C%2A",
            "width": 640
        },
        {
            "comments": 0,
            "height": 720,
            "likes": 0,
            "thumb": "https://b.zmtcdn.com/data/pictures/9/18942349/0e059b1750b7aec99c9b6ffcd312d00f.jpg?fit=around%7C200%3A200&crop=200%3A200%3B%2A%2C%2A",
            "url": "https://b.zmtcdn.com/data/pictures/9/18942349/0e059b1750b7aec99c9b6ffcd312d00f.jpg?fit=around%7C640%3A720&crop=640%3A720%3B%2A%2C%2A",
            "width": 640
        },
        {
            "comments": 0,
            "height": 720,
            "likes": 0,
            "thumb": "https://b.zmtcdn.com/data/pictures/9/18942349/0e059b1750b7aec99c9b6ffcd312d00f.jpg?fit=around%7C200%3A200&crop=200%3A200%3B%2A%2C%2A",
            "url": "https://b.zmtcdn.com/data/pictures/9/18942349/0e059b1750b7aec99c9b6ffcd312d00f.jpg?fit=around%7C640%3A720&crop=640%3A720%3B%2A%2C%2A",
            "width": 640
        }
    ],
    "location": {
        "address": "4619 Summerhill Drive",
        "city": "Texarkana",
        "city_id": 9566,
        "country_id": 216,
        "latitude": "33.4625543526",
        "locality": "Texarkana",
        "locality_verbose": "Texarkana, Texarkana",
        "longitude": "-94.0666097403",
        "map_url": "https://maps.zomato.com/php/staticmap?center=33.4625543526,-94.0666097403&maptype=zomato&markers=33.4625543526,-94.0666097403,pin_res32&sensor=false&scale=2&zoom=16&language=en"
    },
    "menu_texts": [
        {
            "categories": [
                {
                    "dishes": [
                        {
                            "added_by": 0,
                            "description": "Start your day off right with a Regular Breakfast Bowl from SONIC!",
                            "dish_id": 249680683,
                            "name": "Breakfast Bowls"
                        },
                        {
                            "added_by": 0,
                            "description": "Signature chili flavor and toppings now in a cup!",
                            "dish_id": 249680684,
                            "name": "Hearty Chili Bowl"
                        }
                    ],
                    "id": 41574518,
                    "name": "Featured Items"
                },
                {
                    "dishes": [
                        {
                            "added_by": 0,
                            "description": "Made with 100% all-white meat chicken they're lightly breaded and perfect for dipping in our NEW Signature Sauce.",
                            "dish_id": 249680692,
                            "name": "3pc Crispy Tenders"
                        },
                        {
                            "added_by": 0,
                            "description": "Made with 100% all-white meat chicken they're lightly breaded and perfect for dipping in our NEW Signature Sauce.",
                            "dish_id": 249680693,
                            "name": "5pc Crispy Tenders"
                        }
                    ],
                    "id": 41574519,
                    "name": "Chicken"
                }
            ],
            "id": 4768949,
            "name": "Sonic Menu"
        }
    ],
    "name": "Sonic Drive-In",
    "payment": "Cash and Cards accepted",
    "phones": [
        "+190379XXXXX",
        "+186665XXXXX"
    ],
    "photo": {
        "thumb": "https://b.zmtcdn.com/images/res_avatar_476_320_1x_new.png?fit=around%7C200%3A200&crop=200%3A200%3B%2A%2C%2A",
        "url": "https://b.zmtcdn.com/images/res_avatar_476_320_1x_new.png"
    },
    "price": {
        "beer": 0,
        "currency": "$",
        "for_two": 15
    },
    "ratings": {
        "average": 0,
        "text": "Not rated",
        "votes": 0
    },
    "reviews": {
        "count": 0
    },
    "social": {
        "twitter": "http://www.twitter.com/sonicdrivein",
        "website": "https://locations.sonicdrivein.com/tx/texarkana/4619-summerhill-drive.html"
    },
    "status": "Closes in 1 hour 12 minutes",
    "timing": "6am – 10pm (Mon-Thu),6am – 11pm (Fri-Sat),7am – 10pm (Sun)",
    "type": "restaurant",
    "url": "https://www.zomato.com/texarkana-tx/restaurants/texarkana-tx/texarkana/sonic-drive-in",
    "wishlisters": 0
}
```

### Required Parameters

|parameter|title|type|default|example|description|
|--|--|--|--|--|--|
| `location` | 🌍 Location | ***string*** |  |  | Where do you want to eat ? |

### Optional Parameters

|parameter|title|type|default|example|description|
|--|--|--|--|--|--|
| `search` | 🔎 Search | ***string*** |  |  |  |
| `rating` | ⭐ Rating | ***string*** |  |  | Minimal rating |

#### ♾️ Pagination

|parameter|title|type|default|example|description|
|--|--|--|--|--|--|
| `limit` | ♾️ Limit | ***integer*** | `5` |  | Number of results |
| `sort` | 🔀 Sorting | ***string*** |  |  | Sort results by keys |

#### 💸 Pricing

|parameter|title|type|default|example|description|
|--|--|--|--|--|--|
| `min_cost` | Min. Cost | ***integer*** |  |  | Minimum cost for two. |
| `max_cost` | Max. Cost | ***integer*** |  |  | Maximum cost for two. |

#### 📁 Classification

|parameter|title|type|default|example|description|
|--|--|--|--|--|--|
| `category` | 📁 Category | ***string*** |  |  |  |
| `establishment` | 📁 Establishment | ***string*** |  |  |  |
| `cuisines` | 🥪 Cuisines | ***string*** |  |  |  |

#### 💎 Features

|parameter|title|type|default|example|description|
|--|--|--|--|--|--|
| `features:afternoon-tea` | Afternoon Tea | ***boolean*** |  |  |  |
| `features:bar` | Serves Alcohol | ***boolean*** |  |  |  |
| `features:brunch` | Brunch | ***boolean*** |  |  |  |
| `features:buffet` | Buffet | ***boolean*** |  |  |  |
| `features:byob` | BYOB | ***boolean*** |  |  |  |
| `features:cheap-eats` | Cheap Eats | ***boolean*** |  |  |  |
| `features:child-friendly` | Kid Friendly | ***boolean*** |  |  |  |
| `features:credit-card` | Credit Card | ***boolean*** |  |  |  |
| `features:desserts-bakes` | Desserts and Bakes | ***boolean*** |  |  |  |
| `features:halal` | Halal Meat | ***boolean*** |  |  |  |
| `features:happyhour` | Happy hours | ***boolean*** |  |  |  |
| `features:healthy-food` | Healthy Food | ***boolean*** |  |  |  |
| `features:live-screening` | Live Sports Screening | ***boolean*** |  |  |  |
| `features:luxury-dining` | Luxury Dining | ***boolean*** |  |  |  |
| `features:music` | Live Music | ***boolean*** |  |  |  |
| `features:outdoor` | Outdoor Seating | ***boolean*** |  |  |  |
| `features:pet-friendly` | Dog Friendly | ***boolean*** |  |  |  |
| `features:private-rooms` | Private Dining Area | ***boolean*** |  |  |  |
| `features:sports_bar` | Sports Bar | ***boolean*** |  |  |  |
| `features:veg` | Pure Veg | ***boolean*** |  |  |  |
| `features:weekend_brunch` | Weekend Brunch | ***boolean*** |  |  |  |
| `features:wheelchair-accessible` | Wheelchair Accessible | ***boolean*** |  |  |  |
| `features:wifi` | Wifi | ***boolean*** |  |  |  |

# Actor input Schema

## `location` (type: `string`):

Where do you want to eat ?

## `search` (type: `string`):

No description

## `rating` (type: `string`):

Minimal rating

## `limit` (type: `integer`):

Number of results

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

Sort results by keys

## `min_cost` (type: `integer`):

Minimum cost for two.

## `max_cost` (type: `integer`):

Maximum cost for two.

## `category` (type: `string`):

No description

## `establishment` (type: `string`):

No description

## `cuisines` (type: `string`):

No description

## `features:ac` (type: `boolean`):

No description

## `features:afternoon-tea` (type: `boolean`):

No description

## `features:bar` (type: `boolean`):

No description

## `features:brunch` (type: `boolean`):

No description

## `features:buffet` (type: `boolean`):

No description

## `features:byob` (type: `boolean`):

No description

## `features:cheap-eats` (type: `boolean`):

No description

## `features:child-friendly` (type: `boolean`):

No description

## `features:credit-card` (type: `boolean`):

No description

## `features:desserts-bakes` (type: `boolean`):

No description

## `features:halal` (type: `boolean`):

No description

## `features:happyhour` (type: `boolean`):

No description

## `features:healthy-food` (type: `boolean`):

No description

## `features:live-screening` (type: `boolean`):

No description

## `features:luxury-dining` (type: `boolean`):

No description

## `features:music` (type: `boolean`):

No description

## `features:outdoor` (type: `boolean`):

No description

## `features:pet-friendly` (type: `boolean`):

No description

## `features:private-rooms` (type: `boolean`):

No description

## `features:sports_bar` (type: `boolean`):

No description

## `features:veg` (type: `boolean`):

No description

## `features:weekend_brunch` (type: `boolean`):

No description

## `features:wheelchair-accessible` (type: `boolean`):

No description

## `features:wifi` (type: `boolean`):

No description

## Actor input object example

```json
{
  "location": "London",
  "limit": 5
}
```

# 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 = {
    "location": "London"
};

// Run the Actor and wait for it to finish
const run = await client.actor("jupri/zomato").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 = { "location": "London" }

# Run the Actor and wait for it to finish
run = client.actor("jupri/zomato").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 '{
  "location": "London"
}' |
apify call jupri/zomato --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,jupri/zomato"
        }
    }
}
```

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/2frXj1Mt4H88YtFfo/builds/oY0GiGzBezZgMofDh/openapi.json
