Skip to documentation
Browse documentation

Area restaurants

Crawl a Swiggy area grid, one first listing page per cell, and stream deduplicated restaurant rows.

Capability ID swiggy.area.restaurants
Maximum runtime 120 seconds
View raw

POST /execute Shared execution endpoint

Input parameters

center_latitude number optional

Center latitude for radius mode.

Example 12.9121181
center_longitude number optional

Center longitude for radius mode.

Example 77.6445548
city string optional

City name.

concurrency integer optional

Number of concurrent requests.

max_cells integer optional

Maximum grid cells to crawl.

Example 2
max_latitude number optional

Maximum latitude of bounding box.

max_longitude number optional

Maximum longitude of bounding box.

max_pages_per_cell integer optional

Kept for compatibility. Swiggy serves one listing page per location, so one page is fetched per cell; a larger value is applied as 1 and noted in summary.warnings.

Example 1
max_restaurants integer optional

Maximum restaurants to return.

Example 50
min_latitude number optional

Minimum latitude of bounding box.

min_longitude number optional

Minimum longitude of bounding box.

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.

Example 20
radius_km number optional

Radius in kilometers.

Example 1
step_km number optional

Grid step size in kilometers.

Example 1

Response

Successful output is returned in results[0].data.

Raw platform output is intentionally open-ended and may evolve with the upstream source.

Illustrative sample The example response is shown in the response panel.

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.

PathObserved typeExample
items array 3 items
items array 3 items
summary object 7 fields
summary.cells integer 2
summary.crawl_id string 370dccd0-c950-4726-8152-edb5499068ed
summary.has_more boolean true
summary.pages_fetched integer 2
summary.stop_reason string first_page_only
summary.total_items integer 26
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.