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

[APIs](https://perceptlayer.com/apis) / [JB Hi-Fi](https://perceptlayer.com/apis/jbhifi) / Categories

# JB Hi-Fi: Categories

Categories from JB Hi-Fi as JSON. 1 credit per successful call.

GET `/v1/jbhifi/categories`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `path` | string | Optional | Up to 200 characters |

## Example request

JB Hi-Fi

GET /v1/jbhifi/categories 

```
{
  "success": true,
  "data": {
    "categories": [
      {
        "name": "New",
        "handle": "new-at-jb",
        "url": "https://www.jbhifi.com.au/blogs/new-at-jb"
      },
      {
        "name": "Products",
        "children": [
          {
            "name": "Computers & Tablets",
            "children": [
              "…",
              "…",
              "…"
            ]
          },
          {
            "name": "IT Accessories & PC Parts",
            "children": [
              "…",
              "…",
              "…"
            ]
          },
          {
            "name": "TVs & Home Theatre",
            "children": [
              "…",
              "…",
              "…"
            ]
          }
        ]
      },
      {
        "name": "Brands",
        "children": [
          {
            "name": "All featured brands",
            "handle": "brands",
            "url": "https://www.jbhifi.com.au/pages/brands"
          },
          {},
          {
            "name": "Apple",
            "handle": "apple",
            "url": "https://www.jbhifi.com.au/pages/apple"
          }
        ]
      }
    ],
    "total": 9,
    "source": "navigation"
  },
  "meta": {
    "endpoint_family": "categories",
    "upstream_lookups": 1,
    "request_id": "req_61c6cba83f6a46bfb503edf8f060a908",
    "credits_charged": 1,
    "credits_remaining": 4847
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded from our API and shortened.

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

## Response fields

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

| Field | Type |
| --- | --- |
| `name` | string |
| `handle` | string |
| `url` | url |
| `children` | object\[\] |
