# Zomato Reviews Scraper (`gitlab/zomato-reviews-scraper`) Actor

An advanced, high-speed e-commerce scraper designed for real-time price monitoring and competitor intelligence. Extracts product titles, current pricing, discounts, stock availability, specifications, images, and seller ratings from Zomato. Perfect for inventory tracking, drop-shipping research, ...

- **URL**: https://apify.com/gitlab/zomato-reviews-scraper.md
- **Developed by:** [Gitlab](https://apify.com/gitlab) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.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 Reviews Scraper do?

An advanced, high-speed e-commerce scraper designed for real-time price monitoring and competitor intelligence. Extracts product titles, current pricing, discounts, stock availability, specifications, images, and seller ratings from Zomato. Perfect for inventory tracking, drop-shipping research,... 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 Reviews 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:

- Analyze public customer feedback and rating trends.
- Compare review topics across products, apps, or businesses.
- Collect source-linked reviews for further analysis.
- Limit the amount of work per run with the maxItems input.
- Configure the optional proxy settings exposed in the input schema when the source and your account require them.
- Inspect documented output fields such as review_id, status, user_name, rating_value.

### What data can it extract?

| Field | Type | Description |
|---|---|---|
| review id (ID) | number | Review id returned by the source. |
| status (Status) | string | Status returned by the source. |
| user name (Reviewer) | string | User name returned by the source. |
| rating value (Rating) | number | Rating value returned by the source. |
| rating label (Rating Label) | string | Rating label returned by the source. |
| rating color hex (Color) | string | Rating color hex returned by the source. |
| review text short (Preview) | string | Review text short returned by the source. |
| date (Date) | string | Date returned by the source. |
| experience type (Experience) | string | Experience type returned by the source. |
| like count (Likes) | number | Like count returned by the source. |
| comment count (Comments) | number | Comment count returned by the source. |
| review url (URL) | string | Review url returned by the source. |

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

### How to use Zomato Reviews 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 |
|---|---|---|---|---|
| restaurantUrls (Restaurant URLs) | array | \["https://www.zomato.com/chennai/mathsya-t-nagar-t-nagar"] | Yes | List of Zomato restaurant URLs to scrape reviews from. |
| maxReviewsPerRestaurant (Max Reviews Per Restaurant) | integer | 10 | No | Maximum number of reviews to scrape per restaurant. |
| headless (Headless Mode) | boolean | false | No | Run browser in headless mode (no visible UI). Set to false for debugging. |
| cookies (Cookies (Optional)) | array | Set securely at run time | No | Supply securely at run time; do not put credentials in this README. |
| maxItems (Maximum results) | integer | 10 | No | Maximum number of result items to return. The default is 10. |
| proxyConfiguration (Proxy Configuration) | object | {"useApifyProxy":true,"apifyProxyGroups":\["RESIDENTIAL"],"apifyProxyCountry":"IN"} | No | Use Apify Proxy to avoid IP address-based blocking. Required for successful scraping. |

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

```json
{
  "restaurantUrls": [
    "https://www.zomato.com/chennai/mathsya-t-nagar-t-nagar"
  ],
  "maxItems": 10,
  "maxReviewsPerRestaurant": 10,
  "headless": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "IN"
  }
}
```

### 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 |
|---|---|
| review id | Review id returned by the source. |
| status | Status returned by the source. |
| user name | User name returned by the source. |
| rating value | Rating value returned by the source. |
| rating label | Rating label returned by the source. |
| rating color hex | Rating color hex returned by the source. |
| review text short | Review text short returned by the source. |
| date | Date returned by the source. |
| experience type | Experience type returned by the source. |
| like count | Like count returned by the source. |
| comment count | Comment count returned by the source. |
| review url | Review url returned by the source. |

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

### 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-reviews-scraper/changelog.md

# Actor input Schema

## `restaurantUrls` (type: `array`):

List of Zomato restaurant URLs to scrape reviews from.

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

Maximum number of reviews to scrape per restaurant.

## `headless` (type: `boolean`):

Run browser in headless mode (no visible UI). Set to false for debugging.

## `cookies` (type: `array`):

Optional: Provide authentication cookies from a logged-in Zomato session as a JSON array. If not provided, will try to load from COOKIES.json file. Export cookies from your browser using the 'Get cookies.txt LOCALLY' Chrome extension (Export As → JSON format). Each cookie object should include: name, value, domain properties at minimum.

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

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

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

Use Apify Proxy to avoid IP address-based blocking. Required for successful scraping.

## Actor input object example

```json
{
  "restaurantUrls": [
    "https://www.zomato.com/chennai/mathsya-t-nagar-t-nagar"
  ],
  "maxReviewsPerRestaurant": 10,
  "headless": false,
  "maxItems": 10,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "IN"
  }
}
```

# 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 = {
    "restaurantUrls": [
        "https://www.zomato.com/chennai/mathsya-t-nagar-t-nagar"
    ],
    "maxReviewsPerRestaurant": 10,
    "headless": false,
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("gitlab/zomato-reviews-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 = {
    "restaurantUrls": ["https://www.zomato.com/chennai/mathsya-t-nagar-t-nagar"],
    "maxReviewsPerRestaurant": 10,
    "headless": False,
    "maxItems": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("gitlab/zomato-reviews-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 '{
  "restaurantUrls": [
    "https://www.zomato.com/chennai/mathsya-t-nagar-t-nagar"
  ],
  "maxReviewsPerRestaurant": 10,
  "headless": false,
  "maxItems": 10
}' |
apify call gitlab/zomato-reviews-scraper --silent --output-dataset

```

## MCP server setup

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