# Zomato Search Scraper (`gitlab/zomato-search-scraper`) Actor

Scrapes Zomato restaurant search results by location, cuisine, rating, and cost range. Extracts name, rating, reviews count, cuisine types, location, cost, and opening hours.

- **URL**: https://apify.com/gitlab/zomato-search-scraper.md
- **Developed by:** [Gitlab](https://apify.com/gitlab) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.99 / 1,000 result items

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

### What does Zomato Search Scraper do?

Scrapes Zomato restaurant search results by location, cuisine, rating, and cost range. Extracts name, rating, reviews count, cuisine types, location, cost, and opening hours. The target website is [zomato.com](https://www.zomato.com).

The Actor follows the options exposed in its input schema and writes structured records to its default dataset. Results depend on the source response, access permissions, and the fields made available by the source; a run may return fewer items than requested.

### Why use Zomato Search Scraper?

Use this Actor to turn source-visible information into a repeatable dataset. Apify provides run logs and monitoring, scheduling, API access, and integrations. If this Actor exposes a proxy input, you can configure Apify Proxy there; proxy use does not guarantee access to restricted sources.

Common use cases include:

- Research queries, suggestions, or search listings.
- Compare metadata across terms or locations.
- Build discovery datasets for later analysis.
- Limit the amount of work per run with the maxItems input.
- Inspect documented output fields such as id, name, url, ratingText.

### What data can it extract?

| Field | Type | Description |
|---|---|---|
| id (Id) | string | id from the actual Zomato source; missing values remain null. |
| name (Name) | string | name from the actual Zomato source; missing values remain null. |
| url (Url) | string | url from the actual Zomato source; missing values remain null. |
| ratingText (Rating Text) | string | ratingText from the actual Zomato source; missing values remain null. |
| costText (Cost Text) | string | costText from the actual Zomato source; missing values remain null. |
| currency (Currency) | string | currency from the actual Zomato source; missing values remain null. |
| address (Address) | string | address from the actual Zomato source; missing values remain null. |
| locality (Locality) | string | locality from the actual Zomato source; missing values remain null. |
| city (City) | string | city from the actual Zomato source; missing values remain null. |
| featuredImage (Featured Image) | string | featuredImage from the actual Zomato source; missing values remain null. |
| openingHours (Opening Hours) | string | Source-provided opening hours, which may describe today rather than a weekly schedule. |
| phone (Phone) | string | phone from the actual Zomato source; missing values remain null. |

The schema contains 30 fields. This table highlights the first 12; see the Output tab for the complete list.

### How to use Zomato Search Scraper

1. Open the Input tab and choose one of the configured query, URL, ID, or mode options.
2. Review required fields and keep defaults unless your use case needs different settings.
3. Set the result limit if a maxItems field is available; start with a small run.
4. Start the run and inspect its log and dataset. If the source is unavailable or requires authentication, review the run error rather than assuming the results are complete.
5. Download the dataset as JSON, HTML, CSV, or Excel, or use the API tab for an automated workflow.

### How much does it cost?

Check the Actor’s current pricing panel in Apify Console before starting a run. That panel is authoritative for any pay-per-event charge, including a default-dataset-item event. Compute, storage, and optional proxy usage may also affect total costs. This README does not assert a live price or monetization state.

### Input

See the input tab for the full configuration options. Required fields are marked below; defaults and prefilled examples come from the local input schema.

| Field | Type | Default / prefill | Required | Description |
|---|---|---|---|---|
| location (Location) | string | Chennai | Yes | City or area where you want to search for restaurants |
| search (Search) | string | biryani | No | Keywords to search for specific restaurants or food types |
| maxItems (Maximum results) | integer | 10 | No | Maximum number of result items to return. The default is 10. |
| rating (Rating) | string (3.5, 4, 4.5, 5) | — | No | Minimum rating filter (restaurants below this rating will be excluded) |
| limit (Limit) | integer | 10 | No | Maximum number of restaurant results to return |
| sort (Sorting) | string (popularity, rating, cost) | — | No | How to sort the search results |
| min cost (Min. Cost) | integer | — | No | Minimum cost for two people (in local currency) |
| max cost (Max. Cost) | integer | — | No | Maximum cost for two people (in local currency) |
| category (Category) | string (, 1, 2, 3, 4, …) | — | No | Optional legacy category filter. Public mode currently requires an actual filtered source URL for non-empty category selections. |
| establishment (Establishment) | string (1, 4, 5, 6, 7, …) | — | No | Type of restaurant or food establishment |
| cuisines (Cuisines) | string (1, 2, 3, 4, 5, …) | — | No | Type of cuisine or food category |
| features (Features) | string (ac, afternoon-tea, bar, brunch, buffet, …) | — | No | Restaurant features and amenities |
| searchQuery (Search query) | string | biryani | No | Search terms to retrieve from the target source. Existing query input names remain supported. |

Example input (illustrative; verify required fields in the Input tab):

```json
{
  "location": "Chennai",
  "maxItems": 10,
  "searchQuery": "biryani",
  "search": "biryani",
  "rating": "3.5",
  "limit": 10
}
```

### Output

The Actor writes records to its default dataset. You can download dataset results in formats such as JSON, HTML, CSV, or Excel. The examples below are illustrative placeholders based on the output schema, not live records.

| Field | Description |
|---|---|
| id | id from the actual Zomato source; missing values remain null. |
| name | name from the actual Zomato source; missing values remain null. |
| url | url from the actual Zomato source; missing values remain null. |
| ratingText | ratingText from the actual Zomato source; missing values remain null. |
| costText | costText from the actual Zomato source; missing values remain null. |
| currency | currency from the actual Zomato source; missing values remain null. |
| address | address from the actual Zomato source; missing values remain null. |
| locality | locality from the actual Zomato source; missing values remain null. |
| city | city from the actual Zomato source; missing values remain null. |
| featuredImage | featuredImage from the actual Zomato source; missing values remain null. |
| openingHours | Source-provided opening hours, which may describe today rather than a weekly schedule. |
| phone | phone from the actual Zomato source; missing values remain null. |

```json
[
  {
    "name": "Example source value 1",
    "url": "https://www.zomato.com/example-1",
    "sourceUrl": "https://www.zomato.com/example-1",
    "id": "example-1",
    "scrapedAt": "2026-01-01T00:00:00.000Z"
  },
  {
    "name": "Example source value 2",
    "url": "https://www.zomato.com/example-2",
    "sourceUrl": "https://www.zomato.com/example-2",
    "id": "example-2",
    "scrapedAt": "2026-01-01T00:00:00.000Z"
  }
]
```

### Tips and limitations

- Start with a low result limit and inspect the run log before increasing the workload.
- Confirm that supplied URLs belong to the source expected by this Actor. Source layouts and access policies can change.
- If no records are returned, check input values, source availability, and run logs. Do not bypass login pages, CAPTCHAs, or other access controls.

### FAQ, legal use, and support

#### Can I automate this Actor?

Yes. Open the API tab on the Actor page for the current endpoint and example requests. Apify also supports scheduling and integrations for repeatable workflows.

#### Why might a run return fewer results than requested?

The source may have fewer matching records, unavailable pages, changing markup, or access restrictions. Review the run log and any source URLs included in the dataset.

#### Is the data suitable for every purpose?

Use the Actor only for lawful purposes and in accordance with the target website’s terms and applicable privacy rules. Results may contain personal data or other restricted information; assess your legal basis and retention duties before use. Do not use the Actor to bypass authentication, CAPTCHAs, or access controls.

For feedback or bug reports, use the Issues tab on the Actor page. Include a reproducible input example without credentials or other secrets.

Before using results downstream, validate records against your use case and save the input used for each run. Source-visible fields can vary by query, region, page type, and time. Repeated runs represent what the source returned at that moment.

# Changelog

This Actor's version history is a separate document: https://apify.com/gitlab/zomato-search-scraper/changelog.md

# Actor input Schema

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

City or area where you want to search for restaurants

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

Keywords to search for specific restaurants or food types

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

Maximum number of result items to return. The default is 10.

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

Minimum rating filter (restaurants below this rating will be excluded)

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

Maximum number of restaurant results to return

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

How to sort the search results

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

Minimum cost for two people (in local currency)

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

Maximum cost for two people (in local currency)

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

Optional legacy category filter. Public mode currently requires an actual filtered source URL for non-empty category selections.

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

Type of restaurant or food establishment

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

Type of cuisine or food category

## `features` (type: `string`):

Restaurant features and amenities

## `searchQuery` (type: `string`):

Search terms to retrieve from the target source. Existing query input names remain supported.

## Actor input object example

```json
{
  "location": "Chennai",
  "search": "biryani",
  "maxItems": 10,
  "limit": 10,
  "category": "",
  "searchQuery": "biryani"
}
```

# Actor output Schema

## `dataset` (type: `string`):

Dataset containing the records extracted by this Actor.

# 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": "Chennai",
    "search": "biryani",
    "maxItems": 10,
    "limit": 10,
    "category": "",
    "searchQuery": "biryani"
};

// Run the Actor and wait for it to finish
const run = await client.actor("gitlab/zomato-search-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 = {
    "location": "Chennai",
    "search": "biryani",
    "maxItems": 10,
    "limit": 10,
    "category": "",
    "searchQuery": "biryani",
}

# Run the Actor and wait for it to finish
run = client.actor("gitlab/zomato-search-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 '{
  "location": "Chennai",
  "search": "biryani",
  "maxItems": 10,
  "limit": 10,
  "category": "",
  "searchQuery": "biryani"
}' |
apify call gitlab/zomato-search-scraper --silent --output-dataset

```

## MCP server setup

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