↑ ↓ to move ↵ to open
Swiggy API reference

swiggy.search.dishes

Search Swiggy dishes by keyword near an Indian delivery location, with menu item, price in paise and restaurant identity.

At a glance

Endpoint ID
swiggy.search.dishes
Price
1 credit per call; failed calls are free
Runs for up to
60 seconds
Request
POST /execute
Run an endpoint
MCP tool when pinned
swiggy__search__dishes
Pin tools
OpenAPI
openapi.json
Download

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": "rolls"  }}'

Input

FieldTypeRequiredWhat it doesExample
query string yes Search keyword. rolls
latitude number no Latitude of the location. 12.9121181
limit integer no Maximum number of results. 10
longitude number no Longitude of the location. 77.6445548
metadata string no Additional metadata.
query_unique_id string no Unique query identifier.
tracking_id string no Tracking identifier.

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:

results[0].data
{  "summary": {    "latitude": 12.9121181,    "longitude": 77.6445548,    "query": "rolls",    "total_items": 10  },  "items": [    {      "name": "Veg Roll",      "rating": 4.4,      "category": "Savouries",      "description": "Julian cuts of veggies filling stuffed in lamnited puff sheets and baked perfect",      "in_stock": true,      "is_veg": true,      "item_id": "37867971",      "price_minor": 4857,      "query": "rolls",      "rank": 1,      "rating_count": "998 ratings",      "restaurant_area_name": "HSR",      "restaurant_city": "1",      "restaurant_cuisines_text": "Bakery,  Desserts,  Cakes & Pastries,  Snacks",      "restaurant_id": "154991",      "restaurant_locality": "4th Sector",      "restaurant_name": "Cakewala",      "restaurant_rating": 4.5,      "restaurant_rating_text": "4.5",      "restaurant_url": "https://www.swiggy.com/city/1/cakewala-hsr-hsr-rest154991",      "restaurant_cuisines": [        "Bakery",        " Desserts"      ]    },    {      "name": "Special Roll",      "rating": 4.5,      "category": "Savouries",      "description": "A rich yeast based dough stuffed with veg filling, deep fried to golden brown colour",      "in_stock": true,      "is_veg": true,      "item_id": "38328091",      "price_minor": 5524,      "query": "rolls",      "rank": 2,      "rating_count": "782 ratings",      "restaurant_area_name": "HSR",      "restaurant_city": "1",      "restaurant_cuisines_text": "Bakery,  Desserts,  Cakes & Pastries,  Snacks",      "restaurant_id": "154991",      "restaurant_locality": "4th Sector",      "restaurant_name": "Cakewala",      "restaurant_rating": 4.5,      "restaurant_rating_text": "4.5",      "restaurant_url": "https://www.swiggy.com/city/1/cakewala-hsr-hsr-rest154991",      "restaurant_cuisines": [        "Bakery",        " Desserts"      ]    }  ]}

Fields

FieldTypeExample
items[].name string Veg Roll
items[].rating number 4.4
items[].category string Savouries
items[].description string Julian cuts of veggies filling stuffed in lamnited puff sheets …
items[].in_stock boolean true
items[].is_veg boolean true
items[].item_id string 37867971
items[].price_minor integer 4857
items[].query string rolls
items[].rank integer 1
items[].rating_count string 998 ratings
items[].restaurant_area_name string HSR
items[].restaurant_city string 1
items[].restaurant_cuisines array Bakery, Desserts, Cakes & Pastries
items[].restaurant_cuisines_text string Bakery, Desserts, Cakes & Pastries, Snacks
items[].restaurant_id string 154991
items[].restaurant_locality string 4th Sector
items[].restaurant_name string Cakewala
items[].restaurant_rating number 4.5
items[].restaurant_rating_text string 4.5
items[].restaurant_url string https://www.swiggy.com/city/1/cakewala-hsr-hsr-rest154991
items array 3 records
summary object 4 fields
summary.latitude number 12.91
summary.longitude number 77.64
summary.query string rolls
summary.total_items integer 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

Something missing or unclear? Ask the team that builds the Swiggy endpoints.