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

BigBasket Search API Documentation

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

BigBasket Search API returns grocery products for a category path and delivery pincode. Each item has a name, brand, pack, INR price, MRP, discount, availability, full-size image and the id the product route accepts.

This is category-and-location search, not free-text keyword search. Use a path id from the Categories API. Pagination uses a real page number. Costs 1 credit per successful page with results.

BigBasket Search API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/bigbasket/search
Auth header
x-api-key
Cost
1 credit / request
path = example pincode = example
Response preview
200 OK
{
    "data": {
        "page": 1,
        "path": "fruits-vegetables",
        "count": 1,
        "items": [
            {
                "id": "/pd/71794/banana-robusta",
                "name": "Banana Robusta",
                "pack": "1 kg",
                "brand": "BigBasket",
                "image": "https://example.invalid/banana.png",
                "price": 45,
                "currency": "INR",
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

2 required parameters needed before sending a request.

1 optional filter available.

path string Required

Category path id from the Categories API

Example value example
pincode string Required

Supported six-digit Indian delivery pincode

Example value example
page integer Optional

Page number from 1

Example value 1

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": {
        "page": 1,
        "path": "fruits-vegetables",
        "count": 1,
        "items": [
            {
                "id": "/pd/71794/banana-robusta",
                "name": "Banana Robusta",
                "pack": "1 kg",
                "brand": "BigBasket",
                "image": "https://example.invalid/banana.png",
                "price": 45,
                "currency": "INR",
                "discount": 10,
                "position": 1,
                "availability": "in_stock",
                "regular_price": 55
            }
        ],
        "pincode": "110001",
        "page_count": 33,
        "has_next_page": true
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "search"
    },
    "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.