BigBasket Categories API returns the public category tree for a delivery pincode. Each category has a path and an id that the search route accepts unchanged. This is the public id source for BigBasket search.
Send a supported six-digit Indian pincode. Costs 1 credit per successful request. Failed and empty answers are free.
Run this endpoint
Endpoint
Parameters
Start with the required fields, then add optional filters only when your use case needs them.
Runnable path
1 required parameter needed before sending a request.
string
Required
Supported six-digit Indian delivery pincode, e.g. 110001
example
Response Schema
Example response fields are illustrative; inspect the JSON before integrating.
Example response fields
Scan these fields before integrating.
data
meta
success
{
"data": {
"count": 2,
"pincode": "110001",
"categories": [
{
"id": "fruits-vegetables",
"name": "Fruits & Vegetables",
"path": "fruits-vegetables",
"parent": null
}
]
},
"meta": {
"credits": 1,
"billable": true,
"endpoint_family": "categories"
},
"success": true
}
Errors
Handle these documented responses before retrying or showing customer-facing failures.
Unsupported pincode
The pincode is not supported. Not billed.
Upstream unavailable
BigBasket could not be reached. Not billed.
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.