APIs / x-kom / Categories

x-kom: Categories

Categories from x-kom as JSON. 1 credit per successful call.

GET /v1/x-kom/categories

Parameters

This endpoint takes no parameters.

Example request

x-kom
GET/v1/x-kom/categories
{
  "success": true,
  "data": {
    "categories": [
      {
        "id": 1592,
        "name": "Akcesoria GSM",
        "products_count": 13175,
        "image": "https://cdn.x-kom.pl/i/img/category/large,,cat_2021-12-15_13_44_30_915.jpg",
        "parent_group": {
          "id": 12,
          "name": "Akcesoria"
        },
        "children": [
          {
            "id": 1836,
            "name": "Etui / obudowa na smartfona",
            "products_count": 7269
          },
          {
            "id": 2069,
            "name": "Folia / szkło na smartfon",
            "products_count": 1997
          },
          {
            "id": 1837,
            "name": "Ładowarka do smartfonów",
            "products_count": 847
          }
        ]
      },
      {
        "id": 3464,
        "name": "Ochrona na telefon",
        "products_count": 9266,
        "image": "https://cdn.x-kom.pl/i/img/category/large,,cat_26.01.2026_14_54_36_451.png",
        "parent_group": {
          "id": 4,
          "name": "Smartfony i smartwatche"
        },
        "children": [
          {
            "id": 1836,
            "name": "Etui / obudowa na smartfona",
            "products_count": 7269
          },
          {
            "id": 2069,
            "name": "Folia / szkło na smartfon",
            "products_count": 1997
          }
        ]
      },
      {
        "id": 159,
        "name": "Laptop/Notebook/Ultrabook",
        "products_count": 4143,
        "image": "https://cdn.x-kom.pl/i/img/category/large,,cat_2022-04-05_13_46_0_161.png",
        "parent_group": {
          "id": 2,
          "name": "Laptopy i komputery"
        },
        "children": [
          {
            "id": 1522,
            "name": "Laptop 15\" - 16\"",
            "products_count": 2681
          },
          {
            "id": 3524,
            "name": "Laptop biznesowy",
            "products_count": 944,
            "image": "https://cdn.x-kom.pl/i/img/category/large,,cat_2022-04-05_13_25_41_515.png"
          },
          {
            "id": 2980,
            "name": "Laptop 14\"",
            "products_count": 781
          }
        ]
      }
    ]
  },
  "meta": {
    "endpoint_family": "categories"
  }
}
200 OKJSONX-Credits-Used: 1
Recorded 30 Nov 2026 and shortened.

Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.

Response fields

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

FieldType
idinteger
namestring
products_countinteger
imageurl
parent_groupobject
childrenobject[]