Discover/swiggy.com API
live

swiggy.com APIswiggy.com

Access Swiggy restaurant listings, full menus, search results, and Instamart grocery categories via 5 structured API endpoints.

Endpoints
5
Updated
10d ago
Try it
Latitude of location.
Longitude of location.
api.parse.bot/scraper/0fca980e-bb1b-497c-9e70-fe66ef61fab8/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/0fca980e-bb1b-497c-9e70-fe66ef61fab8/get_restaurants_by_city?lat=12.9716&lng=77.5946' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 5 totalclick to expand

Get list of restaurants for a given city/coordinates, including popular categories ("What's on your mind?"), top restaurant chains, and restaurant listings with ratings, cuisines, delivery time, and offers.

Input
ParamTypeDescription
latnumberLatitude of location.
lngnumberLongitude of location.
Response
{
  "type": "object",
  "fields": {
    "data": "object containing statusMessage, pageOffset, and cards array with restaurant listings and category widgets",
    "statusCode": "integer indicating success (0) or failure"
  },
  "sample": {
    "data": {
      "data": {
        "cards": [
          {
            "card": {
              "card": {
                "@type": "type.googleapis.com/swiggy.gandalf.widgets.v2.GridWidget",
                "header": {
                  "title": "What's on your mind?"
                }
              }
            }
          }
        ],
        "statusMessage": "done successfully"
      },
      "statusCode": 0
    },
    "status": "success"
  }
}

About the swiggy.com API

The Swiggy API covers 5 endpoints that expose restaurant discovery, detailed menus, keyword search, and Instamart grocery category data from Swiggy's food delivery platform. With get_restaurant_details, you can retrieve a full restaurant menu including item prices, variants, ratings, and available offers for any Swiggy restaurant ID. Location-aware queries across all endpoints accept lat and lng parameters to return results relevant to a specific delivery address.

Restaurant Discovery and Search

get_restaurants_by_city returns a cards array that includes popular food category widgets (the "What's on your mind?" section), top restaurant chains, and individual restaurant listings. Each listing exposes cuisine tags, delivery time estimates, average ratings, and active offers. search_restaurants accepts a keyword query such as "biryani" or "pizza" and returns results split across RESTAURANT and DISH tabs, including dish-level details with prices and the restaurants that serve them — useful for building ingredient- or dish-first discovery flows.

Restaurant Details and Menus

get_restaurant_details requires a restaurant_id (a numeric string like "23846") and optional delivery coordinates. The response cards array contains restaurant metadata, applicable offers, navigation tabs (Order Online, Dineout), and menu items grouped by category. Each menu item can include price, rating, and variant options, making this endpoint suitable for reconstructing a full menu view or comparing item-level pricing across locations.

Instamart Grocery Data

get_instamart_categories returns Instamart's grocery category tree for a given location, organized into groups such as "Fresh items" and "Grocery & Kitchen", each containing category names and images. An optional store_id parameter targets a specific Instamart fulfillment location. Note that search_instamart_products — which would return individual grocery product results — is currently blocked by AWS WAF protection and does not return data.

Common use cases
  • Build a restaurant discovery app that surfaces cuisine categories and delivery time estimates by neighborhood using get_restaurants_by_city.
  • Aggregate and compare full menus across multiple Swiggy restaurants for a given dish type using get_restaurant_details with different restaurant_id values.
  • Power a dish-first search experience that lets users find which restaurants serve a specific item via search_restaurants.
  • Display active Swiggy offers and promotions for a specific restaurant by parsing the offers cards in the get_restaurant_details response.
  • Populate an Instamart grocery category browser for a delivery address using the category groups and images from get_instamart_categories.
  • Track how restaurant ratings, delivery times, or offer availability shift across different lat/lng coordinates for competitive analysis.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Swiggy have an official developer API?+
Swiggy does not publish a public developer API or official API documentation for third-party use. There is no documented partner API available at swiggy.com/developers or equivalent.
What does `search_restaurants` return beyond restaurant names?+
search_restaurants returns results in two tabs: RESTAURANT and DISH. The RESTAURANT tab includes restaurant names, ratings, cuisine tags, and delivery details. The DISH tab returns individual dish names, prices, and the restaurant serving each dish, along with sort and filter option metadata.
Can the API return individual grocery product listings from Instamart?+
Not currently. The API covers Instamart category groups and category names via get_instamart_categories, but search_instamart_products is blocked by WAF protection and does not return product results. You can fork this API on Parse and revise it to add a working Instamart product endpoint if that protection changes.
Does the menu returned by `get_restaurant_details` include item-level nutritional or allergen information?+
The get_restaurant_details endpoint returns item names, prices, ratings, and variants. Nutritional data and allergen labels are not fields exposed in the current response shape. You can fork the API on Parse and revise it to surface those fields if the underlying restaurant listing includes them.
Are results location-specific, and what happens if no coordinates are provided?+
All five endpoints accept lat and lng as optional inputs. When coordinates are supplied, results reflect restaurants and stores serviceable to that delivery location — including relevant delivery times and offers. Without coordinates, results may fall back to a default or generic view; for accurate local data, passing coordinates is recommended.
Page content last updated . Spec covers 5 endpoints from swiggy.com.
Related APIs in Food DiningSee all →
publix.com API
Access Publix grocery store data including product search, pricing, promotions, weekly ad deals, store locations, and category browsing.
pedidosya.com.ar API
Browse restaurants and menus available in Argentine cities through PedidosYa, search for specific restaurants by name or food category, and retrieve complete menu offerings including items, prices, and available options.
thefork.it API
Search and discover Italian restaurants by cuisine, location, or ratings, then access detailed information like menus, reviews, and availability across major cities in Italy. Find top-rated dining options and compare restaurant details to plan your perfect meal.
bigbasket.com API
Browse and search BigBasket's online grocery catalog. Retrieve product details, pricing, stock availability, category trees, search suggestions, homepage promotions, and delivery coverage — all in one API.
opentable.com API
Search for restaurants across the US with ratings, reviews, photos, and pricing information, plus get real-time availability and autocomplete suggestions as you type. Check reservation openings and explore detailed restaurant features to find and book your perfect dining experience.
opentable.ca API
Search and discover restaurants on OpenTable, view detailed information like menus and reviews, and check real-time dining availability across metro areas. Find top-rated restaurants in your location and instantly see which tables are open for your preferred date and time.
vivino.com API
Search and discover wines across thousands of options while accessing detailed information like user reviews, pricing, winery profiles, and food pairing recommendations. Explore grape varieties, compare wines side-by-side, and find the perfect bottle based on ratings and availability.
deliveroo.co.uk API
Search for restaurants and retrieve menus from Deliveroo UK. Look up restaurants by keyword and postcode, or fetch full menu details for any Deliveroo restaurant by URL.