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

Collects public restaurant reviews from Zomato, including review text, ratings, reviewer details, engagement, and available photos.

- **URL**: https://apify.com/codingfrontend/zomato-reviews-scraper.md
- **Developed by:** [Coding Frontned](https://apify.com/codingfrontend) (community)
- **Categories:** E-commerce, Automation
- **Features:** Limited permissions
- **Stats:** 26 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.99 / 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.

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?

Collect public restaurant reviews from [Zomato](https://www.zomato.com/) as one business record per review. Records can include review text, ratings, reviewer details, engagement, replies, review photos, and restaurant facts when Zomato provides them.

### Why use Zomato Reviews Scraper?

Use the dataset to monitor customer feedback, compare restaurant experiences, or connect review details with a restaurant's address, cuisine, menu, and ratings. The Actor reads the public Reviews section, follows its published next-page links, and saves complete review entries up to your per-restaurant limit. Restaurant facts from the overview page stay attached to each review. If additional restaurant details are unavailable, complete reviews remain saved and the output summary reports limited results.

You can run it manually, schedule runs in Apify, or start it through the API and integrations. The run's **Output summary** is available separately from the review dataset.

### What data can it collect?

| Data | Type | What it contains |
| --- | --- | --- |
| Review identity | String or integer | Zomato's review ID and the restaurant ID. |
| Review content | String | Full review text, with formatting removed for easy reading. |
| Rating and date | Number and strings | Numeric rating, rating label, experience type, and the date text shown by Zomato. |
| Reviewer details | Strings and integers | Public display name, profile links, follower count, and review count when available. |
| Engagement | Integers and arrays | Like and comment counts, review tags, comments, and restaurant management replies. |
| Review photos | Array of objects | Photo links, thumbnails, dates, engagement counts, and public uploader details. |
| Restaurant facts | Object | Name, address, coordinates, contact details, cuisines, menu, hours, ratings, highlights, and images. |

Optional data is omitted when it is absent. The Actor does not add empty defaults to review records.

### How to collect Zomato reviews

1. Open the Actor's **Input** tab.
2. Enter one or more Zomato restaurant page URLs.
3. Set the review limit and request controls if you need values other than the defaults.
4. Select **Start**.
5. Open the run's **Dataset** to view or download the review records.

### How much does a run cost?

The Actor does not set a fixed per-review price. Your run uses browser compute, and its duration depends on the number of restaurant pages, the review limit, request timeouts, and the delay between requests to public pages. The default network route uses an Apify **RESIDENTIAL** proxy in India; proxy charges depend on your account plan and actual use. See your Apify account's current pricing before increasing limits or running a large URL list.

### Input

Enter a Zomato restaurant page on the apex or `www` host. Accepted paths use the city and restaurant slug, with an optional `info`, `menu`, `photos`, or `reviews` section. The Actor requires HTTPS, rejects URLs with credentials or explicit ports, removes query strings and fragments, and skips duplicate normalized URLs. You can submit up to 20 URLs, each no longer than 2,048 characters.

This standard run example uses the public Big Fish Co restaurant page and the default request settings:

```json
{
  "restaurantUrls": [
    "https://www.zomato.com/mumbai/the-big-fish-co-dadar-west/info"
  ],
  "maxReviewsPerRestaurant": 20,
  "timeoutSecs": 30,
  "requestDelayMs": 500,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"],
    "apifyProxyCountry": "IN"
  }
}
```

| Field | Type | Required? | Default | What it does |
| --- | --- | --- | --- | --- |
| `restaurantUrls` | Array of strings | Yes | None | One to 20 HTTPS Zomato restaurant page URLs. Query strings and fragments are removed before URLs are deduplicated. |
| `maxReviewsPerRestaurant` | Integer | No | `20` | Maximum complete review records to save per restaurant. Range: `1`–`100`. |
| `timeoutSecs` | Integer | No | `30` seconds | Maximum wait for each restaurant or review-page request. Range: `5`–`120` seconds. |
| `requestDelayMs` | Integer | No | `500` milliseconds | Wait between requests to public Zomato pages. Range: `250`–`5000` milliseconds. |
| `proxyConfiguration` | Object | No | Apify Proxy, `RESIDENTIAL`, country `IN` | Select the request route. Custom proxy URLs cannot be combined with Apify Proxy. |
| `cookies` | Array of objects | No | None | Optional protected Zomato cookies for pages available to your account. Maximum: 100 cookies. Cookies do not bypass access controls. |

#### Proxy configuration fields

| Field | Type | Required? | Default | What it does |
| --- | --- | --- | --- | --- |
| `proxyConfiguration.useApifyProxy` | Boolean | No | `true` | Use Apify Proxy. Set `false` to use direct access or custom proxy URLs. |
| `proxyConfiguration.apifyProxyGroups` | Array of strings | No | `["RESIDENTIAL"]` | Select Apify Proxy groups. |
| `proxyConfiguration.apifyProxyCountry` | String | No | `IN` | Two-letter country code. The standard configuration uses India. An empty value leaves the country unspecified. |
| `proxyConfiguration.proxyUrls` | Array of strings | No | None | HTTP or HTTPS proxy origin URLs only, with no path, query, or fragment. Credentials are allowed; do not combine custom URLs with Apify Proxy. Keep credentials private. |

#### Cookie fields

Each cookie requires a `name`, `value`, and `domain` within `zomato.com`. Values are encrypted in the input form and are not included in dataset records or the run summary.

| Field | Type | Required? | Default | What it does |
| --- | --- | --- | --- | --- |
| `cookies[].name` | String | Yes | None | Cookie name. |
| `cookies[].value` | String | Yes | None | Private cookie value. |
| `cookies[].domain` | String | Yes | None | A Zomato domain, optionally prefixed with a dot. |
| `cookies[].path` | String | No | `/` | Cookie path, beginning with `/`. |
| `cookies[].httpOnly` | Boolean | No | `false` | Whether the cookie is HTTP only. |
| `cookies[].secure` | Boolean | No | `false` | Whether the cookie is limited to HTTPS. |
| `cookies[].sameSite` | String | No | `Lax` | Cookie policy: `Strict`, `Lax`, `None`, `no_restriction`, or `unspecified`. |
| `cookies[].expirationDate` | Number | No | Session cookie | Expiration time in Unix seconds. Use `-1` for a session cookie. Expired cookies are ignored. |

### Output

Each dataset item represents a Zomato review and includes the requested restaurant identity. A saved record has review text, a rating, or both. Reviewer details, comments, replies, photos, and restaurant facts are included when available. Optional properties are omitted when Zomato does not provide them.

This historical dataset array contains a full review record copied from an earlier verified run for The Big Fish & Co. It documents the historical output shape and is not evidence that current Actor runs can access Zomato; restaurant details may change.

```json
[
{
  "review_id": 180370833,
  "review_url": "https://www.zoma.to/dBpGEEx",
  "review_text": "Lovely sea food with great ambience Please do try their authentic ghee roast and tandoori pomfret",
  "date": "Mar 02, 2024",
  "experience_type": "dining",
  "rating_value": 5,
  "rating_label": "Excellent",
  "rating_text": "DINING",
  "user_id": 249006912,
  "user_name": "Aditya",
  "user_profile_url": "https://www.zomato.com/users/aditya-249006912",
  "user_followers_count": 0,
  "user_reviews_count": 0,
  "like_count": 0,
  "comment_count": 0,
  "restaurant": {
    "name": "The Big Fish & Co.",
    "telephone": "+919833883387",
    "priceRange": "₹2,000 for two people (approx.)",
    "paymentAccepted": "Cash and Cards accepted",
    "status": "Closed",
    "url": "https://www.zomato.com/mumbai/the-big-fish-co-dadar-west",
    "menuUrl": "https://www.zomato.com/mumbai/the-big-fish-co-dadar-west/menu",
    "imageUrl": "https://b.zmtcdn.com/data/pictures/2/21068032/438ff74fd3610a83952b3d6d76bbd117.jpg?output-format=webp",
    "address": {
      "streetAddress": "Shiv Sena Bhavan, Marg, Dadar West, Mumbai",
      "locality": "Dadar West, Mumbai",
      "region": "Mumbai",
      "country": "India"
    },
    "geolocation": {
      "latitude": 19.0235002219,
      "longitude": 72.8397796879
    },
    "isDeliveryOnly": false,
    "isPermanentlyClosed": false,
    "isTemporarilyClosed": false,
    "cuisines": ["North Indian", "Goan"],
    "openingHours": [
      {
        "days": "Mon-Sun",
        "timing": "12noon – 3:30pm, 7pm – 11:30pm"
      }
    ],
    "ratings": [
      {
        "type": "DINING",
        "value": 3.8,
        "reviewCount": 647,
        "label": "Dining Ratings"
      },
      {
        "type": "DELIVERY",
        "value": 4,
        "reviewCount": 546,
        "label": "Delivery Ratings"
      }
    ],
    "highlights": [
      { "type": "AVAILABLE", "text": "Dinner" },
      { "type": "AVAILABLE", "text": "Lunch" },
      { "type": "AVAILABLE", "text": "Home delivery" },
      { "type": "AVAILABLE", "text": "Takeaway available" },
      { "type": "AVAILABLE", "text": "Stags allowed" },
      { "type": "AVAILABLE", "text": "Less noisy" },
      { "type": "AVAILABLE", "text": "Valet parking" },
      { "type": "AVAILABLE", "text": "Indoor seating" },
      { "type": "AVAILABLE", "text": "Large group seating" },
      { "type": "AVAILABLE", "text": "Celebrity frequented" },
      { "type": "AVAILABLE", "text": "Kid friendly" },
      { "type": "AVAILABLE", "text": "Family friendly" },
      { "type": "AVAILABLE", "text": "Wifi" }
    ],
    "menus": [
      {
        "label": "Special",
        "subtitle": "2 pages",
        "thumbnailUrl": "https://b.zmtcdn.com/data/menus/032/21068032/d2893a4717708e86b724e4187bb8321c.jpeg?h=200&impolicy=newfitandcrop&w=200"
      },
      {
        "label": "Food",
        "subtitle": "2 pages",
        "thumbnailUrl": "https://b.zmtcdn.com/data/menus/032/21068032/7441a5066f45fd8077bd4026d3a4affe.jpeg?h=200&impolicy=newfitandcrop&w=200"
      }
    ],
    "images": [
      {
        "photoId": "r_Q4NjU5MzA4MzM0",
        "url": "https://b.zmtcdn.com/data/pictures/2/21068032/438ff74fd3610a83952b3d6d76bbd117.jpg?output-format=webp",
        "thumbnailUrl": "https://b.zmtcdn.com/data/pictures/2/21068032/438ff74fd3610a83952b3d6d76bbd117.jpg?fit=around%7C200%3A200&crop=200%3A200%3B%2A%2C%2A",
        "date": "May 16, 2025",
        "likeCount": 0,
        "commentCount": 0,
        "uploaderName": "Zomato",
        "uploaderProfilePic": "https://b.zmtcdn.com/images/square_zomato_logo_new.svg"
      },
      {
        "photoId": "r_zMwMjEwOTk5MTY",
        "url": "https://b.zmtcdn.com/data/pictures/2/21068032/ed9dec1430e35c8f369ca221a0dd16aa.jpg?output-format=webp",
        "thumbnailUrl": "https://b.zmtcdn.com/data/pictures/2/21068032/ed9dec1430e35c8f369ca221a0dd16aa.jpg?fit=around%7C200%3A200&crop=200%3A200%3B%2A%2C%2A",
        "date": "May 16, 2025",
        "likeCount": 0,
        "commentCount": 0,
        "uploaderName": "Zomato",
        "uploaderProfilePic": "https://b.zmtcdn.com/images/square_zomato_logo_new.svg"
      },
      {
        "photoId": "r_TU4OANDg3Nzg4N",
        "url": "https://b.zmtcdn.com/data/pictures/2/21068032/9b19c1ee11b4ba1cf10f7527f25e8127.jpg?output-format=webp",
        "thumbnailUrl": "https://b.zmtcdn.com/data/pictures/2/21068032/9b19c1ee11b4ba1cf10f7527f25e8127.jpg?fit=around%7C200%3A200&crop=200%3A200%3B%2A%2C%2A",
        "date": "May 16, 2025",
        "likeCount": 0,
        "commentCount": 0,
        "uploaderName": "Zomato",
        "uploaderProfilePic": "https://b.zmtcdn.com/images/square_zomato_logo_new.svg"
      },
      {
        "photoId": "r_DQ0MzYyOTc2MzA",
        "url": "https://b.zmtcdn.com/data/pictures/2/21068032/4bade54801f45bf7fec28f69a3e04cc7.jpg?output-format=webp",
        "thumbnailUrl": "https://b.zmtcdn.com/data/pictures/2/21068032/4bade54801f45bf7fec28f69a3e04cc7.jpg?fit=around%7C200%3A200&crop=200%3A200%3B%2A%2C%2A",
        "date": "May 16, 2025",
        "likeCount": 0,
        "commentCount": 0,
        "uploaderName": "Zomato",
        "uploaderProfilePic": "https://b.zmtcdn.com/images/square_zomato_logo_new.svg"
      },
      {
        "photoId": "r_MDE2MDg0MDM0Mj",
        "url": "https://b.zmtcdn.com/data/pictures/2/21068032/df4c5542e2b13002b0e408da3b3976c6.jpg?output-format=webp",
        "thumbnailUrl": "https://b.zmtcdn.com/data/pictures/2/21068032/df4c5542e2b13002b0e408da3b3976c6.jpg?fit=around%7C200%3A200&crop=200%3A200%3B%2A%2C%2A",
        "date": "May 16, 2025",
        "likeCount": 0,
        "commentCount": 0,
        "uploaderName": "Zomato",
        "uploaderProfilePic": "https://b.zmtcdn.com/images/square_zomato_logo_new.svg"
      },
      {
        "photoId": "r_MzNjE3MTM1ODY0",
        "url": "https://b.zmtcdn.com/data/pictures/2/21068032/4cd1742a82da0d305c09c3b2ec19c7d9.jpg?output-format=webp",
        "thumbnailUrl": "https://b.zmtcdn.com/data/pictures/2/21068032/4cd1742a82da0d305c09c3b2ec19c7d9.jpg?fit=around%7C200%3A200&crop=200%3A200%3B%2A%2C%2A",
        "date": "May 16, 2025",
        "likeCount": 0,
        "commentCount": 0,
        "uploaderName": "Zomato",
        "uploaderProfilePic": "https://b.zmtcdn.com/images/square_zomato_logo_new.svg"
      },
      {
        "photoId": "r_5OTA1MzI2NgNDc",
        "url": "https://b.zmtcdn.com/data/pictures/2/21068032/9022640969d5338c329181edf1164660.jpg?output-format=webp",
        "thumbnailUrl": "https://b.zmtcdn.com/data/pictures/2/21068032/9022640969d5338c329181edf1164660.jpg?fit=around%7C200%3A200&crop=200%3A200%3B%2A%2C%2A",
        "date": "May 16, 2025",
        "likeCount": 0,
        "commentCount": 0,
        "uploaderName": "Zomato",
        "uploaderProfilePic": "https://b.zmtcdn.com/images/square_zomato_logo_new.svg"
      },
      {
        "photoId": "r_MDAxNTQ0MTQ0NT",
        "url": "https://b.zmtcdn.com/data/pictures/2/21068032/7805e8e5774dc9b42e78247810544755.jpg?output-format=webp",
        "thumbnailUrl": "https://b.zmtcdn.com/data/pictures/2/21068032/7805e8e5774dc9b42e78247810544755.jpg?fit=around%7C200%3A200&crop=200%3A200%3B%2A%2C%2A",
        "date": "May 16, 2025",
        "likeCount": 0,
        "commentCount": 0,
        "uploaderName": "Zomato",
        "uploaderProfilePic": "https://b.zmtcdn.com/images/square_zomato_logo_new.svg"
      },
      {
        "photoId": "r_A1ODgxNTM3Nzg5",
        "url": "https://b.zmtcdn.com/data/pictures/2/21068032/8e17d57d011199fc0ebaf5d53dc2e9ed.jpg?output-format=webp",
        "thumbnailUrl": "https://b.zmtcdn.com/data/pictures/2/21068032/8e17d57d011199fc0ebaf5d53dc2e9ed.jpg?fit=around%7C200%3A200&crop=200%3A200%3B%2A%2C%2A",
        "date": "May 16, 2025",
        "likeCount": 0,
        "commentCount": 0,
        "uploaderName": "Zomato",
        "uploaderProfilePic": "https://b.zmtcdn.com/images/square_zomato_logo_new.svg"
      }
    ]
  },
  "restaurantUrl": "https://www.zomato.com/mumbai/the-big-fish-co-dadar-west",
  "resId": 21068032
}
]
```

| Field | Type | Required? | Default | What it means |
| --- | --- | --- | --- | --- |
| `review_id` | String or integer | Yes | None | Review identifier from Zomato. |
| `restaurantUrl` | URL string | Yes | None | Normalized restaurant page used for the run. |
| `resId` | String or integer | Yes | None | Restaurant identifier from Zomato. |
| `review_url` | URL string | No | Omitted | Review page link, when available. |
| `review_text` | String | Conditional | Omitted | Review text with markup and extra whitespace normalized. A record can instead qualify with a rating. |
| `date` | String | No | Omitted | Date text shown for the review. |
| `experience_type` | String | No | Omitted | Visit type shown for the review. |
| `rating_value` | Number | Conditional | Omitted | Numeric review rating. A record can instead qualify with review text. |
| `rating_label`, `rating_text` | Strings | No | Omitted | Rating label and display text. |
| `user_id` | String or integer | No | Omitted | Public reviewer identifier. |
| `user_name` | String | No | Omitted | Public reviewer display name. |
| `user_profile_url`, `user_profile_pic` | URL strings | No | Omitted | Public reviewer profile and image links. |
| `user_followers_count`, `user_reviews_count` | Integers | No | Omitted | Public reviewer counts. |
| `review_tags`, `positive_tags`, `negative_tags` | Arrays of strings | No | Omitted | Tags attached to the review. |
| `like_count`, `comment_count` | Nonnegative integers | No | Omitted | Review engagement counts. |
| `comments`, `management_comments` | Arrays of objects | No | Omitted | Public review comments and restaurant replies. |
| `review_photos` | Array of objects | No | Omitted | Review photo links and available public photo details. |
| `external_url` | URL string | No | Omitted | External link attached to the review. |
| `external_host`, `external_host_text` | Strings | No | Omitted | Host and display name for an attached external link. |
| `restaurant` | Object | No | Omitted | Business facts and media available on the restaurant page. |

Optional properties have no default value. If Zomato does not provide a property, it is omitted from the record.

#### Comment and photo fields

The `comments` and `management_comments` arrays use the same optional fields:

| Field | Type | Required? | Default | What it contains |
| --- | --- | --- | --- | --- |
| `comment_id` | String or integer | No | Omitted | Comment identifier. |
| `text`, `date` | Strings | No | Omitted | Comment text and date. |
| `user_id` | String or integer | No | Omitted | Public commenter identifier. |
| `user_name` | String | No | Omitted | Public commenter display name. |
| `user_profile_url`, `user_profile_pic` | URL strings | No | Omitted | Public commenter profile and image links. |
| `like_count` | Nonnegative integer | No | Omitted | Comment likes. |

Each `review_photos` object can include:

| Field | Type | Required? | Default | What it contains |
| --- | --- | --- | --- | --- |
| `photoId` | String or integer | No | Omitted | Photo identifier. |
| `url`, `thumbnailUrl` | URL strings | No | Omitted | Full-size and thumbnail image links. |
| `caption`, `date` | Strings | No | Omitted | Caption and photo date. |
| `likeCount`, `commentCount` | Nonnegative integers | No | Omitted | Photo engagement counts. |
| `uploaderName` | String | No | Omitted | Public uploader display name. |
| `uploaderProfileUrl`, `uploaderProfilePic` | URL strings | No | Omitted | Public uploader profile and image links. |

#### Restaurant details

The optional `restaurant` object may include these properties:

| Field | Type | Required? | Default | What it contains |
| --- | --- | --- | --- | --- |
| `name`, `telephone`, `priceRange`, `paymentAccepted`, `status` | Strings | No | Omitted | Restaurant name, contact number, price range, accepted payments, and status. |
| `url`, `imageUrl`, `menuUrl` | URL strings | No | Omitted | Restaurant page, image, and menu links. |
| `address` | Object | No | Omitted | Optional `streetAddress`, `locality`, `region`, `postalCode`, and `country` strings. |
| `geolocation` | Object | No | Omitted | Optional `latitude` and `longitude` numbers. |
| `cuisines` | Array of strings | No | Omitted | Cuisine names. |
| `openingHours` | Array of objects | No | Omitted | Each entry has a `days` string and a `timing` string. |
| `isDeliveryOnly`, `isPermanentlyClosed`, `isTemporarilyClosed` | Booleans | No | Omitted | Delivery and closure details when provided. |
| `ratings` | Array of objects | No | Omitted | Rating type, value, review count, and label. |
| `highlights` | Array of objects | No | Omitted | Restaurant highlights, each with a type and text. |
| `menus` | Array of objects | No | Omitted | Menu label, subtitle, and thumbnail link. |
| `images` | Array of objects | No | Omitted | Restaurant photos with available URL, thumbnail, caption, date, engagement, and uploader details. |

Restaurant gallery image objects can include `photoId`, `url`, `thumbnailUrl`, `caption`, `date`, `likeCount`, `commentCount`, `uploaderName`, `uploaderProfileUrl`, and `uploaderProfilePic` when those values are available.

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

### Run summary

The separate `OUTPUT_SUMMARY` key-value record contains exactly three fields:

```json
{
  "status": "SUCCEEDED",
  "itemsStored": 2,
  "isPartial": false
}
```

| Field | Type | Required? | Default | What it means |
| --- | --- | --- | --- | --- |
| `status` | String: `SUCCEEDED` or `FAILED` | Yes | None | Whether at least one complete review record was saved. |
| `itemsStored` | Nonnegative integer | Yes | None | Number of review records saved to the dataset. |
| `isPartial` | Boolean | Yes | None | `true` when a later failure limited a run after records were saved. |

### Tips, limits, and support

- Lower `maxReviewsPerRestaurant` to shorten small runs. It applies separately to each restaurant; multiple URLs for the same restaurant share the limit.
- Raise `requestDelayMs` to leave more time between requests to public pages. A longer delay increases run time.
- Raise `timeoutSecs` if a restaurant or review page is slow to respond. The value applies to each request.
- Use a valid public restaurant route. If a page is unavailable, empty, or blocked, the Actor does not write a review row for it. Use the separate run summary to check whether records were saved.
- Review records can contain public personal information. Collect and use it only when you have a legitimate reason and follow applicable privacy laws.
- This Actor is not affiliated with Zomato. Follow Zomato's terms, robots guidance, rate limits, and applicable law. It does not bypass login gates or other access controls.
- For help, use the Actor's **Issues** tab and include the run ID and a short description. Use the **API** tab for programmatic runs and dataset access.

# Actor input Schema

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

One to 20 public Zomato restaurant page URLs. Use the restaurant page or its reviews, menu, photos, or info section.

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

Maximum number of complete public reviews to save for each restaurant.

## `timeoutSecs` (type: `integer`):

Maximum time to wait for each restaurant or review-page request before it fails.

## `requestDelayMs` (type: `integer`):

Wait this long between requests to public Zomato pages to pace traffic.

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

Choose the network route for public Zomato pages. Custom HTTP or HTTPS proxy URLs must be origins without paths, queries, or fragments and cannot be combined with Apify Proxy.

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

Optional Zomato cookies for public pages that are available to your account. Cookies do not bypass access controls. Values are encrypted in the input form and are never written to the results.

## Actor input object example

```json
{
  "restaurantUrls": [
    "https://www.zomato.com/mumbai/the-big-fish-co-dadar-west/info"
  ],
  "maxReviewsPerRestaurant": 20,
  "timeoutSecs": 30,
  "requestDelayMs": 500,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "IN"
  }
}
```

# Actor output Schema

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

No description

## `runSummary` (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 = {
    "restaurantUrls": [
        "https://www.zomato.com/mumbai/the-big-fish-co-dadar-west/info"
    ],
    "maxReviewsPerRestaurant": 20,
    "timeoutSecs": 30,
    "requestDelayMs": 500
};

// Run the Actor and wait for it to finish
const run = await client.actor("codingfrontend/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/mumbai/the-big-fish-co-dadar-west/info"],
    "maxReviewsPerRestaurant": 20,
    "timeoutSecs": 30,
    "requestDelayMs": 500,
}

# Run the Actor and wait for it to finish
run = client.actor("codingfrontend/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/mumbai/the-big-fish-co-dadar-west/info"
  ],
  "maxReviewsPerRestaurant": 20,
  "timeoutSecs": 30,
  "requestDelayMs": 500
}' |
apify call codingfrontend/zomato-reviews-scraper --silent --output-dataset

```

## MCP server setup

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