# BigBasket Product API Documentation

<p><strong>BigBasket Product API</strong> returns one product by the id or absolute_url from a search result. The response has INR price, MRP, discount, pack, availability, full-size image, rating and pack variants.</p><p>A required six-digit pincode keeps the answer tied to that delivery location. Costs 1 credit per successful request. Failed requests are free.</p>

- **Documentation:** [https://scrappa.co/docs/bigbasket-api/bigbasket_product](https://scrappa.co/docs/bigbasket-api/bigbasket_product)
- **API group:** BigBasket API
- **Endpoint:** `GET https://scrappa.co/api/bigbasket/product`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | Yes | Id or absolute_url from a BigBasket search result |
| `pincode` | string | Yes | Supported six-digit Indian delivery pincode |

## Example response

```json
{
    "data": {
        "pincode": "110001",
        "product": {
            "id": "/pd/71794/banana-robusta",
            "name": "Banana Robusta",
            "pack": "1 kg",
            "brand": "BigBasket",
            "price": 45,
            "currency": "INR",
            "availability": "in_stock"
        }
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "product"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 404 | Not found | The product id was not found. Not billed. |
| 503 | Upstream unavailable | BigBasket could not be reached. Not billed. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
