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

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

# Hepsiburada: Search

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

GET `/v1/hepsiburada/search`

## Parameters

Send parameters in the query string.

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

## Example request

Hepsiburada

GET /v1/hepsiburada/search?query=telefon 

```
{
  "success": true,
  "data": {
    "query": "telefon",
    "page": 1,
    "per_page": 36,
    "items": [
      {
        "position": 1,
        "id": "HBCV0000G8HWAN",
        "product_id": "HBC0000G8HWAA",
        "name": "Samsung Galaxy A27 5g 256 GB 8 GB Ram (Samsung Türkiye Garantili) Siyah",
        "brand": {
          "name": "Samsung"
        },
        "category": {},
        "url": "https://www.hepsiburada.com/samsung-galaxy-a27-5g-256-gb-8-gb-ram-samsung-turkiye-garantili-siyah-p-HBCV0000G8HWAN",
        "price": {
          "current": 21297.08,
          "original": 21297.08,
          "discount_percent": 0,
          "currency": "TRY"
        },
        "rating": {
          "average": 4.6,
          "count": 218
        },
        "images": [
          "https://productimages.hepsiburada.net/s/777/1500-1500/110002101349613.jpg",
          "https://productimages.hepsiburada.net/s/777/1500-1500/110002101349612.jpg",
          "https://productimages.hepsiburada.net/s/777/1500-1500/110002105043655.jpg"
        ],
        "in_stock": true
      },
      {
        "position": 2,
        "id": "HBCV00004X9ZCK",
        "product_id": "HBC00004X9ZCG",
        "name": "Apple iPhone 15 128 GB Mavi",
        "brand": {
          "name": "Apple"
        },
        "category": {},
        "url": "https://www.hepsiburada.com/apple-iphone-15-128-gb-mavi-p-HBCV00004X9ZCK",
        "price": {
          "current": 56456.08,
          "original": 57603.58,
          "discount_percent": 2,
          "currency": "TRY"
        },
        "rating": {
          "average": 4.8,
          "count": 13135
        },
        "images": [
          "https://productimages.hepsiburada.net/s/462/1500-1500/110000498600869.jpg",
          "https://productimages.hepsiburada.net/s/462/1500-1500/110000498582819.jpg",
          "https://productimages.hepsiburada.net/s/462/1500-1500/110000498588131.jpg"
        ],
        "in_stock": true
      },
      {
        "position": 3,
        "id": "HBCV00009Z3Z8C",
        "product_id": "HBC00009Z3SG3",
        "name": "Apple iPhone 17 Pro Max 256 GB Kozmik Turuncu",
        "brand": {
          "name": "Apple"
        },
        "category": {},
        "url": "https://www.hepsiburada.com/apple-iphone-17-pro-max-256-gb-kozmik-turuncu-p-HBCV00009Z3Z8C",
        "price": {
          "current": 114999,
          "original": 114999,
          "discount_percent": 0,
          "currency": "TRY"
        },
        "rating": {
          "average": 4.6,
          "count": 2247
        },
        "images": [
          "https://productimages.hepsiburada.net/s/777/1500-1500/110001191549951.jpg",
          "https://productimages.hepsiburada.net/s/777/1500-1500/110001192128431.jpg",
          "https://productimages.hepsiburada.net/s/777/1500-1500/110001192128432.jpg"
        ],
        "in_stock": true
      }
    ],
    "total_results": 10000,
    "total_capped": true,
    "has_next_page": true
  },
  "meta": {
    "endpoint_family": "search",
    "retryable": false,
    "request_id": "req_93d1918e5b3349fab4c90c1ebac778e2",
    "credits_charged": 1,
    "credits_remaining": 995
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded from our API and shortened.

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

## Response fields

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

| Field | Type |
| --- | --- |
| `position` | integer |
| `id` | string |
| `product_id` | string |
| `name` | string |
| `brand` | object |
| `category` | object |
| `url` | url |
| `price` | object |
| `rating` | object |
| `images` | string\[\] |
| `in_stock` | boolean |
