Skip to content
Scrappa Get API key
Albert Heijn API 1 credit / request

Albert Heijn Categories API Documentation

GET https://scrappa.co/api/albert-heijn/categories

Albert Heijn Categories API returns public taxonomy ids and names for product search. Each id can be sent unchanged as taxonomyId to the search route. This is the public id source for Albert Heijn data.

Send a search term to receive the public taxonomy ids for that term. These ids are accepted unchanged by the search route. Costs 1 credit per successful request. Failed and empty answers are free.

Albert Heijn Categories API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/albert-heijn/categories
Auth header
x-api-key
Cost
1 credit / request
query = coffee shops
Response preview
200 OK
{
    "data": {
        "count": 1,
        "categories": [
            {
                "id": "1000",
                "name": "Groente, aardappelen",
                "parent_id": null
            }
        ]
    },
    "meta": {
        "credits": 1,
        "billable": true,
...

Parameters

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

Runnable path

1 required parameter needed before sending a request.

query string Required

Search term whose public taxonomy ids are returned

Example value coffee shops

Response Schema

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

Example response fields

Scan these fields before integrating.

data meta success
JSON Response
200 OK
{
    "data": {
        "count": 1,
        "categories": [
            {
                "id": "1000",
                "name": "Groente, aardappelen",
                "parent_id": null
            }
        ]
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "categories"
    },
    "success": true
}

Errors

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

503

Data unavailable

The source could not be reached. Not billed.

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.