Swiggy All Restaurants API
Every restaurant Swiggy lists at a delivery location, with cuisines, rating, cost for two, delivery time and distance.
- 1 credit per call
- Failed calls are free
- Updated
- swiggy.list.all_restaurants
{ "summary": { "has_more": true, "latitude": 12.9121181, "longitude": 77.6445548, "total_items": 26 }, "items": [ { "name": "Andhra Gunpowder", "rating": 4.3, "area_name": "HSR Layout", "cost_for_two_minor": 35000, "cost_for_two_text": "₹350 for two", "cuisines_text": "Andhra, Biryani, South Indian", "delivery_time_minutes": 33, "is_open": true, "last_mile_travel_km": 0.6, "last_mile_travel_text": "0.6 km", "latitude": 12.9121181, "locality": "Sector 2", "longitude": 77.6445548, "parent_id": "10496", "rating_text": "4.3", "restaurant_id": "279024", "restaurant_url": "https://www.swiggy.com/city/bangalore/andhra-gunpowder-sector-2-hsr-layout-rest279024", "serviceability": "SERVICEABLE", "sla_text": "30-35 mins", "total_ratings_text": "9.7K+", "cuisines": [ "Andhra", "Biryani" ] }, { "name": "Aligarh House", "rating": 4.3, "area_name": "HSR Layout", "cost_for_two_minor": 40000, "cost_for_two_text": "₹400 for two", "cuisines_text": "Biryani, Mughlai, Kebabs, Lucknowi, Fast Food, Desserts, Beverages", "delivery_time_minutes": 35, "is_open": true, "last_mile_travel_km": 1.4, "last_mile_travel_text": "1.4 km", "latitude": 12.9121181, "locality": "HSR Layout", "longitude": 77.6445548, "parent_id": "586111", "rating_text": "4.3", "restaurant_id": "81642", "restaurant_url": "https://www.swiggy.com/city/bangalore/aligarh-house-hsr-layout-rest81642", "serviceability": "SERVICEABLE", "sla_text": "30-40 mins", "total_ratings_text": "11K+", "cuisines": [ "Biryani", "Mughlai" ] } ]}
| # | Restaurant | Cuisines | Rating | Cost for two | Delivery (min) | Locality | Ratings | Area name | Cost for two minor | Is open |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Andhra Gunpowder | Andhra, Biryani, South Indian | 4.3 | ₹350 for two | 33 | Sector 2 | 9.7K+ | HSR Layout | 35,000 | true |
| 2 | Aligarh House | Biryani, Mughlai, Kebabs, Lucknowi, Fast Food, Desserts, Bevera… | 4.3 | ₹400 for two | 35 | HSR Layout | 11K+ | HSR Layout | 40,000 | true |
| 3 | Paris Panini - Gourmet Sandwiches & Wraps | sandwich, wrap, Fast Food, Pastas, Italian, Salads, Healthy Foo… | 4.5 | ₹700 for two | 27 | HSR | 5.6K+ | HSR | 70,000 | true |
| 4 | California Burrito | Mexican, American, Salads, Continental, Keto, Healthy Food, Bev… | 4.5 | ₹250 for two | 31 | HSR Layout | 44K+ | HSR Layout | 25,000 | true |
| 5 | Subway | sandwich, Salads, wrap, Healthy Food | 4.2 | ₹350 for two | 26 | HSR Layout | 54K+ | HSR Layout | 35,000 | true |
| 6 | Domino's Pizza | Pizzas, Italian, Pastas, Desserts | 4.4 | ₹400 for two | 20 | 1st Sector | 18K+ | Sector 1 Agara | 40,000 | true |
| 7 | McDonald's | Burgers, Beverages, Cafe, Desserts | 4.3 | ₹400 for two | 27 | HSR Layout | 79K+ | HSR Layout | 40,000 | true |
| 8 | KFC | Burgers, Fast Food, Rolls & Wraps | 4.2 | ₹400 for two | 27 | HSR Layout | 42K+ | HSR Layout | 40,000 | true |
| 9 | A2B - Adyar Ananda Bhavan | South Indian, Sweets, Chinese | 4.4 | ₹300 for two | 35 | HSR Layout | 95K+ | HSR Layout | 30,000 | true |
| 10 | Burger King | Burgers, American | 4.1 | ₹350 for two | 29 | HSR Layout | 70K+ | HSR Layout | 35,000 | true |
What you send
The input
object of the request, with every field the endpoint accepts.
| Field | Type | Required | What it does | Example |
|---|---|---|---|---|
| latitude | number | one of | Latitude of the delivery location. Send it with longitude, or leave both out for the default area. | 12.9121181 |
| longitude | number | one of | Longitude of the delivery location. | 77.6445548 |
| max_pages | integer | no | Kept for older requests; one listing is read per location. | 2 |
| max_restaurants | integer | no | The most restaurants to return. | 300 |
| offset | string | no | Not used: Swiggy shows one listing per location. Leave it out. | |
| page_limit | integer | no | Kept for older requests; Swiggy returns its whole listing for the location whatever this says. | 5 |
Fields it returns
What each record in the response holds, with the values from the sample above.
| Field | Type | What it is | Example |
|---|---|---|---|
| items[].name | string | The name of the restaurant or dish. | Andhra Gunpowder |
| items[].cuisines_text | string | The cuisines as one line. | Andhra, Biryani, South Indian |
| items[].rating | number | The average rating, out of 5. | 4.3 |
| items[].cost_for_two_text | string | Swiggy's price guide for two people. | ₹350 for two |
| items[].delivery_time_minutes | integer | Swiggy's delivery time estimate, in minutes. | 33 |
| items[].locality | string | The restaurant's locality. | Sector 2 |
| items[].total_ratings_text | string | How many ratings, as Swiggy rounds it. | 9.7K+ |
| items[].area_name | string | The area of the restaurant. | HSR Layout |
| items[].cost_for_two_minor | integer | The price guide for two, in paise. | 35,000 |
| items[].cuisines | array | The restaurant's cuisines. | Andhra, Biryani, South Indian |
| items[].is_open | boolean | Whether the restaurant is open now. | true |
| items[].last_mile_travel_km | number | Distance from the restaurant to you, in kilometres. | 0.6 |
| items[].last_mile_travel_text | string | That distance as Swiggy shows it. | 0.6 km |
| items[].latitude | number | Latitude. | 12.91 |
| items[].longitude | number | Longitude. | 77.64 |
| items[].parent_id | string | 10496 | |
| items[].rating_text | string | The rating as Swiggy shows it. | 4.3 |
| items[].restaurant_id | string | Swiggy's ID for the restaurant, used by the menu endpoint. | 279024 |
| items[].restaurant_url | string | The restaurant's page on Swiggy. | https://www.swiggy.com/city/bangalore/andhra-gunpowder-sector-2… |
| items[].serviceability | string | Whether the restaurant delivers to your location. | SERVICEABLE |
| items[].sla_text | string | Swiggy's delivery time estimate. | 30-35 mins |
| items | array | The results. | 26 records |
| summary | object | Totals for this response. | 4 fields |
| summary.has_more | boolean | Whether more results follow this page. | true |
| summary.latitude | number | Latitude. | 12.91 |
| summary.longitude | number | Longitude. | 77.64 |
| summary.total_items | integer | How many results this response holds. | 26 |
Call it from your code, or ask your agent
Set UPSCRAPE_API_KEY to your key and copy a working request.
curl --request POST \ --url https://data.upscrape.com/execute \ --header "Authorization: Bearer $UPSCRAPE_API_KEY" \ --header "Content-Type: application/json" \ --header "Prefer: wait=30" \ --data '{ "capability": "swiggy.list.all_restaurants", "input": { "latitude": 12.9121181, "longitude": 77.6445548, "max_pages": 2, "max_restaurants": 300, "page_limit": 5 }}'
import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "swiggy.list.all_restaurants", "input": { "latitude": 12.9121181, "longitude": 77.6445548, "max_pages": 2, "max_restaurants": 300, "page_limit": 5 }}''')response = requests.post( "https://data.upscrape.com/execute", headers={ "Authorization": f"Bearer {os.environ['UPSCRAPE_API_KEY']}", "Content-Type": "application/json", "Prefer": "wait=30", }, json=payload,)response.raise_for_status()print(json.dumps(response.json(), indent=2))
const response = await fetch("https://data.upscrape.com/execute", { method: "POST", headers: { "Authorization": `Bearer ${process.env.UPSCRAPE_API_KEY}`, "Content-Type": "application/json", "Prefer": "wait=30", }, body: JSON.stringify({ "capability": "swiggy.list.all_restaurants", "input": { "latitude": 12.9121181, "longitude": 77.6445548, "max_pages": 2, "max_restaurants": 300, "page_limit": 5 }}),});if (!response.ok) { throw new Error(`Upscrape request failed: ${response.status}`);}console.log(JSON.stringify(await response.json(), null, 2));
https://data.upscrape.com/mcp
Using Upscrape, list the restaurants Swiggy shows in HSR Layout, Bengaluru (12.9121, 77.6446). Make a table of name, cuisines, rating, cost for two and delivery time, best rated first.
More from the Swiggy API
- Swiggy Menu API1 credit
- Swiggy Area Restaurants API1 credit
- Swiggy Menu Items API1 credit
- Swiggy List API1 credit
- Swiggy Ads API1 credit
- Swiggy Categories API1 credit
- Swiggy Area Menu Items Grid API1 credit
- Swiggy Area Menu Items API1 credit
- Swiggy Restaurants API1 credit
- Swiggy Dishes Search API1 credit
- Swiggy Restaurants Search API1 credit
The same data from other platforms
Swiggy All Restaurants API FAQ
The short answers. The docs have the long ones.
How much does the Swiggy All Restaurants API cost?
1 credit per successful call, shown before it runs. You buy credits once, and paid credits never expire.
What do I send?
Send latitude or longitude. The input fields below list every option with its type and limits.
Do I need a Swiggy login?
No. It reads public Swiggy data; nothing runs on your account.
Can my AI agent call it?
Yes, over MCP: the agent finds swiggy.list.all_restaurants, checks its price and runs it with the same credits as the REST API.
Your first Swiggy call is free.
Up to 100 free credits to start, no card needed.