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

[APIs](https://perceptlayer.com/apis) / [Empik](https://perceptlayer.com/apis/empik) / Categories

# Empik: Categories

Categories from Empik as JSON. 1 credit per successful call.

GET `/v1/empik/categories`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `q` | string | Required | Up to 100 characters |

## Example request

Empik

GET /v1/empik/categories?q=wiedzmin 

```
{
  "success": true,
  "query": "wiedzmin",
  "categories": [
    {
      "id": "31",
      "name": "Książki",
      "url": "/ksiazki,31,s",
      "product_count": 103,
      "image": "https://ecsmedia.pl/cir/p/ostatnie-zyczenie-wiedzmin-tom-1-ZDJECIE_OKLADKI_PRZOD_DUZY/2769/14635633335352769.webp"
    },
    {
      "id": "3763",
      "name": "Gry",
      "url": "/zabawki/gry,3763,s",
      "product_count": 64,
      "image": "https://ecsmedia.pl/cir/p/wiedzmin-stary-swiat-gra-planszowa-rebel-6316217560698014611/96d085d113ff4066a7b751d3b372f7d5.webp"
    },
    {
      "id": "3421",
      "name": "Gadżety gamingowe",
      "url": "/gaming-i-programy/gadzety-gamingowe,3421,s",
      "product_count": 23,
      "image": "https://ecsmedia.pl/cir/p/brelok-the-witcher-wiedzmin-medalion-szkoly-wilka-4959381990687327973/309fa1c5bcb544f882ac5ab6e63ef1b2.webp"
    }
  ],
  "returned": 5,
  "meta": {
    "endpoint_family": "categories",
    "attempts": 1
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded 30 Nov 2026 and shortened.

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

## Response fields

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

| Field | Type |
| --- | --- |
| `id` | string |
| `name` | string |
| `url` | string |
| `product_count` | integer |
| `image` | url |
