# Swiggy Scraper - India Restaurant & Food Delivery Data (`thirdwatch/swiggy-scraper`) Actor

Scrape restaurant and dish data from Swiggy.com - ratings, cuisines, delivery times, cost for two, offers, Google ratings, badges, addresses, menu items with prices and addons. Covers 30 Indian cities with search, listing, and cuisine collection modes.

- **URL**: https://apify.com/thirdwatch/swiggy-scraper.md
- **Developed by:** [Thirdwatch](https://apify.com/thirdwatch) (community)
- **Categories:** E-commerce, Other
- **Features:** Limited permissions
- **Stats:** 102 total users, 8 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.50 / 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

## Swiggy Scraper

> **Thirdwatch portfolio:** 8,800+ users across 140+ public Actors, 2M+ records delivered, >95% run success. [Explore all Thirdwatch Actors](https://apify.com/thirdwatch).

> Scrape restaurants and dishes from Swiggy across 30 Indian cities — ratings, delivery times, cost for two, offers, and full menu items with prices.

### What you get

Restaurant and dish data from Swiggy.com, India's leading food-delivery platform. Search by food type, cuisine, or restaurant name, or browse top restaurants in any of 30 supported cities. Restaurant results include Swiggy and Google ratings, delivery times, offers, badges, and addresses. Dish results include prices, descriptions, veg/non-veg, and addons.

### Output fields (restaurants)

| Field | Description |
|-------|-------------|
| `restaurant_id` | Unique Swiggy restaurant ID |
| `name` | Restaurant name |
| `cuisine` | Array of cuisines served |
| `rating` | Swiggy rating |
| `rating_count` | Number of Swiggy ratings |
| `google_rating` | Google rating (if available) |
| `google_rating_count` | Number of Google ratings |
| `cost_for_two` | Cost for two (formatted) |
| `cost_for_two_rupees` | Cost for two (numeric, INR) |
| `delivery_time` | Delivery time (formatted) |
| `delivery_time_minutes` | Delivery time (numeric) |
| `last_mile_distance_km` | Distance from user location |
| `address` | Full street address |
| `locality` / `area_name` | Area name |
| `city` | City |
| `is_open` | Open right now |
| `next_close_time` | Next close timestamp |
| `veg_only` | Pure-veg restaurant flag |
| `offers` | Active offers |
| `badges` | Swiggy badges (e.g., "Best in Biryani") |
| `image_url` | Restaurant image |
| `url` | Swiggy listing URL |
| `query` | Original search query |

### Output fields (dishes)

| Field | Description |
|-------|-------------|
| `dish_id` | Unique dish ID |
| `dish_name` | Dish name |
| `category` | Menu category |
| `description` | Dish description |
| `price` | Current price (INR) |
| `original_price` | Original price before discount |
| `is_veg` | Vegetarian flag |
| `in_stock` | In-stock flag |
| `dish_rating` | Dish-level rating |
| `addons` | Addons list with names and prices |
| `restaurant_id` / `restaurant_name` / `restaurant_area` | Parent restaurant details |
| `image_url` | Dish image |
| `query` | Original search query |

### Example output

```json
{
    "restaurant_id": "3241",
    "name": "Meghana Foods",
    "cuisine": ["Biryani", "Andhra", "South Indian", "Chinese"],
    "rating": 4.7,
    "rating_count": "93K+",
    "google_rating": 4.3,
    "google_rating_count": "22K+",
    "cost_for_two": "₹500 for two",
    "cost_for_two_rupees": 500,
    "delivery_time": "30-35 MINS",
    "delivery_time_minutes": 33,
    "last_mile_distance_km": 2.2,
    "address": "57/1, 1st Floor, Jayalaxmi Chambers, Residency Road, Bangalore",
    "area_name": "Residency Road",
    "city": "bangalore",
    "is_open": true,
    "veg_only": false,
    "offers": ["FLAT DEAL: 50% OFF"],
    "badges": ["Best in Biryani", "Best in Bolt"],
    "image_url": "https://media-assets.swiggy.com/swiggy/image/upload/...",
    "url": "https://www.swiggy.com/city/bangalore/meghana-foods-central-bangalore-rest3241",
    "query": "biryani"
}
```

### Input parameters

| Parameter | Required | Description |
|-----------|----------|-------------|
| `queries` | No | Search terms (e.g., `["biryani", "pizza"]`). Leave empty to browse top restaurants in the city. |
| `city` | No | One of 30 supported Indian cities. Default `bangalore`. |
| `searchType` | No | `restaurant` for restaurants, `dish` for menu items with prices. Default `restaurant`. |
| `maxResults` | No | Max results per query. Default `10`. |
| `includeCollections` | No | In listing mode, also scrape cuisine collections for more restaurants. Default `false`. |
| `latitude` | No | Custom latitude (overrides city). |
| `longitude` | No | Custom longitude (overrides city). |

**Supported cities:** Bangalore, Mumbai, Delhi, Hyderabad, Chennai, Kolkata, Pune, Ahmedabad, Jaipur, Lucknow, Chandigarh, Kochi, Goa, Indore, Coimbatore, Nagpur, Visakhapatnam, Bhopal, Gurgaon, Noida, Surat, Vadodara, Patna, Thiruvananthapuram, Mysore, Mangalore, Ranchi, Bhubaneswar, Dehradun, Vijayawada.

### Use cases

- **Food-tech startups**: Benchmark competitor ratings, delivery times, and cost bands per city and locality.
- **Cloud kitchens**: Identify winning cuisines, pricing, and active offers in your delivery radius.
- **Restaurant operators**: Track your own ratings, badges, and offers vs. direct competitors.
- **Market researchers**: Build India food-delivery datasets with both Swiggy and Google ratings.

### Limitations

- Full menus are not always available — some restaurant menu endpoints are gated; dish search still works reliably.
- Restaurant search returns up to ~102 results per query; dish search up to ~100 (no further pagination).
- Collections mode returns ~7-12 restaurants per cuisine collection.
- Dish search requires a search query — there is no "all dishes in city" mode.
- Google ratings appear for ~60% of restaurants (depends on Swiggy's own coverage).

### Compared to alternatives

- **vs. dhrumil/swiggy-scraper** (~$8/1K results): This actor is priced lower and covers both restaurant and dish modes, plus Google ratings.
- **vs. Swiggy Partner API**: Swiggy does not offer a public data API; this actor is the structured-data alternative.

Pairs well with [Zomato Scraper](https://apify.com/thirdwatch/zomato-scraper) and [Google Maps Scraper](https://apify.com/thirdwatch/google-maps-scraper) for full India F\&B coverage.

### FAQ

**Can I search by dish with prices?**
Yes. Set `searchType: "dish"` and pass dish names in `queries`. Returns menu items with prices, descriptions, and addons.

**Does this work outside India?**
No, Swiggy operates only in India. 30 major cities are supported.

**Can I target a specific neighborhood?**
Yes. Pass `latitude` and `longitude` to override the city-level default.

**How fresh is the data?**
Pulled live at run time — as fresh as Swiggy itself.

Last verified: 2026-04

More scrapers at [thirdwatch.dev](https://thirdwatch.dev).

# Actor input Schema

## `queries` (type: `array`):

Search terms to find restaurants or dishes (e.g., 'biryani', 'pizza', 'north indian'). Each query returns up to maxResults results. If empty, returns top restaurants for the specified city.

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

Indian city to search in. Supports 30 major cities. Aliases like 'bengaluru', 'gurugram' also work.

## `searchType` (type: `string`):

What to search for: 'restaurant' returns restaurant listings with ratings, delivery info, and offers. 'dish' returns individual menu items with prices, descriptions, veg/non-veg info, and addons.

## `maxResults` (type: `integer`):

Maximum number of results to return per query. Restaurant search returns up to ~102 per query, dish search up to ~100.

## `includeCollections` (type: `boolean`):

When no queries are provided (listing mode), also scrape cuisine-based collections (biryani, pizza, dosa, etc.) for additional restaurants beyond the top listing. Adds ~10-15 unique restaurants per collection.

## `latitude` (type: `number`):

Custom latitude. Overrides city selection. Use with longitude for precise location.

## `longitude` (type: `number`):

Custom longitude. Overrides city selection. Use with latitude for precise location.

## Actor input object example

```json
{
  "queries": [
    "biryani"
  ],
  "city": "bangalore",
  "searchType": "restaurant",
  "maxResults": 10,
  "includeCollections": false
}
```

# Actor output Schema

## `results` (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 = {
    "queries": [
        "biryani"
    ],
    "city": "bangalore",
    "searchType": "restaurant",
    "maxResults": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("thirdwatch/swiggy-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 = {
    "queries": ["biryani"],
    "city": "bangalore",
    "searchType": "restaurant",
    "maxResults": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("thirdwatch/swiggy-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 '{
  "queries": [
    "biryani"
  ],
  "city": "bangalore",
  "searchType": "restaurant",
  "maxResults": 10
}' |
apify call thirdwatch/swiggy-scraper --silent --output-dataset

```

## MCP server setup

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