Swiggy Restaurants Search API
Search restaurants by keyword at a delivery location, in Swiggy's order, with rating, cost for two, delivery time and promoted marks.
- 1 credit per call
- Failed calls are free
- Updated
- swiggy.search.restaurants
{ "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" ] } ]}
| # | Restaurant | Cuisines | Rating | Cost for two | Delivery (min) | Locality | Promoted | City | Area name | Cost for two minor |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Biryon | Biryani, South Indian, Indian | 4.1 | ₹400 FOR TWO | 44 | Koramangala | true | 1 | Koramangala | 40,000 |
| 2 | Paradise Biryani | Biryani, Kebabs, North Indian, Hyderabadi | 4.5 | ₹400 FOR TWO | 27 | Sector 4 | 1 | HSR Layout | 40,000 | |
| 3 | Narmada Chain of Restaurant | Biryani, Andhra, South Indian | 4.3 | ₹300 FOR TWO | 44 | 2nd stage | true | 1 | BTM Bangalore | 30,000 |
| 4 | Bikkgane Biryani | Biryani, Mughlai, Hyderabadi, Andhra, Desserts, Beverages | 4.3 | ₹400 FOR TWO | 38 | Kaikondarahalli | 1 | Sarjapur | 40,000 | |
| 5 | Narmada Chain of Restaurant | Biryani, Andhra, South Indian | 4.4 | ₹500 FOR TWO | 42 | Koramangala | true | 1 | Koramangala | 50,000 |
| 6 | Anmay Foods - Andhra Style Restaurant | Andhra, Biryani, South Indian, Chinese, North Indian | 4.2 | ₹400 FOR TWO | 30 | Hsr Layout | 1 | HSR Layout | 40,000 | |
| 7 | Dum Safar Biryani | Biryani, Hyderabadi, Kebabs, North Indian, barbeque | 3.8 | ₹500 FOR TWO | 51 | 100 Feet Road | true | 1 | INDIRANAGAR | 50,000 |
| 8 | Meghana Foods | Biryani, Andhra, South Indian, Chinese, Seafood | 4.5 | ₹500 FOR TWO | 48 | Sarjapur Road | 1 | Sarjapur Road | 50,000 | |
| 9 | Hyderabadi Handi Biryani | Biryani, North Indian, Desserts, Tandoor, Hyderabadi, Andhra | 4 | ₹400 FOR TWO | 46 | CKB Layout | true | 1 | Marathahalli | 40,000 |
| 10 | Biryani Blues | Biryani, Hyderabadi, Lucknowi, Kebabs | 4 | ₹400 FOR TWO | 27 | Sector 3 | 1 | HSR Layout | 40,000 |
What you send
The input
object of the request, with every field the endpoint accepts.
| 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. | |
| 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. |
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 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 |
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.search.restaurants", "input": { "latitude": 12.9121181, "limit": 10, "longitude": 77.6445548, "query": "biryani" }}'
import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "swiggy.search.restaurants", "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.restaurants", "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));
https://data.upscrape.com/mcp
Using Upscrape, search Swiggy for biryani in HSR Layout, Bengaluru (12.9121, 77.6446). Which restaurants come up first, which are promoted, and what are their ratings and delivery times?
More from the Swiggy API
- Swiggy All Restaurants API1 credit
- Swiggy Menu API1 credit
- Swiggy Area Restaurants API1 credit per 30 results
- Swiggy Menu Items API1 credit
- Swiggy List API1 credit
- Swiggy Ads API1 credit
- Swiggy Categories API1 credit
- Swiggy Area Menu Items Grid API10–20 credits
- Swiggy Area Menu Items API10–20 credits
- Swiggy Restaurants API1 credit
- Swiggy Dishes Search API1 credit
- Swiggy Ads Search API1 credit
- Swiggy Area Ads Search API1 credit
- Swiggy Search API1 credit
The same data from other platforms
Swiggy Restaurants Search API FAQ
The short answers. The docs have the long ones.
How much does the Swiggy Restaurants Search 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 query. 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.search.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.