Skip to content
Scrappa Get API key
BigBasket API 1 credit / request

BigBasket Categories API Documentation

GET https://scrappa.co/api/bigbasket/categories

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.

BigBasket Categories API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/bigbasket/categories
Auth header
x-api-key
Cost
1 credit / request
pincode = example
Response preview
200 OK
{
    "data": {
        "count": 2,
        "pincode": "110001",
        "categories": [
            {
                "id": "fruits-vegetables",
                "name": "Fruits & Vegetables",
                "path": "fruits-vegetables",
                "parent": null
            }
        ]
    },
    "meta": {
...

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.

pincode string Required

Supported six-digit Indian delivery pincode, e.g. 110001

Example value example

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data meta success
JSON Response
200 OK
{
    "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.

422

Unsupported pincode

The pincode is not supported. Not billed.

503

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.