List categories
List the category tree for a store or delivery location and return the IDs, names, sections and taxonomy used for category browsing.
swiggy-instamart.categories.list
/execute
Shared execution endpoint
Input parameters
Provide store_id, a six-digit pincode, or both lat and lng. Store takes precedence over pincode, which takes precedence over coordinates. Prefer one selector and retain the returned store and delivery point; one pincode does not describe every address in its area.
Optional primary_store_id, secondary_store_id and layout_id customize the store context. Keep them consistent with the requested delivery location.
lat
number
optional
Latitude in decimal degrees. From -90 to 90.
layout_id
string
optional
Optional homepage layout ID; defaults to 4987 (the web layout)
4987
lng
number
optional
Longitude in decimal degrees. From -180 to 180.
pincode
string
optional
6-digit Indian PIN code; the store serving it is resolved automatically (alternative to store_id)
primary_store_id
string
optional
Primary store ID; defaults to store_id
1392421
secondary_store_id
string
optional
Secondary store ID when the location has one
store_id
string
optional
Instamart store ID (alternative to pincode; takes precedence when both are given)
1392421
Response
Successful output is returned in results[0].data.
Pass a returned category name and taxonomy to category.products.list using the same location. Categories and available products vary by serving store.
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 |
|---|---|---|
categories |
array |
3 items |
categories |
array |
3 items |
Execution behavior
A 200 response completed inline. A 202 response was queued; poll
GET /jobs/:id until the job reaches completed or
failed.
Overview, pricing and sample data for every endpoint: Swiggy Instamart API