Discover/Swiggy API
live

Swiggy APIswiggy.com ↗

Access Swiggy restaurant listings, full menus, search results, dineout details, and Instamart grocery categories via a structured JSON API.

Endpoint health
verified 4d ago
search_dineout_restaurants
get_restaurant_details
get_dineout_restaurant_details
get_restaurants_by_city
get_instamart_categories
6/6 passing latest checkself-healing
Endpoints
6
Updated
4d ago

What is the Swiggy API?

The Swiggy API exposes 6 endpoints covering food delivery restaurants, full item-level menus, keyword search, dine-in listings, and Instamart grocery categories across Indian cities. With get_restaurant_details you get every menu category, item prices, variants, and active offers for a specific restaurant. search_dineout_restaurants returns cost-for-two, average ratings, locality, and a canonical Dineout page URL for each matching result.

This call costs1 credit / call— charged only on success
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.
Call it over HTTPgrab 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 · 6 totalmissing one? ·

Get list of restaurants for a given city/coordinates, including popular categories, top restaurant chains, and restaurant listings with ratings, cuisines, delivery time, and offers. Returns Swiggy's card-based response with heterogeneous widgets for the city homepage.

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": {
      "cards": [
        {
          "card": {
            "card": {
              "@type": "type.googleapis.com/swiggy.gandalf.widgets.v2.GridWidget",
              "header": {
                "title": "What's on your mind?"
              }
            }
          }
        }
      ],
      "pageOffset": {
        "nextOffset": "CJhlELQ4KID405flsYCjWjCnEzgB"
      },
      "statusMessage": "done successfully"
    },
    "statusCode": 0
  }
}

About the Swiggy API

Restaurant Discovery and Menus

get_restaurants_by_city accepts lat and lng coordinates and returns Swiggy's card-based layout for that location: popular category widgets, top restaurant chains, and individual restaurant listings with ratings, cuisine tags, estimated delivery time, and current offers. get_restaurant_details takes a restaurant_id (numeric string) plus optional coordinates and returns the full menu tree — grouped menu categories, individual items with prices and variants, restaurant-level offers, and both Order Online and Dineout tabs where available.

Search

search_restaurants accepts a query string (e.g. "biryani", "pizza") and coordinates, returning results split into RESTAURANT and DISH tabs. Each dish result carries item-level price and the parent restaurant's info. search_dineout_restaurants searches the dine-in surface and returns an array of restaurant objects with avg_rating, total_ratings, cost_for_two, locality, area_name, city, and a Swiggy Dineout page URL. The total_results integer tells you how many records were returned without pagination parameters.

Dineout Details and Instamart

get_dineout_restaurant_details takes a restaurant_id from dineout search results and returns structured fields: timings with a schedule array of day/hours pairs and a current open/closed status, ratings with value, description, and count, an offers array with title and description per offer, highlights, and location with formatted address, lat/lng, and area. get_instamart_categories returns grocery category groups (Fresh items, Grocery & Kitchen, etc.) for a given location, optionally scoped by store_id.

Response Shape

Most food-delivery endpoints return a statusCode integer (0 = success) alongside a data object containing a cards array. The Dineout detail endpoint is flatter, returning named top-level fields directly. All coordinate inputs (lat, lng) are optional but omitting them may reduce result relevance or return a default city's data.

Reliability & maintenanceVerified

The Swiggy API is a managed, monitored endpoint for swiggy.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when swiggy.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official swiggy.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
4d ago
Latest check
6/6 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Build a restaurant finder app showing ratings, cuisines, and delivery time for a user's coordinates
  • Aggregate menu prices and item variants across multiple Swiggy restaurants for price comparison
  • Track active promotional offers on restaurants by periodically calling get_restaurant_details
  • Power a dine-in discovery feature using search_dineout_restaurants with cost_for_two and locality filters
  • Display opening hours and current open/closed status for dineout restaurants via the timings.schedule field
  • Populate a grocery category browser for Instamart using get_instamart_categories category groups
  • Index dish-level search results from search_restaurants to surface specific menu items across restaurants
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo2005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min
Team$300/mo20,000300 req/min
Company$1,000/mo100,000500 req/min

Each endpoint has a fixed posted price per successful call — most fall between 1 and 10 credits — shown on this API's page before you run it. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Swiggy have an official public developer API?+
Swiggy does not offer a publicly documented developer API or a self-serve API portal. Access to structured data requires using a third-party API like this one.
What does get_restaurant_details return beyond basic restaurant info?+
It returns the complete menu grouped into categories with individual items, prices, and variants. It also includes active offers, the restaurant's aggregate rating, and tab-level data for both the Order Online and Dineout views — all in a single response keyed by restaurant_id.
Does search_dineout_restaurants support pagination?+
Results are auto-iterated server-side; there is no page parameter to pass. The total_results integer in the response indicates how many records were returned. If you need deeper pagination or cursor-based traversal, you can fork this API on Parse and revise it to add that capability.
Can I retrieve Instamart product listings or individual grocery item prices?+
Not currently. get_instamart_categories returns category-level data (group names, category names, and images) but does not go deeper into individual product listings or prices. You can fork this API on Parse and revise it to add a product-level Instamart endpoint.
Is the data specific to India, and does coverage vary by city?+
Yes, Swiggy operates in India, so all restaurant and Instamart data is India-specific. Coverage depends on whether Swiggy serves the coordinates you supply — locations outside Swiggy's active delivery zones may return empty cards arrays or a non-zero statusCode.
Page content last updated . Spec covers 6 endpoints from swiggy.com.
Related APIs in Food DiningSee all →
doordash.com API
Search for restaurants on DoorDash and view their menus, hours, and current promotions to find exactly what you're looking for. Get detailed information about any restaurant including pricing, availability, and active discounts across the US.
ubereats.com API
Search for restaurants by cuisine or location and browse their menus, prices, ratings, and delivery times. Get detailed information about specific restaurants and menu items to find exactly what you want to order.
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.
postmates.com API
Browse and search Postmates restaurants to discover menus, items, and detailed restaurant information all in one place. Get category suggestions, view complete menus, and access specific item details to find exactly what you're looking for.
instacart.com API
Search for grocery products across multiple retailers, view store locations and availability, and access detailed product information including prices and descriptions. Find the best deals and nearest stores offering the items you need.
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.
hungerstation.com API
Browse restaurants across Saudi Arabian cities on HungerStation and discover detailed information about each restaurant including their complete menus. Find exactly what you're looking for by searching through available cities and viewing all restaurant offerings in your area.
chownow.com API
Search for nearby restaurants, view their operating hours and delivery zones, and browse complete menus with all items, modifiers, and prices. Access detailed restaurant information and locations to find exactly what you're looking for on the ChowNow marketplace.