> ## Documentation Index
> Fetch the complete documentation index at: https://docs.scrapebadger.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Store Categories

> The display-category tree of a Naver SmartStore / Brand Store storefront.

Fetch the **display-category tree** of a storefront — the seller-defined categories shoppers browse the store by, returned recursively with level and sort order.

**Credits:** 5

## Authorization

**X-API-Key** `string` *required*

Your ScrapeBadger API key.

## Path Parameters

**store\_url** `string` *required*

Storefront slug.

## Query Parameters

**host** `string` (default: smartstore)

Storefront host: `smartstore` or `brand`.

## Response

**store\_url** `string`

**host** `string`

**result\_count** `integer`

**categories** `Category[]`

Display categories.

**Category**

**category\_id** `string`

**parent\_category\_id** `string`

**name** `string`

**level** `integer`

**sort\_order** `integer`

**all\_product\_category** `boolean`

Whether this is the catch-all “전체상품” node.

**exposure** `boolean`

**type** `string`

## Example

```bash cURL theme={null}
curl "https://scrapebadger.com/v1/naver/stores/plusink/categories?host=smartstore" \
  -H "X-API-Key: YOUR_API_KEY"
```

```javascript Node.js theme={null}
const res = await fetch(
  "https://scrapebadger.com/v1/naver/stores/plusink/categories?" +
    new URLSearchParams({"host": "smartstore"}),
  { headers: { "X-API-Key": process.env.SCRAPEBADGER_API_KEY } },
);
const data = await res.json();
```

```python Python theme={null}
import requests

res = requests.get(
    "https://scrapebadger.com/v1/naver/stores/plusink/categories",
    headers={"X-API-Key": "YOUR_API_KEY"},
    params={"host": "smartstore"},
)
data = res.json()
```

```json Response theme={null}
{
  "store_url": "plusink",
  "host": "smartstore",
  "result_count": 4,
  "categories": [
    {
      "category_id": "1000000001",
      "parent_category_id": null,
      "name": "전체상품",
      "level": 1,
      "sort_order": 0,
      "all_product_category": true,
      "exposure": true,
      "type": "MANUAL"
    }
  ]
}
```

## Errors

| Status | Meaning |
| - | - |
| `404` | The requested resource does not exist or has been removed. |
| `422` | Naver served a challenge instead of content — **not billed**. Retry; it succeeds. |
| `502` | Unexpected upstream failure — **not billed**. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.