BigBasket: Search
Search from BigBasket as JSON. 1 credit per successful call.
GET /v1/bigbasket/search
Parameters
Send parameters in the query string.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
path | string | Required | Up to 180 characters |
pincode | string | Required | Up to 6 characters |
page | integer | Optional | Any |
Example request
BigBasket
GET/v1/bigbasket/search?path=fruits-vegetables&pincode=110001
{
"success": true,
"data": {
"path": "fruits-vegetables",
"pincode": "110001",
"location": {
"lat": "28.6139",
"lng": "77.2090",
"area": "Connaught Place",
"city": "New Delhi",
"pincode": "110001"
},
"page": 1,
"page_count": 33,
"count": 48,
"has_next_page": true,
"items": [
{
"position": 1,
"id": "/pd/10000149/fresho-onion-2-kg/",
"product_id": "10000149",
"name": "Onion",
"brand": "fresho!",
"pack": "2 kg",
"url": "https://www.bigbasket.com/pd/10000149/fresho-onion-2-kg/",
"image": "https://www.bbassets.com/media/uploads/p/l/10000149_15-fresho-onion.jpg",
"availability": "in_stock",
"ean_code": "10000149",
"pincode": "110001",
"price": 144,
"regular_price": 191.25,
"discount": 47.25,
"currency": "INR"
},
{
"position": 2,
"id": "/pd/10000203/fresho-tomato-local-1-kg/",
"product_id": "10000203",
"name": "Local Tomato",
"brand": "fresho!",
"pack": "1 kg",
"url": "https://www.bigbasket.com/pd/10000203/fresho-tomato-local-1-kg/",
"image": "https://www.bbassets.com/media/uploads/p/l/10000203_19-fresho-tomato-local.jpg",
"availability": "in_stock",
"ean_code": "10000203",
"pincode": "110001",
"price": 29.6,
"regular_price": 37,
"discount": 7.4,
"currency": "INR"
},
{
"position": 3,
"id": "/pd/10000099/fresho-coriander-leaves-500-g/",
"product_id": "10000099",
"name": "Coriander Leaves Without Roots",
"brand": "fresho!",
"pack": "500 g",
"url": "https://www.bigbasket.com/pd/10000099/fresho-coriander-leaves-500-g/",
"image": "https://www.bbassets.com/media/uploads/p/l/10000099_11-fresho-coriander-leaves.jpg",
"availability": "in_stock",
"ean_code": "10000099",
"pincode": "110001",
"price": 114,
"regular_price": 232.5,
"discount": 118.5,
"currency": "INR"
}
]
},
"meta": {
"endpoint_family": "search",
"request_id": "req_507881c7c92b4fa087d817787e168674",
"credits_charged": 1,
"credits_remaining": 4971
}
}200 OKJSONX-Credits-Used: 1
Recorded from our API and shortened.
Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.
Response fields
data has these 5 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.
| Field | Type |
|---|---|
path | string |
pincode | string |
location | object |
page_count | integer |
items | object[] |