↑ ↓ to move ↵ to open
Swiggy API reference

Swiggy Restaurants Search

swiggy.search.restaurants

Search restaurants by keyword at a delivery location, in Swiggy's order, with rating, cost for two, delivery time and promoted marks.

At a glance

Endpoint ID
swiggy.search.restaurants
Price
3 credits per call; failed calls are free
Runs for up to
60 seconds
Request
POST /execute
Run an endpoint
MCP tool when pinned
swiggy__search__restaurants
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.restaurants",  "input": {    "latitude": 12.9121181,    "limit": 10,    "longitude": 77.6445548,    "query": "biryani"  }}'

Input

FieldTypeRequiredWhat it doesExample
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.
selected_tab string no Optional. Leave it out to read Swiggy's restaurant results.
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:

results[0].data
{  "summary": {    "has_more": false,    "latitude": 12.9121181,    "longitude": 77.6445548,    "query": "biryani",    "total_items": 10  },  "items": [    {      "name": "Biryon",      "rating": 4.1,      "city": "1",      "area_name": "Koramangala",      "cloudinary_image_id": "FOOD_CATALOG/IMAGES/CMS/2026/6/22/b7426eb0-eeaa-4fcb-871e-39d6353e8979_bc716e7c-63ea-4b62-92a5-82b19a34345e.jpeg_compressed",      "cost_for_two_minor": 40000,      "cost_for_two_text": "₹400 FOR TWO",      "cuisines_text": "Biryani, South Indian, Indian",      "delivery_time_minutes": 44,      "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…",      "is_open": true,      "last_mile_travel_km": 5.8,      "last_mile_travel_text": "5.8 km",      "latitude": 12.9121181,      "locality": "Koramangala",      "longitude": 77.6445548,      "parent_id": "795010",      "promoted": true,      "query": "biryani",      "rating_text": "4.1",      "restaurant_id": "1352704",      "restaurant_url": "https://www.swiggy.com/city/1/biryon-only-biryani,-nothing-else-koramangala-koramangala-rest1352704",      "serviceability": "SERVICEABLE",      "sla_text": "40-50 MINS",      "slug": "biryon-only-biryani,-nothing-else-koramangala-koramangala",      "total_ratings_text": "135",      "cuisines": [        "Biryani",        "South Indian"      ]    },    {      "name": "Paradise Biryani",      "rating": 4.5,      "city": "1",      "area_name": "HSR Layout",      "cloudinary_image_id": "FOOD_CATALOG/IMAGES/CMS/2025/12/1/1c7af522-bf85-4101-af10-0ab488f01d77_dce15c8c-cc2d-4ad4-9367-94c70ffb84d7.jpg_compressed",      "cost_for_two_minor": 40000,      "cost_for_two_text": "₹400 FOR TWO",      "cuisines_text": "Biryani, Kebabs, North Indian, Hyderabadi",      "delivery_time_minutes": 27,      "image_url": "https://media-assets.swiggy.com/swiggy/image/upload/FOOD_CATALOG/IMAGES/CMS/2025/12/1/1c7af522-bf85-4101-af10-0ab488f01d77_dce15c8c-cc2d-4a…",      "is_open": true,      "last_mile_travel_km": 0.1,      "last_mile_travel_text": "0.1 km",      "latitude": 12.9121181,      "locality": "Sector 4",      "longitude": 77.6445548,      "parent_id": "700",      "query": "biryani",      "rating_text": "4.5",      "restaurant_id": "233815",      "restaurant_url": "https://www.swiggy.com/city/1/paradise-biryani-sector-4-hsr-rest233815",      "serviceability": "SERVICEABLE",      "sla_text": "20-25 MINS",      "slug": "paradise-biryani-sector-4-hsr",      "total_ratings_text": "24K+",      "cuisines": [        "Biryani",        "Kebabs"      ]    }  ]}

Fields

FieldTypeWhat it isExample
items[].name string The restaurant's name. Biryon
items[].cuisines_text string The cuisines as one line. Biryani, South Indian, Indian
items[].rating number The average rating, out of 5. 4.1
items[].cost_for_two_text string Swiggy's price guide for two people. ₹400 FOR TWO
items[].delivery_time_minutes integer Swiggy's delivery time estimate, in minutes. 44
items[].locality string The restaurant's locality. Koramangala
items[].promoted boolean Whether the result is a paid placement. Missing means not marked as promoted. true
items[].city string Swiggy's ID for the city. 1
items[].area_name string The area of the restaurant. Koramangala
items[].cloudinary_image_id string Swiggy's reference for that picture. FOOD_CATALOG/IMAGES/CMS/2026/6/22/b7426eb0-eeaa-4fcb-871e-39d63…
items[].cost_for_two_minor integer The price guide for two, in paise. 40,000
items[].cuisines array The restaurant's cuisines. Biryani, South Indian, Indian
items[].image_url string The restaurant's picture. https://media-assets.swiggy.com/swiggy/image/upload/FOOD_CATALO…
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. 5.8
items[].last_mile_travel_text string That distance as Swiggy shows it. 5.8 km
items[].latitude number The delivery location's latitude. 12.91
items[].longitude number The delivery location's longitude. 77.64
items[].parent_id string Swiggy's ID for the restaurant's brand or chain. 795010
items[].query string The search term Swiggy answered. biryani
items[].rating_text string The rating as Swiggy shows it. 4.1
items[].restaurant_id string Swiggy's ID for the restaurant; the menu endpoints take it. 1352704
items[].restaurant_url string The restaurant's page on Swiggy. https://www.swiggy.com/city/1/biryon-only-biryani,-nothing-else…
items[].serviceability string Whether Swiggy delivers from it to this location. SERVICEABLE
items[].sla_text string The delivery time as Swiggy shows it. 40-50 MINS
items[].slug string The name part of the restaurant's link. biryon-only-biryani,-nothing-else-koramangala-koramangala
items[].total_ratings_text string How many ratings, as Swiggy rounds it. 135
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

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