List all restaurants
Stream the deduplicated restaurants of Swiggy's whole first listing page at a location.
swiggy.list.all_restaurants
/execute
Shared execution endpoint
Input parameters
latitude
number
optional
Latitude; supply together with longitude, or omit both for the default delivery area. From -90 to 90.
12.9121181
longitude
number
optional
Longitude; supply together with latitude, or omit both for the default delivery area. From -180 to 180.
77.6445548
max_pages
integer
optional
Kept for compatibility. Swiggy serves one listing page per location, so one page is fetched; a larger value is applied as 1 and noted in summary.warnings. It still sets the default max_restaurants (page_limit x max_pages).
1
max_restaurants
integer
optional
Maximum restaurants to return.
5
offset
string
optional
Not supported: Swiggy serves one listing page per location, so there is no next page to continue. Omit it; any value is rejected as invalid_input.
page_limit
integer
optional
Requested source page size. Swiggy returns its whole first listing page (about 26 restaurants) whatever this asks for; use max_restaurants to cap results.
5
Response
Successful output is returned in results[0].data.
Raw platform output is intentionally open-ended and may evolve with the upstream source.
Illustrative output fields
Values illustrate one response. Read the guidance above for missing values and limits; fields can vary with the requested operation and the data available.
| Path | Observed type | Example |
|---|---|---|
items |
array |
3 items |
items |
array |
3 items |
summary |
object |
7 fields |
summary.has_more |
boolean |
true |
summary.latitude |
number |
12.9121181 |
summary.longitude |
number |
77.6445548 |
summary.pages_fetched |
integer |
1 |
summary.stop_reason |
string |
max_restaurants |
summary.total_items |
integer |
5 |
summary.truncated |
boolean |
true |
Execution behavior
A 200 response completed inline. A 202 response was queued; poll
GET /jobs/:id until the job reaches completed or
failed.