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

[APIs](https://perceptlayer.com/apis) / [Hepsiburada](https://perceptlayer.com/apis/hepsiburada) / Categories

# Hepsiburada: Categories

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

GET `/v1/hepsiburada/categories`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `query` | string | Required | Up to 120 characters |
| `brand` | string | Optional | Up to 80 characters |

## Example request

Hepsiburada

GET /v1/hepsiburada/categories?query=telefon 

```
{
  "success": true,
  "data": {
    "query": "telefon",
    "facet_groups": [
      {
        "id": "markalar",
        "name": "Marka",
        "values": [
          {
            "id": "samsung",
            "name": "Samsung",
            "href": "/samsung"
          },
          {
            "id": "xiaomi",
            "name": "Xiaomi",
            "href": "/xiaomi"
          },
          {
            "id": "apple",
            "name": "Apple",
            "href": "/apple"
          }
        ]
      }
    ],
    "brands": [
      {
        "id": "samsung",
        "name": "Samsung",
        "href": "/samsung"
      },
      {
        "id": "xiaomi",
        "name": "Xiaomi",
        "href": "/xiaomi"
      },
      {
        "id": "apple",
        "name": "Apple",
        "href": "/apple"
      }
    ]
  },
  "meta": {
    "endpoint_family": "categories",
    "retryable": false
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded 18 Nov 2026 and shortened.

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

## Response fields

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

| Field | Type |
| --- | --- |
| `id` | string |
| `name` | string |
| `href` | string |
