# 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
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN 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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Swiggy Scraper

> 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.

### Pricing

Pay-per-result pricing. Tiered discounts apply automatically based on usage volume.

| Tier | Price per result |
|------|------------------|
| FREE | $0.005 |
| BRONZE | $0.004 |
| SILVER | $0.003 |
| GOLD | $0.002 |

### 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 charges ~$5/1K with 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) 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("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=thirdwatch/swiggy-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Swiggy Scraper - India Restaurant & Food Delivery Data",
        "description": "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.",
        "version": "0.1",
        "x-build-id": "mazbJgazLjXTvOqVS"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/thirdwatch~swiggy-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-thirdwatch-swiggy-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/thirdwatch~swiggy-scraper/runs": {
            "post": {
                "operationId": "runs-sync-thirdwatch-swiggy-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/thirdwatch~swiggy-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-thirdwatch-swiggy-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "queries": {
                        "title": "Search Queries",
                        "type": "array",
                        "description": "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.",
                        "default": [],
                        "items": {
                            "type": "string"
                        }
                    },
                    "city": {
                        "title": "City",
                        "enum": [
                            "bangalore",
                            "mumbai",
                            "delhi",
                            "hyderabad",
                            "chennai",
                            "kolkata",
                            "pune",
                            "ahmedabad",
                            "jaipur",
                            "lucknow",
                            "chandigarh",
                            "kochi",
                            "goa",
                            "indore",
                            "coimbatore",
                            "nagpur",
                            "vizag",
                            "bhopal",
                            "gurgaon",
                            "noida",
                            "surat",
                            "vadodara",
                            "patna",
                            "thiruvananthapuram",
                            "mysore",
                            "mangalore",
                            "ranchi",
                            "bhubaneswar",
                            "dehradun",
                            "vijayawada"
                        ],
                        "type": "string",
                        "description": "Indian city to search in. Supports 30 major cities. Aliases like 'bengaluru', 'gurugram' also work.",
                        "default": "bangalore"
                    },
                    "searchType": {
                        "title": "Search Type",
                        "enum": [
                            "restaurant",
                            "dish"
                        ],
                        "type": "string",
                        "description": "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.",
                        "default": "restaurant"
                    },
                    "maxResults": {
                        "title": "Max Results Per Query",
                        "minimum": 1,
                        "maximum": 500,
                        "type": "integer",
                        "description": "Maximum number of results to return per query. Restaurant search returns up to ~102 per query, dish search up to ~100.",
                        "default": 10
                    },
                    "includeCollections": {
                        "title": "Include Cuisine Collections",
                        "type": "boolean",
                        "description": "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.",
                        "default": false
                    },
                    "latitude": {
                        "title": "Latitude (Custom)",
                        "type": "number",
                        "description": "Custom latitude. Overrides city selection. Use with longitude for precise location."
                    },
                    "longitude": {
                        "title": "Longitude (Custom)",
                        "type": "number",
                        "description": "Custom longitude. Overrides city selection. Use with latitude for precise location."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
