Skip to documentation
Browse documentation

Categories

List Swiggy food categories and cuisine shortcuts for a location.

Capability ID swiggy.categories
Cost 1 credit per request
Maximum runtime 30 seconds
View raw

POST /execute Shared execution endpoint

Input parameters

latitude number optional

Latitude of the location.

Example 12.9121181
limit integer optional

Maximum number of categories.

Example 20
longitude number optional

Longitude of the location.

Example 77.6445548

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 full redacted fixture is shown in the response panel.

Illustrative output fields

Derived from the sample above for orientation only. These observed fields are not a fixed response schema.

PathObserved typeExample
items array 3 items
items array 3 items
summary object 4 fields
summary.latitude number 12.9121181
summary.longitude number 77.6445548
summary.source_url string [redacted:acquisition_url]
summary.total_items integer 12

Execution behavior

A 200 response completed inline. A 202 response was queued; poll GET /jobs/:id until the job reaches completed or failed.