Skip to content
Scrappa Get API key
JB Hi-Fi API 1 credit / request

JB Hi-Fi Categories API Documentation

GET https://scrappa.co/api/jbhifi/categories

JB Hi-Fi Categories API returns the public category tree. Pass a collection path to read that collection filter expression and facet names instead. The tree is cached and contains public navigation only.

Credits: 1 credit per successful request. Failed requests are not billed.

JB Hi-Fi Categories API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/jbhifi/categories
Auth header
x-api-key
Cost
1 credit / request
Response preview
200 OK
{
    "data": {
        "total": 1,
        "categories": [
            {
                "name": "TV & Audio",
                "handle": "tv-audio",
                "children": []
            }
        ]
    },
    "success": true
}

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

This endpoint has no required query parameters.

1 optional filter available.

path string Optional

Optional collection path or handle

Example value example

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data success
JSON Response
200 OK
{
    "data": {
        "total": 1,
        "categories": [
            {
                "name": "TV & Audio",
                "handle": "tv-audio",
                "children": []
            }
        ]
    },
    "success": true
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

422

HTTP 422

The request cannot be served as sent.

503

HTTP 503

JB Hi-Fi could not be reached. Please retry shortly.

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.