Swiggy Dishes Search
swiggy.search.dishes
Search dishes by keyword at a delivery location: each dish with its price, category, rating and the restaurant that sells it.
At a glance
- Endpoint ID
swiggy.search.dishes- Price
- 5 credits per call; failed calls are free
- Runs for up to
- 60 seconds
Request
Send the endpoint ID as capability and its fields as input. Set UPSCRAPE_API_KEY to your key first.
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.search.dishes", "input": { "latitude": 12.9121181, "limit": 10, "longitude": 77.6445548, "query": "biryani" }}'
import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "swiggy.search.dishes", "input": { "latitude": 12.9121181, "limit": 10, "longitude": 77.6445548, "query": "biryani" }}''')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.search.dishes", "input": { "latitude": 12.9121181, "limit": 10, "longitude": 77.6445548, "query": "biryani" }}),});if (!response.ok) { throw new Error(`Upscrape request failed: ${response.status}`);}console.log(JSON.stringify(await response.json(), null, 2));
Input
| Field | Type | Required | What it does | Example |
|---|---|---|---|---|
query |
string | yes | What to search for, such as biryani. | biryani |
latitude |
number | no | Latitude of the delivery location. Send it with longitude. | 12.9121181 |
limit |
integer | no | The most results to return. | 10 |
longitude |
number | no | Longitude of the delivery location. | 77.6445548 |
metadata |
string | no | Optional. Leave it out and Upscrape fills it from Swiggy's own suggestions. | |
query_unique_id |
string | no | Optional. Leave it out and Upscrape fills it from Swiggy's own suggestions. | |
tracking_id |
string | no | Optional. Leave it out and Upscrape fills it from Swiggy's own suggestions. |
Response
A finished call answers with HTTP 200; the data is in results[0].data, and billing.credits_charged is what it cost. A call still running after the wait answers 202: see jobs and results.
This is results[0].data from a real run:
{ "summary": { "has_more": false, "latitude": 12.9121181, "longitude": 77.6445548, "query": "biryani", "total_items": 10 }, "items": [ { "name": "Boneless Chicken Biryani", "rating": 3.9, "addon_group_count": 2, "addon_group_names_text": "Choose your Beverage | Choose your Sides", "category": "Biryani", "default_price_minor": 21900, "description": "Dum-cooked boneless chicken, with fragrant aged long-grained basmati rice, layered with aromatic whole spices and rich masala. served with …", "image_id": "FOOD_CATALOG/IMAGES/CMS/2026/6/22/b7426eb0-eeaa-4fcb-871e-39d6353e8979_bc716e7c-63ea-4b62-92a5-82b19a34345e.jpeg_compressed", "image_url": "https://media-assets.swiggy.com/swiggy/image/upload/FOOD_CATALOG/IMAGES/CMS/2026/6/22/b7426eb0-eeaa-4fcb-871e-39d6353e8979_bc716e7c-63ea-4b…", "in_stock": true, "item_id": "204787915", "price_minor": 21900, "query": "Biryani", "rank": 1, "rating_count": "44 ratings", "restaurant_area_name": "Koramangala", "restaurant_city": "1", "restaurant_cuisines_text": "Biryani, South Indian, Indian", "restaurant_id": "1352704", "restaurant_locality": "Koramangala", "restaurant_name": "Biryon", "restaurant_rating": 4.1, "restaurant_rating_text": "4.1", "restaurant_url": "https://www.swiggy.com/city/1/biryon-only-biryani,-nothing-else-koramangala-koramangala-rest1352704", "ribbon_text": "BESTSELLER", "variant_group_count": 1, "variant_group_names_text": "Choose your varient", "addon_group_names": [ "Choose your Beverage", "Choose your Sides" ], "restaurant_cuisines": [ "Biryani", "South Indian" ], "variant_group_names": [ "Choose your varient" ] }, { "name": "Malabar Thalassery Chicken Biryani", "rating": 4, "addon_group_count": 2, "addon_group_names_text": "Choose your Beverage | Choose your Sides", "category": "Biryani", "default_price_minor": 21900, "description": "Malabar-style biryani — short-grain rice layered with coconut-spiced masala. served with dates, pickle, spicy coconut chutney.", "image_id": "FOOD_CATALOG/IMAGES/CMS/2026/6/22/0be81df7-3502-4b2b-a237-6f48ef9bd538_d245de74-3b90-4553-b6ec-5bf297dcffee.jpeg_compressed", "image_url": "https://media-assets.swiggy.com/swiggy/image/upload/FOOD_CATALOG/IMAGES/CMS/2026/6/22/0be81df7-3502-4b2b-a237-6f48ef9bd538_d245de74-3b90-45…", "in_stock": true, "item_id": "204787926", "price_minor": 21900, "query": "Biryani", "rank": 2, "rating_count": "24 ratings", "restaurant_area_name": "Koramangala", "restaurant_city": "1", "restaurant_cuisines_text": "Biryani, South Indian, Indian", "restaurant_id": "1352704", "restaurant_locality": "Koramangala", "restaurant_name": "Biryon", "restaurant_rating": 4.1, "restaurant_rating_text": "4.1", "restaurant_url": "https://www.swiggy.com/city/1/biryon-only-biryani,-nothing-else-koramangala-koramangala-rest1352704", "ribbon_text": "BESTSELLER", "variant_group_count": 1, "variant_group_names_text": "Choose your varient", "addon_group_names": [ "Choose your Beverage", "Choose your Sides" ], "restaurant_cuisines": [ "Biryani", "South Indian" ], "variant_group_names": [ "Choose your varient" ] } ]}
Fields
| Field | Type | What it is | Example |
|---|---|---|---|
items[].name |
string | The dish's name. | Boneless Chicken Biryani |
items[].restaurant_name |
string | The restaurant that sells it. | Biryon |
items[].price_minor |
integer | The dish's price, in paise. | 21,900 |
items[].category |
string | The menu section the dish is in. | Biryani |
items[].rating |
number | The dish's average rating, out of 5. | 3.9 |
items[].in_stock |
boolean | Whether the dish can be ordered now. | true |
items[].addon_group_count |
integer | How many add-on choices the dish has. | 2 |
items[].addon_group_names |
array | The add-on choices. | Choose your Beverage, Choose your Sides |
items[].addon_group_names_text |
string | The add-on choices as one line. | Choose your Beverage | Choose your Sides |
items[].default_price_minor |
integer | The menu price before any variant is picked, in paise. | 21,900 |
items[].description |
string | The dish description from the menu. | Dum-cooked boneless chicken, with fragrant aged long-grained ba… |
items[].image_id |
string | Swiggy's reference for that picture. | FOOD_CATALOG/IMAGES/CMS/2026/6/22/b7426eb0-eeaa-4fcb-871e-39d63… |
items[].image_url |
string | The dish's picture. | https://media-assets.swiggy.com/swiggy/image/upload/FOOD_CATALO… |
items[].item_id |
string | Swiggy's ID for the dish. | 204787915 |
items[].query |
string | The search term Swiggy answered. | Biryani |
items[].rank |
integer | The dish's place in Swiggy's results. | 1 |
items[].rating_count |
string | How many ratings the dish has, as Swiggy shows it. | 44 ratings |
items[].restaurant_area_name |
string | The restaurant's area. | Koramangala |
items[].restaurant_city |
string | Swiggy's ID for the restaurant's city. | 1 |
items[].restaurant_cuisines |
array | The restaurant's cuisines. | Biryani, South Indian, Indian |
items[].restaurant_cuisines_text |
string | The restaurant's cuisines as one line. | Biryani, South Indian, Indian |
items[].restaurant_id |
string | Swiggy's ID for the restaurant that sells it. | 1352704 |
items[].restaurant_locality |
string | The restaurant's locality. | Koramangala |
items[].restaurant_rating |
number | The restaurant's average rating, out of 5. | 4.1 |
items[].restaurant_rating_text |
string | The restaurant's rating as Swiggy shows it. | 4.1 |
items[].restaurant_url |
string | The restaurant's page on Swiggy. | https://www.swiggy.com/city/1/biryon-only-biryani,-nothing-else… |
items[].ribbon_text |
string | The label on the dish, such as BESTSELLER. | BESTSELLER |
items[].variant_group_count |
integer | How many variant choices the dish has. | 1 |
items[].variant_group_names |
array | The variant choices, such as size. | Choose your varient |
items[].variant_group_names_text |
string | The variant choices as one line. | Choose your varient |
items |
array | The results, in Swiggy's order. | 10 records |
summary |
object | What this search returned. | 5 fields |
summary.has_more |
boolean | Whether Swiggy has more results. | false |
summary.latitude |
number | The delivery location's latitude. | 12.91 |
summary.longitude |
number | The delivery location's longitude. | 77.64 |
summary.query |
string | The search term. | biryani |
summary.total_items |
integer | How many results this response holds. | 10 |
If a call fails
A failed call costs nothing. The response carries an error.code you can branch on; Errors and retries lists every code and which ones to retry.
Other Swiggy endpoints
swiggy.ads.listAdsswiggy.area.menu_itemsArea menu items gridswiggy.area.restaurantsArea restaurantsswiggy.categoriesCategoriesswiggy.listListswiggy.list.all_restaurantsAll restaurantsswiggy.list.restaurantsRestaurantsswiggy.menuMenuswiggy.menu.area_itemsArea menu itemsswiggy.menu.itemsMenu itemsswiggy.search.restaurantsRestaurants search
Something missing or unclear? Ask the team that builds the Swiggy endpoints.