# Zomato Scraper — Restaurants, Ratings, Cost & Contacts (`haketa/zomato-scraper`) Actor

Scrape Zomato restaurants: name, dining & delivery ratings, votes, cuisines, average cost, phone, address, locality, coordinates, timings, highlights and top dishes. Seed by city or paste restaurant/listing URLs; crawls similar restaurants to scale. No login, no API key.

- **URL**: https://apify.com/haketa/zomato-scraper.md
- **Developed by:** [Haketa](https://apify.com/haketa) (community)
- **Categories:** Business, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
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 Scraper — Restaurants, Ratings, Menus, Cost & Direct Contacts

[![Apify Actor](https://img.shields.io/badge/Apify%20Actor-Ready-brightgreen.svg?style=flat-square\&logo=apify)](https://apify.com/haketa/zomato-scraper)
[![Maintenance](https://img.shields.io/badge/Maintained-Active-blue.svg?style=flat-square)](https://apify.com/haketa/zomato-scraper)
[![Data Format](https://img.shields.io/badge/Format-JSON%20%7C%20CSV%20%7C%20Excel-orange.svg?style=flat-square)](https://apify.com/haketa/zomato-scraper)
[![Multi-Country](https://img.shields.io/badge/Markets-India%20%7C%20UAE%20%7C%20MENA-blueviolet.svg?style=flat-square)](https://apify.com/haketa/zomato-scraper)
[![No API Key](https://img.shields.io/badge/Authentication-Keyless%20%2F%20No%20Login-success.svg?style=flat-square)](https://apify.com/haketa/zomato-scraper)

Extract comprehensive restaurant intelligence and local business leads from **Zomato** across major international markets (India, UAE, and beyond). Capture restaurant names, separate **dining and delivery ratings**, review counts, cuisine categories, average costs for two, **direct phone numbers, full physical addresses, GPS coordinates**, structured opening hours, establishment types, culinary highlights, and popular signature dishes.

Seed data collection by city slug (e.g. `mumbai`, `bangalore`, `new-delhi`, `dubai`) or paste custom restaurant and collection URLs. Features an automated breadth-first search (BFS) crawler that follows similar restaurant networks to discover thousands of entities seamlessly.

No login credentials or private API keys required, zero headless browser overhead, and low compute footprint. Built for food-tech innovators, HoReCa B2B suppliers, FMCG market researchers, delivery aggregators, and commercial real estate analysts.

***

### ⚡ At a glance

| Feature | Specification |
|---|---|
| **Data Source** | Zomato Global Restaurant Network (`zomato.com`) |
| **Authentication** | None needed (keyless public profile extraction) |
| **Supported Markets** | India (₹ INR), United Arab Emirates (AED), and global Zomato regions |
| **Input Methods** | City slugs (e.g. `mumbai`, `dubai`) or direct restaurant / listing URLs |
| **Contact Data** | Verified telephone numbers, physical addresses, localities, coordinates |
| **Rating Split** | Separate aggregate ratings for on-premise Dining vs Delivery orders |
| **Expansion Engine** | Breadth-First Search (BFS) following "similar restaurants" networks |
| **Output Formats** | Dataset (JSON, CSV, XML, Excel), Live API, Webhooks, Google Sheets |
| **Scale & Pagination** | Unlocked multi-page crawling (1,000+ restaurants per run effortlessly) |
| **Proxy Requirement** | Apify Datacenter Proxy (fully supported) |

***

### 🎯 Key Use Cases

#### 1. B2B HoReCa Lead Generation & Supplier Outreach

Empower sales teams selling kitchen appliances, POS software, food packaging, bulk ingredients, and sanitation services. Extract restaurant names paired directly with phone numbers, street addresses, neighborhood localities, and owner contact details.

#### 2. Dining vs. Delivery Market Intelligence

Compare on-premise dining popularity against online delivery order volume. Analyze separate dining and delivery ratings alongside review vote counts to identify which dining concepts thrive in cloud-kitchen environments versus traditional brick-and-mortar hospitality.

#### 3. Food Delivery Competitive Pricing & Basket Benchmarking

Monitor average cost for two (`averageCost`, `costText`) across diverse neighborhoods in Mumbai, Bangalore, Delhi NCR, and Dubai. Segment dining venues by price tier (budget quick bites, casual dining, fine dining) to optimize restaurant menu pricing strategies.

#### 4. Culinary Trend & Ingredient Mapping

Track trending cuisines (`cuisines`, `cuisineString`), culinary specialties, and signature dishes (`topDishes`) across metropolitan hubs. Discover emerging food fads (e.g. Artisanal Pizza, Specialty Coffee, Biryani variations, Vegan Bowls) before competitors.

#### 5. Urban GIS & Commercial Real Estate Analytics

Map restaurant density by latitude and longitude coordinates. Identify hospitality clusters, retail saturation points, and underserved dining zones for ghost kitchens and retail franchise expansion.

***

### ⚖️ Comparison: Zomato Scraper vs Alternatives

| Criteria | Zomato Scraper (This Actor) | Google Maps Scraper | Swiggy / Delivery Scrapers |
|---|---|---|---|
| **Industry Specialization** | 🟢 100% focused on food & restaurants | 🟡 Generic commercial listings | 🟡 Delivery-only listings (no fine dining) |
| **Dining vs Delivery Ratings** | 🟢 Both captured and split cleanly | 🔴 Single blended rating | 🔴 Delivery rating only |
| **Average Cost for Two** | 🟢 Exact numeric cost & currency | 🔴 Price level estimates (`$`, `$$`) | 🟡 Cart item prices only |
| **Signature Dishes & Highlights**| 🟢 Curated dishes & venue features | 🔴 Unstructured review mentions | 🟡 Menu catalog only |
| **Scale Mechanism** | 🟢 Automated similar-restaurant BFS | 🟡 Bounding box grid scanning | 🟡 Postal code / geo pin scanning |
| **Export Formats** | 🟢 CSV, Excel, JSON, XML, REST API | 🟢 Standard formats | 🟡 JSON only |

***

### 📊 Extracted Data Fields

Every record returned by the scraper represents a thoroughly enriched restaurant entity. Fields are grouped logically below:

#### 🍽️ Core Identity & Rating Breakdown

| Field | Type | Description | Coverage |
|---|---|---|---|
| `id` | String | Unique Zomato restaurant identifier | 🟢 High (100%) |
| `name` | String | Commercial trade name of the restaurant | 🟢 High (100%) |
| `url` | String | Canonical URL to the restaurant page on Zomato | 🟢 High (100%) |
| `rating` | Number | Overall aggregate rating score (0.0 to 5.0 scale) | 🟢 High (98%) |
| `ratingText` | String | Qualitative sentiment label (e.g. `Excellent`, `Very Good`, `Good`) | 🟢 High (98%) |
| `votes` | Integer | Total customer vote count across all experiences | 🟢 High (95%) |
| `diningRating` | Number | Dedicated on-premise dining experience rating | 🟡 Conditional (85%) |
| `diningReviews` | Integer | Total verified dining reviews submitted | 🟡 Conditional (85%) |
| `deliveryRating` | Number | Dedicated food delivery rating score | 🟡 Conditional (85%) |
| `deliveryReviews`| Integer | Total verified delivery reviews submitted | 🟡 Conditional (85%) |
| `image` | String | High-resolution cover photo CDN URL | 🟢 High (90%) |
| `scrapedAt` | String | ISO 8601 UTC timestamp of data capture | 🟢 High (100%) |

#### 🍜 Menu, Pricing & Culinary Profile

| Field | Type | Description | Coverage |
|---|---|---|---|
| `cuisines` | Array | Array of cuisine categories (e.g. `["North Indian", "Mughlai", "Biryani"]`) | 🟢 High (100%) |
| `cuisineString` | String | Comma-separated list of active culinary styles | 🟢 High (100%) |
| `costText` | String | Full human-readable cost description (e.g. `₹800 for two people (approx.)`) | 🟢 High (95%) |
| `averageCost` | Number | Normalized numeric average expenditure for two | 🟢 High (95%) |
| `currency` | String | Local currency indicator (e.g. `₹`, `AED`) | 🟢 High (95%) |
| `establishment` | Array | Format categories (e.g. `["Casual Dining", "Bar"]`) | 🟢 High (90%) |
| `highlights` | Array | Venue amenities (e.g. `["Air Conditioned", "Home Delivery", "Valet Parking"]`) | 🟢 High (92%) |
| `knownFor` | Array | Famous attributes or brand specialties | 🟡 Conditional (75%) |
| `topDishes` | Array | Popular customer favorite dishes and menu recommendations | 🟡 Conditional (75%) |

#### 📞 Location & Contact Intelligence

| Field | Type | Description | Coverage |
|---|---|---|---|
| `phone` | String | Public contact phone number(s) on record | 🟢 High (85%) |
| `address` | String | Full registered physical street address | 🟢 High (98%) |
| `locality` | String | Neighborhood or district locality description | 🟢 High (98%) |
| `city` | String | Metropolitan city name (e.g. `Mumbai`, `Dubai`, `Bengaluru`) | 🟢 High (100%) |
| `country` | String | Country of operation (`India`, `UAE`, etc.) | 🟢 High (100%) |
| `zipcode` | String | Postal or PIN code (where exposed) | 🟡 Conditional (70%) |
| `latitude` | Number | Geographic latitude coordinate | 🟢 High (95%) |
| `longitude` | Number | Geographic longitude coordinate | 🟢 High (95%) |
| `timing` | String | General opening hours summary string | 🟢 High (95%) |
| `openingHours` | Array | Structured weekly schedule: `[{ days: "Mon-Sun", hours: "11am - 11pm" }]` | 🟢 High (90%) |

***

### ⚙️ Input Parameters

| Parameter | Type | Default | Description |
|---|---|---|---|
| `city` | String | `"mumbai"` | City slug matching Zomato's URL structure (e.g. `mumbai`, `new-delhi`, `bangalore`, `dubai`). |
| `startUrls` | Array | `[]` | Specific restaurant URLs or listing/collection links. Overrides `city` if provided. |
| `maxItems` | Integer | `0` *(prefill: 30)* | Target count of restaurants to extract. Set `0` for auto/unlimited. |
| `crawlSimilar` | Boolean | `true` | Follow "similar restaurants" breadth-first to expand discovery automatically. |
| `cuisines` | Array | `[]` | Optional filter: keep only venues matching specified cuisines (e.g. `["Pizza", "Chinese"]`). |
| `minRating` | Integer | `0` | Optional rating filter: keep only venues with an overall rating at or above this threshold (0–5). |
| `proxyConfiguration` | Object | `{ "useApifyProxy": true }` | Apify proxy configuration. Standard datacenter proxy rotation operates reliably. |

***

### 💡 Input Examples

#### Example 1: City Discovery with Similar Restaurants BFS

Extract high-volume restaurants across Bangalore with automatic network expansion:

```json
{
  "city": "bangalore",
  "maxItems": 200,
  "crawlSimilar": true,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

#### Example 2: Cuisine and Minimum Rating Filtering

Filter top-rated casual dining cafes in Mumbai:

```json
{
  "city": "mumbai",
  "cuisines": ["Cafe", "Italian", "Desserts"],
  "minRating": 4,
  "maxItems": 100,
  "crawlSimilar": true
}
```

#### Example 3: Targeted Dubai Venue Extraction via Start URLs

Scrape specific restaurant profiles in the United Arab Emirates:

```json
{
  "startUrls": [
    { "url": "https://www.zomato.com/dubai/tresind-difc" },
    { "url": "https://www.zomato.com/dubai/arabian-tea-house-restaurant-cafe-al-fahidi" }
  ],
  "crawlSimilar": false,
  "maxItems": 50
}
```

***

### 📦 Output Sample

Here is a representative JSON record output by the scraper for an active metropolitan restaurant:

```json
{
  "id": "18432904",
  "name": "Good Flippin' Burgers",
  "url": "https://www.zomato.com/mumbai/good-flippin-burgers-parel",
  "rating": 4.5,
  "ratingText": "Very Good",
  "votes": 12400,
  "diningRating": 4.4,
  "diningReviews": 3200,
  "deliveryRating": 4.6,
  "deliveryReviews": 9200,
  "cuisines": [
    "Burger",
    "Fast Food",
    "Beverages"
  ],
  "cuisineString": "Burger, Fast Food, Beverages",
  "costText": "₹650 for two people (approx.)",
  "averageCost": 650,
  "currency": "₹",
  "establishment": [
    "Quick Bites"
  ],
  "highlights": [
    "Home Delivery",
    "Takeaway Available",
    "Air Conditioned",
    "Indoor Seating"
  ],
  "knownFor": [
    "Juicy smashed patties",
    "Craft shakes"
  ],
  "topDishes": [
    "The Clucker",
    "Cheese Bomb Burger",
    "Truffle Fries"
  ],
  "timing": "11am – 3am (Today)",
  "openingHours": [
    {
      "days": "Mon-Sun",
      "hours": "11:00 AM to 03:00 AM"
    }
  ],
  "phone": "+91 80970 80970",
  "address": "Shop 4, High Street Phoenix, Senapati Bapat Marg, Lower Parel, Mumbai",
  "locality": "Lower Parel, Mumbai",
  "city": "Mumbai",
  "cityId": 3,
  "country": "India",
  "zipcode": "400013",
  "latitude": 18.9953,
  "longitude": 72.8248,
  "image": "https://b.zmtcdn.com/data/pictures/4/18432904/a41f82114972a2b892featured_v2.jpg",
  "scrapedAt": "2026-11-10T14:45:10.150Z"
}
```

***

### 💻 API & Integration Examples

Integrate live restaurant feeds into Python data analytics, Node.js backend apps, or automated CRM workflows.

#### Python Example

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")

run_input = {
    "city": "mumbai",
    "cuisines": ["Biryani", "North Indian"],
    "minRating": 4,
    "maxItems": 50,
    "crawlSimilar": True
}

run = client.actor("haketa/zomato-scraper").call(run_input=run_input)

for r in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(f"Restaurant: {r['name']} ({r['locality']}) | Rating: {r['rating']} | Phone: {r.get('phone', 'N/A')}")
```

#### Node.js Example

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });

const input = {
    city: 'dubai',
    maxItems: 50,
    crawlSimilar: true
};

const run = await client.actor('haketa/zomato-scraper').call(input);
const { items } = await client.dataset(run.defaultDatasetId).listItems();

console.log(`Extracted ${items.length} Dubai restaurants.`);
console.table(items.map(res => ({ name: res.name, cost: res.averageCost, rating: res.rating, phone: res.phone })));
```

#### cURL Example

```bash
curl --request POST \
  --url "https://api.apify.com/v2/acts/haketa~zomato-scraper/runs?token=YOUR_APIFY_TOKEN" \
  --header "Content-Type: application/json" \
  --data '{
    "city": "bangalore",
    "maxItems": 50,
    "crawlSimilar": true
  }'
```

#### Webhook Payload & Automation Example

When configuring an Apify webhook to notify your POS or CRM system when new restaurants are indexed, your endpoint receives run summary metadata:

```json
{
  "eventType": "ACTOR.RUN.SUCCEEDED",
  "actorId": "haketa/zomato-scraper",
  "datasetId": "YOUR_DATASET_ID",
  "restaurantsSaved": 50,
  "city": "Mumbai",
  "topVenue": "Good Flippin' Burgers",
  "averageCost": 650,
  "currency": "₹"
}
```

***

### 🏙️ Supported Popular City Slugs

Use these validated city slugs in the `city` parameter for rapid seeding:

- **India (Metropolitan & Tier-1):** `mumbai`, `new-delhi`, `bangalore`, `hyderabad`, `chennai`, `kolkata`, `pune`, `ahmedabad`, `jaipur`, `chandigarh`, `lucknow`, `goa`.
- **United Arab Emirates (UAE):** `dubai`, `abu-dhabi`, `sharjah`, `ajman`.
- **International Markets:** Any active Zomato market directory reachable via `zomato.com/{city}`.

***

### 🚀 Tips for High-Volume Restaurant Harvesting

- **Harnessing Similar-Restaurant BFS:** Setting `crawlSimilar: true` allows the scraper to continually expand its discovery frontier, reaching thousands of restaurants from a single seed city.
- **Isolate Delivery-Only Outlets:** Filter venues where `deliveryRating` is present and `establishment` includes "Cloud Kitchen" or "Delivery Only" for dark kitchen competitive research.
- **Clean Phone Number Ingestion:** Phone numbers are formatted with international and national calling codes. Map these into your CRM with standardized regex sanitization.
- **Exporting to GIS Mapping Tools:** Load the output CSV directly into QGIS, ArcGIS, or Google My Maps using the extracted `latitude` and `longitude` fields to create visual trade-area heatmaps.

***

### ❓ Frequently Asked Questions (FAQ)

##### Do I need a Zomato account or private API credentials?

No. The scraper accesses public web listings without requiring user login credentials, cookies, or developer API tokens.

##### Can I export results to Excel, CSV, or Google Sheets?

Yes. You can download your dataset immediately as Excel (XLSX), CSV, JSON, or XML from the Apify Console or stream data via the live API into Google Sheets using `=IMPORTDATA()`.

##### How does the scraper separate dining and delivery ratings?

Zomato's underlying page architecture computes independent rating scores and review tallies for on-premise dining visits versus online doorstep deliveries. This actor extracts and maps both metrics distinctly.

##### Does the scraper return complete review text comments?

The actor extracts aggregate rating metrics, total review counts, and sentiment labels. Full-text consumer comment streams are omitted to optimize execution speed and reduce compute consumption.

##### Are telephone numbers available for every restaurant?

Phone numbers are published for approximately 85% of active restaurants that choose to make contact details publicly visible on Zomato. When not disclosed by the venue, the field returns null.

##### What happens if I disable `crawlSimilar`?

When `crawlSimilar: false` is set, the actor only extracts the exact seed restaurants discovered on the initial category pages or provided in `startUrls`, preventing broader neighborhood discovery.

***

### 🔗 Related Food & Hospitality Scrapers

- **Swiggy Food & Grocery Scraper** — Indian on-demand food delivery and Instamart data.
- **Tabelog Scraper** — Japanese restaurant reviews, ratings, and booking intelligence.
- **Grubhub & DoorDash Scrapers** — US food delivery marketplace analytics.
- **Google Maps Scraper** — Global local business, restaurant, and store locator data.

***

### 📋 Changelog

#### Version 1.2 (2026-11)

- **Unlocked 1,000+ Deep Pagination:** Removed restrictive pagination ceilings; BFS similar-restaurant crawler now traverses up to 1,000+ restaurants governed strictly by `maxItems`.
- **Fast Prefill Execution:** Optimized default batch parameters to complete test runs in under 45 seconds while providing 30 rich sample records.
- **Enhanced Data Extraction:** Improved regex parsing for nested dish recommendations, multi-currency detection (`₹`, `AED`), and zmtcdn CDN image resolution.
- **Robust Concurrency:** Tuned batch concurrency to 8 parallel workers with intelligent retry rotation on transient network errors.

#### Version 1.1 (2026-10)

- Added dedicated fields for separated dining vs delivery ratings and review counts.
- Implemented client-side filtering for minimum ratings and cuisine matching.

#### Version 1.0 (2026-09)

- Initial release featuring city seeding, similar-restaurant BFS expansion, phone numbers, GPS coordinates, and structured operating hours.

# Changelog

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

# Actor input Schema

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

City slug as it appears in a Zomato URL, e.g. "mumbai", "new-delhi", "bangalore", "dubai". The scraper seeds from this city's delivery, dining and nightlife pages, then crawls similar restaurants. Leave Start URLs empty to use this.

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

Zomato restaurant URLs (e.g. https://www.zomato.com/mumbai/good-flippin-burgers-parel) and/or listing/collection URLs. Restaurant URLs are scraped directly; listing URLs are expanded. Overrides City if both are set.

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

Stop after saving this many restaurants (0 = auto/unlimited, governed by available links).

## `crawlSimilar` (type: `boolean`):

Each restaurant page links to similar restaurants. Follow them (breadth-first) to reach maxItems from just a city or a few URLs. Turn off to scrape only the seed restaurants.

## `cuisines` (type: `array`):

Keep only restaurants whose cuisines match any of these (case-insensitive substring), e.g. \["Pizza", "Biryani"]. Leave empty for all.

## `minRating` (type: `integer`):

Keep only restaurants with an aggregate rating at or above this (0 = no filter).

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

Zomato works from datacenter proxies. Residential helps if you hit rate limits or scrape at high volume.

## Actor input object example

```json
{
  "city": "mumbai",
  "maxItems": 30,
  "crawlSimilar": true,
  "minRating": 0,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

No description

## `datasetUi` (type: `string`):

No description

## `output` (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 = {
    "city": "mumbai",
    "maxItems": 30,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("haketa/zomato-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 = {
    "city": "mumbai",
    "maxItems": 30,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("haketa/zomato-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 '{
  "city": "mumbai",
  "maxItems": 30,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call haketa/zomato-scraper --silent --output-dataset

```

## MCP server setup

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