---
title: "BigBasket API: Categories | Perceptlayer"
description: "Categories from BigBasket as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/bigbasket/categories
---

[APIs](https://perceptlayer.com/apis) / [BigBasket](https://perceptlayer.com/apis/bigbasket) / Categories

# BigBasket: Categories

Categories from BigBasket as JSON. 1 credit per successful call.

GET `/v1/bigbasket/categories`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `pincode` | string | Required | Up to 6 characters |

## Example request

BigBasket

GET /v1/bigbasket/categories?pincode=110001 

```
{
  "success": true,
  "data": {
    "pincode": "110001",
    "location": {
      "lat": "28.6139",
      "lng": "77.2090",
      "area": "Connaught Place",
      "city": "New Delhi",
      "pincode": "110001"
    },
    "count": 756,
    "categories": [
      {
        "id": "electronics",
        "path": "electronics",
        "name": "Electronics"
      },
      {
        "id": "electronics/audio-devices",
        "path": "electronics/audio-devices",
        "name": "Audio devices",
        "parent": "electronics"
      },
      {
        "id": "electronics/audio-devices/earbuds",
        "path": "electronics/audio-devices/earbuds",
        "name": "Earbuds",
        "parent": "electronics/audio-devices"
      }
    ]
  },
  "meta": {
    "endpoint_family": "categories"
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded 30 Nov 2026 and shortened.

[Run this endpoint in the playground](https://perceptlayer.com/apis/bigbasket?try=categories#playground) with your own parameters. 1 credit per successful call; failed calls are free.

## Response fields

`data` has these 3 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

| Field | Type |
| --- | --- |
| `pincode` | string |
| `location` | object |
| `categories` | object\[\] |
