↑ ↓ to move ↵ to open
Swiggy API · Endpoint

Swiggy Search API

Search Swiggy restaurants near a delivery location by keyword and return the matching restaurant list.

  • 1 credit per call
  • Failed calls are free
  • Updated
  • swiggy.search
Response completed
{  "count": 5,  "raw_meta": {    "selected_tab": "RESTAURANT",    "suggest_url": "https://www.swiggy.com/dapi/restaurants/search/suggest?includeIMItem=true&lat=12.9121181&lng=77.6445548&str=rolls&trackingId=undefined"  },  "results": [    {      "name": "Olive Street Food Cafe",      "city": "1",      "ad_tracking_id": "cid=00132c9a-9bfd-43b9-b49c-cfe0163ad5c9~p=0~adgrpid=00132c9a-9bfd-43b9-b49c-cfe0163ad5c9#ag1~mp=SWIGGY_IN~bl=FOOD~aet=RESTAURANT~aeid=8567…",      "area_name": "HSR",      "avg_rating": 4.4,      "avg_rating_string": "4.4",      "cost_for_two": 30000,      "cost_for_two_message": "₹300 FOR TWO",      "delivery_time_minutes": 19,      "id": "856738",      "is_open": true,      "last_mile_travel_km": 0.9,      "last_mile_travel_string": "0.9 km",      "locality": "HSR Layout",      "parent_id": "12754",      "promoted": true,      "serviceability": "SERVICEABLE",      "sla_string": "15-20 MINS",      "slug": "olive-street-food-cafe-hsr-hsr",      "total_ratings_string": "1.6K+",      "cuisines": [        "Burgers",        "Cafe"      ],      "offers": [        {          "header": "ITEMS",          "sub_header": "AT ₹89"        }      ]    },    {      "name": "Faasos - Wraps, Rolls & Shawarma",      "city": "1",      "area_name": "HSR Layout",      "avg_rating": 4.1,      "avg_rating_string": "4.1",      "cost_for_two": 20000,      "cost_for_two_message": "₹200 FOR TWO",      "delivery_time_minutes": 21,      "id": "17750",      "is_open": true,      "last_mile_travel_km": 1.5,      "last_mile_travel_string": "1.5 km",      "locality": "Sector 2, 27th Main Road",      "parent_id": "21809",      "restaurant_url": "https://www.swiggy.com/city/1/faasos-hsr-rest17750",      "serviceability": "SERVICEABLE",      "sla_string": "20-25 MINS",      "slug": "faasos-hsr",      "total_ratings_string": "25K+",      "cuisines": [        "Wraps",        "rolls"      ],      "offers": [        {          "header": "ITEMS",          "sub_header": "AT ₹10"        }      ]    }  ],  "suggestions": [    {      "text": "Roll",      "cloudinary_id": "btrmbvwdfin5wp4dw1v7",      "deep_link": "swiggy://explore?query=Roll&metadata=%7B%22type%22%3A%22DISH%22%2C%22data%22%3A%7B%22vegIdentifier%22%3A%22NA%22%2C%22cloudinaryId%22%3A%22…",      "metadata": "{\"type\":\"DISH\",\"data\":{\"vegIdentifier\":\"NA\",\"cloudinaryId\":\"btrmbvwdfin5wp4dw1v7\",\"dishFamilyId\":\"846516\",\"dishFamilyIds\":[\"846516\"]},\"busi…",      "tag": "Dish",      "type": "DISH"    },    {      "text": "Rolls On Wheels - Shawarma & Wraps",      "restaurant_id": "612",      "tag": "Restaurant",      "type": "RESTAURANT"    }  ]}
Try it live, free
Input

What you send

The input object of the request, with every field the endpoint accepts.

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. 5
longitude number no Longitude of the location. 77.6445548
metadata string no Additional metadata.
query_unique_id string no Unique query identifier.
selected_tab string no Selected search tab.
tracking_id string no Tracking identifier.
Response

Fields it returns

What each record in the response holds, with the values from the sample above.

FieldTypeExample
results[].name string Olive Street Food Cafe
results[].city string 1
results[].ad_tracking_id string cid=00132c9a-9bfd-43b9-b49c-cfe0163ad5c9~p=0~adgrpid=00132c9a-9…
results[].area_name string HSR
results[].avg_rating number 4.4
results[].avg_rating_string string 4.4
results[].cost_for_two integer 30,000
results[].cost_for_two_message string ₹300 FOR TWO
results[].cuisines array Burgers, Cafe
results[].delivery_time_minutes integer 19
results[].id string 856738
results[].is_open boolean true
results[].last_mile_travel_km number 0.9
results[].last_mile_travel_string string 0.9 km
results[].locality string HSR Layout
results[].offers array 1 records
results[].offers[].header string ITEMS
results[].offers[].sub_header string AT ₹89
results[].parent_id string 12754
results[].promoted boolean true
results[].serviceability string SERVICEABLE
results[].sla_string string 15-20 MINS
results[].slug string olive-street-food-cafe-hsr-hsr
results[].total_ratings_string string 1.6K+
count integer 5
raw_meta object 2 fields
raw_meta.selected_tab string RESTAURANT
raw_meta.suggest_url string https://www.swiggy.com/dapi/restaurants/search/suggest?includeI…
results array 3 records
suggestions array 3 records
suggestions[].cloudinary_id string btrmbvwdfin5wp4dw1v7
suggestions[].deep_link string swiggy://explore?query=Roll&metadata=%7B%22type%22%3A%22DISH%22…
suggestions[].metadata string {"type":"DISH","data":{"vegIdentifier":"NA","cloudinaryId":"btr…
suggestions[].tag string Dish
suggestions[].text string Roll
suggestions[].type string DISH
REST API · MCP server

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",  "input": {    "latitude": 12.9121181,    "limit": 5,    "longitude": 77.6445548,    "query": "rolls"  }}'
In your AI agent Claude · Cursor · any MCP client
1Add the Upscrape MCP server
https://data.upscrape.com/mcp
2Ask for the data in plain words

With Upscrape, get the Swiggy search for latitude "12.9121181", longitude "77.6445548" and query "rolls". Tell me what it costs before you run it, then show the results as a table.

The agent finds the endpoint, shows you the price, and runs it with your credits.
Swiggy

More from the Swiggy API

Questions

Swiggy Search API FAQ

The short answers. The docs have the long ones.

Still have a question? Talk to the people who build the endpoints.
How much does the Swiggy 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, checks its price and runs it with the same credits as the REST API.

Get started

Your first Swiggy call is free.

Up to 100 free credits to start, no card needed.