# Swiggy Dineout Listings Scraper (`w3crawler/swiggy-dineout-listings-scraper`) Actor

Extract source-backed public Swiggy Dineout restaurant listings for an Indian city; menus are not included.

- **URL**: https://apify.com/w3crawler/swiggy-dineout-listings-scraper.md
- **Developed by:** [w3crawler](https://apify.com/w3crawler) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.99 / 1,000 dineouts

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

## Swiggy Dineout Listings Scraper

Extract source-backed public restaurant listings from the Swiggy Dineout page and its public `api/seo/getListing` response for one Indian city. Records include venue identity, cuisine, cost, ratings, location, distance, media, highlights, offers, features, and provenance. This Actor is listing-only: it does not fetch menus, place orders, book tables, or use account data.

### Get started

1. Open the [Actor Store page](https://apify.com/w3crawler/swiggy-dineout-listings-scraper) and select **Try for free** or open the **Input** tab.
2. Enter an Indian city in `city` and set `maxItems`. `latitude` and `longitude` are optional; when omitted, a preset is used for supported cities.
3. Keep `maxItems` and the other limits small for the first run.
4. Start the Actor, open the dataset, and export the saved records as JSON, CSV, or Excel. Open **Run summary** (`OUTPUT`) to check the outcome and counts.

### Input

All fields are optional; the defaults below are ready to use. Unsupported field names and out-of-range values are rejected before requests start.

| Field | Type | Required? | Default | Meaning |
| --- | --- | --- | --- | --- |
| `city` | string | Optional | `chennai` | Indian city name or slug used to select the public Swiggy Dineout locale. 1–100 characters. |
| `latitude` | number | Optional | Not supplied | Optional latitude for the public Dineout listing API. When omitted, a bounded preset is used for supported Indian cities. -90–90. |
| `longitude` | number | Optional | Not supplied | Optional longitude for the public Dineout listing API; supply it together with latitude. -180–180. |
| `maxItems` | integer | Optional | `20` | Maximum source-backed Dineout listings to emit. 1–200. |
| `timeoutSecs` | integer | Optional | `30` | Timeout for the bounded public HTTPS request. 5–120. |
| `proxyConfiguration` | object | Optional | `{"useApifyProxy":false}` | Optional standard Apify Proxy configuration for ordinary network connectivity. It is not a challenge, CAPTCHA, or access-control bypass and the Actor does not retry a blocked direct response through another route. |

Default input:

```json
{
  "city": "chennai",
  "maxItems": 20,
  "timeoutSecs": 30,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

`latitude` and `longitude` are omitted here because they have no default. If you supply one, supply both. The Actor reads public data from Swiggy; optional `proxyConfiguration` uses the standard Apify Proxy settings.

### Output

The dataset contains one row per saved result. Optional information appears only when the source publishes it; missing values are omitted rather than inferred. No diagnostic or placeholder rows are written.

| Field | Type | Availability | Meaning |
| --- | --- | --- | --- |
| `recordType` | string | Always | Row discriminator; always `swiggyDineoutVenue`. |
| `recordId` | string | Always | Stable row ID in the form `swiggy-dineout:<venueId>`. |
| `venueId` | string | Always | Public Swiggy Dineout venue identifier. |
| `name` | string | Always | Public venue name. |
| `venueUrl` | string | Always | Canonical public Dineout venue URL. |
| `city` | string | Always | City name as displayed by the source, such as `Chennai`. |
| `requestedCity` | string | Always | Normalized city supplied in the input. |
| `sourceCity` | string | Always | City slug used by the public Dineout route. |
| `cuisines` | string array | When published | Public cuisine labels for the venue. |
| `costForTwo` | string | When published | Public cost-for-two value, such as `₹1200 for two`. |
| `rating` | number | When published | Numeric public rating. |
| `ratingDisplay` | string | number | When published | Rating as displayed by the source. |
| `reviewCount` | number | When published | Parsed public review count, typically from Google ratings. |
| `reviewCountDisplay` | string | When published | Review count as displayed, such as `634 Google ratings`. |
| `areaName` | string | When published | Public area label when the source returns one; absent from the three archived rows. |
| `locality` | string | When published | Public locality label. |
| `address` | string | When published | Public venue address. |
| `distance` | number | When published | Public distance from the listing locale in kilometres. |
| `distanceDisplay` | string | When published | Distance as displayed, such as `4.3 km`. |
| `imageUrl` | string | When published | Primary public venue image URL. |
| `mediaGallery` | array | When published | Public media objects with `mediaType`, `mediaId`, and `mediaUrl`. |
| `mediaCount` | number | When published | Number of media items reported for the venue. |
| `highlights` | array | When published | Public venue highlight labels, such as reservation or parking. |
| `offers` | array | When published | Public Dineout offer objects. Nested shapes can differ between offers. |
| `features` | array | When published | Public feature objects or nested feature arrays. |
| `isPaymentAccepted` | boolean | When published | Whether the public listing indicates that payment is accepted. |
| `source` | string | Always | Source host; `swiggy.com`. |
| `provenance` | string | Always | Source route that produced the row, such as `public_dineout_getListing_api`. |
| `sourceUrl` | string | Always | Public Dineout city page requested for the run. |
| `sourcePageUrl` | string | Always | Public page URL used for the request. |
| `sourceApiUrl` | string | Always | Public listing API URL, including the coordinates used. |
| `rank` | integer | Always | One-based position in the Dineout listing. |
| `scrapedAt` | string | Always | Time the record was written, in ISO UTC. |

The example below is a real saved row from the 2026-10-25 run, limited to fields declared in the dataset schema; long arrays or strings are shortened.

```json
{
  "recordType": "swiggyDineoutVenue",
  "recordId": "swiggy-dineout:1265688",
  "venueId": "1265688",
  "name": "Old Cheese Bar",
  "venueUrl": "https://www.swiggy.com/restaurants/old-cheese-bar-nungambakkam-chennai-1265688/dineout",
  "city": "Chennai",
  "requestedCity": "chennai",
  "sourceCity": "chennai",
  "cuisines": [
    "Bar Food",
    "Multi Cuisine"
  ],
  "costForTwo": "₹1200 for two",
  "rating": 4.6,
  "ratingDisplay": "4.6",
  "reviewCount": 634,
  "reviewCountDisplay": "634 Google ratings",
  "locality": "Nungambakkam",
  "address": "Bergamo Mall, Nungambakkam, Chennai",
  "distance": 4.3,
  "distanceDisplay": "4.3 km",
  "imageUrl": "https://media-assets.swiggy.com/swiggy/image/upload/DINEOUT_ALL_RESTAURANTS/IMAGES/RESTAURANT_IMAGE_SERVICE/2025/11/18/d4ea4684-a544-4044-975d-9ac4a40e9e5a_image142c8137587d9f48b6a9b3467a659c3afd.JPG",
  "mediaGallery": [
    {
      "mediaType": "IMAGE",
      "mediaId": "2025-11-18T08:35:44.232",
      "mediaUrl": "https://media-assets.swiggy.com/swiggy/image/upload/DINEOUT_ALL_RESTAURANTS/IMAGES/RESTAURANT_IMAGE_SERVICE/2025/11/18/d4ea4684-a544-4044-975d-9ac4a40e9e5a_image142c8137587d9f48b6a9b3467a659c3afd.JPG"
    },
    {
      "mediaType": "IMAGE",
      "mediaId": "2025-11-18T08:35:43.866",
      "mediaUrl": "https://media-assets.swiggy.com/swiggy/image/upload/DINEOUT_ALL_RESTAURANTS/IMAGES/RESTAURANT_IMAGE_SERVICE/2025/11/18/53df4d60-e5af-4560-a703-91db38555c53_image416a9fc6f80634503b5133faa6db689ac.JPG"
    },
    {
      "mediaType": "IMAGE",
      "mediaId": "2025-11-18T08:35:14.155",
      "mediaUrl": "https://media-assets.swiggy.com/swiggy/image/upload/DINEOUT_ALL_RESTAURANTS/IMAGES/RESTAURANT_IMAGE_SERVICE/2025/11/18/60e5b457-eb93-4e11-a7d8-553e9a03626c_image163ceb082bc3904d288275f6d1acc6de62.JPG"
    }
  ],
  "mediaCount": 4,
  "highlights": [
    "Reservation available",
    "Parking available",
    "Free wifi"
  ],
  "offers": [
    {
      "otherOffers": {
        "logo": {
          "logo": "https://dineout-media-assets.swiggy.com/swiggy/image/upload/dineout/preOffer.png"
        },
        "offers": [
          {
            "header": "Flat 10% off",
            "availability": "AVAILABILITY_AVAILABLE_TODAY",
            "dealCategory": "Pre-Book",
            "availabilityDescription": "Available today"
          }
        ]
      }
    },
    {
      "otherOffersInfo": [
        {
          "header": "TODAY’S DISCOUNT",
          "type": "FLAT",
          "title": "10% OFF",
          "description": "Flat 10% off",
          "isOfferApplicableNow": true,
          "offerType": "OFFER_TYPE_V2_PRE_BOOK",
          "availability": "OFFER_AVAILABILITY_AVAILABLE_TODAY",
          "otherLogoContext": {
            "logo": "https://dineout-media-assets.swiggy.com/swiggy/image/upload/dineout/preOffer.png"
          },
          "dealCategory": "Pre-Book",
          "availabilityDescription": "Available today"
        }
      ],
      "infos": [
        {
          "header": "Get extra ₹125 off using PAYTMNEW",
          "description": "₹ 125 off with PAYTMNEW + Up to 10% bank offers",
          "coupon": {
            "code": "PAYTMNEW"
          },
          "otherLogoContext": {
            "logo": "OFFER_LOGO"
          },
          "discountInfo": {
            "discountType": "DISCOUNT_TYPE_FLAT",
            "discountValue": 125
          }
        }
      ],
      "offerCount": 1
    },
    {
      "info": {
        "description": "+ Up to 10% bank offers",
        "otherLogoContext": {
          "logo": "https://dineout-media-assets.swiggy.com/swiggy/image/upload/v1679057464/portal/m/dineout/offer_icon_1.png"
        },
        "discountInfo": {
          "discountType": "DISCOUNT_TYPE_PERCENTAGE",
          "discountValue": 15
        }
      },
      "loyaltyInfo": {
        "offerDetail": {
          "type": "FLAT",
          "title": "₹150 Off",
          "subtitle": "above ₹1500",
          "description": "₹150 off",
          "logoContext": {
            "text": "with",
            "logo": "ONE"
          },
          "coupon": {
            "availableCouponCount": 2
          },
          "otherLogoContext": {
            "logo": "OFFER_LOGO"
          },
          "discountInfo": {
            "discountType": "DISCOUNT_TYPE_FLAT",
            "discountValue": 150
          }
        },
        "oneBenefit": {
          "logo": "https://dineout-media-assets.swiggy.com/swiggy/image/upload/v1669906275/dineout/one_benefits.png"
        }
      },
      "otherOffersInfo": [
        {
          "header": "ADDITIONAL OFFERS",
          "type": "CASHBACK",
          "title": "5%*",
          "tnc": [
            "Valid only on Swiggy Ornge HDFC Bank Credit Card",
            "Applicable on a minimum net transaction value of ₹249",
            "Monthly cashback limit of ₹1500 on Swiggy spends"
          ],
          "adjoiningSubtext": "Above ₹249",
          "discountInfo": {
            "discountType": "DISCOUNT_TYPE_PERCENTAGE",
            "discountValue": 5
          }
        },
        {
          "header": "ADDITIONAL OFFERS",
          "type": "CASHBACK",
          "title": "10%*",
          "tnc": [
            "Valid only on Swiggy HDFC Bank Credit Card or Swiggy Blck HDFC Bank Credit Card",
            "Monthly cashback limit of ₹1500 on Swiggy spends",
            "Cashback will be processed in the next statement cycle"
          ],
          "adjoiningSubtext": "Above ₹249",
          "discountInfo": {
            "discountType": "DISCOUNT_TYPE_PERCENTAGE",
            "discountValue": 10
          }
        }
      ],
      "infos": [
        {
          "description": "Up to 10% off with bank offers",
          "discountInfo": {
            "discountType": "DISCOUNT_TYPE_PERCENTAGE",
            "discountValue": 15
          }
        }
      ],
      "offerCount": 1
    }
  ],
  "features": [
    {
      "aspectRatio": 1.7778
    },
    [
      {
        "logo": {
          "logo": "dineout/rx-card/highlights/book.png"
        },
        "title": "Table booking",
        "style": {
          "textColour": "text_color_med_emphasis",
          "bgColour": "background_button_tertiary_low"
        }
      }
    ]
  ],
  "isPaymentAccepted": true,
  "source": "swiggy.com",
  "provenance": "public_dineout_getListing_api",
  "sourceUrl": "https://www.swiggy.com/dineout/chennai",
  "sourcePageUrl": "https://www.swiggy.com/dineout/chennai",
  "sourceApiUrl": "https://www.swiggy.com/api/seo/getListing?lat=13.0827&lng=80.2707&apiV2=true",
  "rank": 1,
  "scrapedAt": "2026-10-25T20:56:09.677Z"
}
```

### Run summary

**Run summary** is stored separately from the dataset in the run's key-value store under `OUTPUT`.

| Field | Meaning |
| --- | --- |
| `recordType` | Summary discriminator; `runSummary`. |
| `status` | Run outcome; `SUCCEEDED` or `FAILED`. |
| `runStatus` | Canonical run status; matches `status`. |
| `dataStatus` | Dataset completeness: `COMPLETE`, `PARTIAL`, `NO_RESULTS`, or `FAILED`. |
| `dataAvailable` | Whether at least one venue row was saved. |
| `actor` | Actor slug; `swiggy-dineout-listings-scraper`. |
| `city` | City used for the successful route. |
| `requestedCity` | Normalized city supplied in the input. |
| `sourceCity` | City slug used by the public Dineout route. |
| `sourceUrl` | Public Dineout city page requested. |
| `requestUrl` | Public listing API URL actually requested. |
| `routeMode` | Route that produced the data, such as `public_getListing_api`. |
| `sourceTransport` | Transport used, such as `direct_http`. |
| `coordinateSource` | Where the coordinates came from, such as `actor_city_preset`. |
| `latitude` | Latitude used for the listing request. |
| `longitude` | Longitude used for the listing request. |
| `requestedMaxItems` | Venue limit requested. |
| `itemsStored` | Venue rows written. |
| `recordsStored` | Complete venue records written. |
| `dataRecordCount` | Data records counted for the run. |
| `diagnosticCount` | Operational issues recorded for the run. |
| `blockedCount` | Blocked or access-boundary responses. |
| `errorCount` | Request or parse errors. |
| `noDataCount` | Recognized successful responses with no venue entries. |
| `requestCount` | Public requests made, including the city page check. |
| `retryCount` | Bounded retries performed. |
| `outputWriteFailed` | Whether writing the summary failed. |
| `fixtureMode` | Whether a bundled QA fixture was used instead of the live source. |
| `source` | Source host; `swiggy.com`. |
| `provenance` | Route provenance label recorded for the run. |
| `generatedBy` | Generator label recorded in the actor build. |
| `scrapedAt` | Time the summary was written, in ISO UTC. |

| Status | Data status | Meaning |
| --- | --- | --- |
| `SUCCEEDED` | `COMPLETE` | Eligible results were saved without an extraction problem. |
| `SUCCEEDED` | `PARTIAL` | Some results were saved, but a later problem prevented a complete run. Saved rows remain available. |
| `SUCCEEDED` | `NO_RESULTS` | The source completed cleanly and returned no matching results. |
| `FAILED` | `FAILED` | A fatal error occurred before any usable result was saved. |

Example `OUTPUT` from the saved run:

```json
{
  "recordType": "runSummary",
  "status": "SUCCEEDED",
  "runStatus": "SUCCEEDED",
  "dataStatus": "COMPLETE",
  "dataAvailable": true,
  "actor": "swiggy-dineout-listings-scraper",
  "city": "chennai",
  "requestedCity": "chennai",
  "sourceCity": "chennai",
  "sourceUrl": "https://www.swiggy.com/dineout/chennai",
  "requestUrl": "https://www.swiggy.com/api/seo/getListing?lat=13.0827&lng=80.2707&apiV2=true",
  "routeMode": "public_getListing_api",
  "sourceTransport": "direct_http",
  "coordinateSource": "actor_city_preset",
  "latitude": 13.0827,
  "longitude": 80.2707,
  "requestedMaxItems": 3,
  "itemsStored": 3,
  "recordsStored": 3,
  "dataRecordCount": 3,
  "diagnosticCount": 0,
  "blockedCount": 0,
  "errorCount": 0,
  "noDataCount": 0,
  "requestCount": 2,
  "retryCount": 0,
  "outputWriteFailed": false,
  "fixtureMode": false,
  "source": "swiggy.com",
  "provenance": "public_dineout_city_page",
  "generatedBy": "OpenAI Codex with GPT-6",
  "scrapedAt": "2026-10-25T20:56:09.847Z"
}
```

### Coverage and limitations

The Actor reads public data from Swiggy for one city per run. It checks the public Dineout city route and requests the public listing API for the selected coordinates. When `latitude` and `longitude` are omitted, a bounded preset is used for supported Indian cities; an unsupported city can fail without coordinates, and that outcome is reported in `OUTPUT`.

This is a listing-only Actor. It does not fetch menus, individual venue pages, reviews, table availability, reservation slots, orders, or account data. You can choose either a direct request or an explicit standard Apify Proxy route before the run; the selected transport is used consistently for the bounded requests and retries. The Actor does not switch transports, launch a browser, solve a challenge, or bypass an access control. Optional fields are omitted when the source does not publish them; values are not inferred. Source availability can change, and blocked, empty, or partial responses are reported in the run summary rather than written as data rows.

### Usage and support

Cost depends on Apify compute, one city-page check, the listing request, and any bounded retries. Proxy traffic can add cost and does not guarantee access. `maxItems` caps saved rows but does not reduce the listing request count. Start with small item limits, inspect the dataset and run summary, then scale gradually. See the Actor's Pricing tab for current account rates.

Use the [Actor Issues page](https://apify.com/w3crawler/swiggy-dineout-listings-scraper/issues) to report a problem. Include the run ID, the input used, and the run summary; do not include tokens, cookies, or private data. It is not affiliated with, endorsed by, sponsored by, or operated by Swiggy. Use it only for public data and in accordance with the source's terms, robots guidance, and applicable law. Public pages can contain personal information; use the output only for lawful purposes.

# Changelog

This Actor's version history is a separate document: https://apify.com/w3crawler/swiggy-dineout-listings-scraper/changelog.md

# Actor input Schema

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

Indian city name or slug used to select the public Swiggy Dineout locale.

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

Optional latitude for the public Dineout listing API. When omitted, a bounded preset is used for supported Indian cities.

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

Optional longitude for the public Dineout listing API; supply it together with latitude.

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

Maximum source-backed Dineout listings to emit.

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

Timeout for the bounded public HTTPS request.

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

Optional standard Apify Proxy configuration for ordinary network connectivity. It is not a challenge, CAPTCHA, or access-control bypass and the Actor does not retry a blocked direct response through another route.

## Actor input object example

```json
{
  "city": "chennai",
  "maxItems": 20,
  "timeoutSecs": 30,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

No description

## `runSummary` (type: `string`):

Run status and counters stored by the Actor.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

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

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("w3crawler/swiggy-dineout-listings-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("w3crawler/swiggy-dineout-listings-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 '{}' |
apify call w3crawler/swiggy-dineout-listings-scraper --silent --output-dataset

```

## MCP server setup

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