Search Swiggy near a point. tab=RESTAURANT returns restaurant cards with INR cost and open status; tab=DISH returns dish cards with INR price, image and restaurant id. A later page with mostly old ids gets a free 422. 1 credit on success.
Run this endpoint
Endpoint
Parameters
Start with the required fields, then add optional filters only when your use case needs them.
Runnable path
This endpoint has no required query parameters.
6 optional filters available.
string
Optional
Dish or restaurant name, for example biryani.
coffee shops
string
Optional
RESTAURANT (default) or DISH.
example
number
Optional
Delivery latitude. Default 12.9716.
10
number
Optional
Delivery longitude. Default 77.5946.
10
string
Optional
Pass the next_offset of the previous page.
example
string
Optional
Pass the widget_offset of the previous page.
example
Response Schema
Example response fields are illustrative; inspect the JSON before integrating.
Example response fields
Scan these fields before integrating.
data
success
{
"data": {
"count": 1,
"dishes": [
{
"id": "d1",
"name": "Chicken Biryani",
"price": 280,
"image_url": "https://media-assets.example.com/swiggy/image/upload/d1.jpg",
"description": "Basmati rice with chicken",
"restaurant_id": "263485"
}
],
"source": "swiggy"
},
"success": true
}
Errors
Handle these documented responses before retrying or showing customer-facing failures.
Validation Error
A parameter is invalid. Not billed.
{
"message": "The request validation failed"
}Generate Code with AI
Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.
Try It Live
Test this endpoint in our interactive playground with real data.