---
title: "Alza API: Facets | Perceptlayer"
description: "Facets from Alza as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/alza/facets
---

[APIs](https://perceptlayer.com/apis) / [Alza](https://perceptlayer.com/apis/alza) / Facets

# Alza: Facets

Facets from Alza as JSON. 1 credit per successful call.

GET `/v1/alza/facets`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `country` | string | Optional | CZ, SK |
| `category_id` | integer | Required | Any |

## Example request

Alza

GET /v1/alza/facets?category\_id=18842920 

```
{
  "success": true,
  "data": {
    "category_id": 18842920,
    "facets": {
      "floorId": 0,
      "params": [
        {
          "groups": [
            "…",
            "…",
            "…"
          ],
          "groups_cnt": 19
        }
      ],
      "params_cnt": 1,
      "producers": [
        {
          "v": 1627,
          "id": 0,
          "artId": 0,
          "cnt": 1871,
          "desc": "Apple",
          "imgUrl": "https://image.alza.cz/Foto/vyrobci/apple_6.png",
          "isImportant": false,
          "selected": false,
          "visibility": true
        },
        {
          "v": 1776,
          "id": 0,
          "artId": 0,
          "cnt": 605,
          "desc": "Lenovo",
          "imgUrl": "https://image.alza.cz/Foto/vyrobci/lenovo_2.png",
          "isImportant": false,
          "selected": false,
          "visibility": true
        },
        {
          "v": 1354,
          "id": 0,
          "artId": 0,
          "cnt": 389,
          "desc": "Acer",
          "imgUrl": "https://image.alza.cz/Foto/vyrobci/acer.png",
          "isImportant": false,
          "selected": false,
          "visibility": true
        }
      ],
      "branches": [
        {
          "id": 2,
          "name": "Brno - Střed"
        },
        {
          "id": 8,
          "name": "Ostrava"
        },
        {
          "id": 78,
          "name": "Plzeň"
        }
      ],
      "producers_cnt": 17,
      "producerLabel": "Značka",
      "prices": [
        {
          "k": 4689.9999,
          "v": "4 690,-"
        },
        {
          "k": 10000,
          "v": "10 000,-"
        },
        {
          "k": 20000,
          "v": "20 000,-"
        }
      ],
      "hideCommodityAvailabilityFilter": false,
      "hideCommodityStatusFilter": false,
      "err": 0,
      "favCnt": 0,
      "basket_cnt": 0,
      "basket_total_cnt": 0,
      "user_name": "",
      "user_id": -1,
      "vzt": 2809284186281473,
      "countryID": 0,
      "countryPhonePrefix": "420",
      "premiumBooks": 0,
      "premiumDelivery": 0,
      "premiumRenew": false,
      "serverTime": 1796044455
    },
    "country": "CZ"
  },
  "meta": {
    "upstream_lookups": 1,
    "attempts": 1,
    "duration_ms": 976
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded 30 Nov 2026 and shortened.

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

## Response fields

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

| Field | Type |
| --- | --- |
| `category_id` | integer |
| `country` | string |
