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

[APIs](https://perceptlayer.com/apis) / [x-kom](https://perceptlayer.com/apis/x-kom) / Search

# x-kom: Search

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

GET `/v1/x-kom/search`

## Parameters

Send parameters in the query string.

Required Send `query` or `category`.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `query` | string | Optional | Up to 200 characters |
| `category` | string | Optional | Up to 12 characters |
| `page` | integer | Optional | Any |
| `page_size` | integer | Optional | Any |
| `sort` | string | Optional | Popularity desc |

## Example request

x-kom

GET /v1/x-kom/search?query=laptop&sort=Popularity+desc 

```
{
  "success": true,
  "data": {
    "items": [
      {
        "id": 1505049,
        "name": "Zasilacz Smart 330W",
        "producer": "HP",
        "producer_id": 4,
        "category": {
          "id": 1037,
          "name": "Zasilacz do laptopa"
        },
        "price": 199,
        "old_price": 396,
        "discount": 197,
        "currency": "PLN",
        "image": "https://cdn.x-kom.pl/i/produkt/product-large,,2026/2/pr_2026_2_27_13_22_12_636_00.jpg",
        "thumbnail": "https://cdn.x-kom.pl/i/produkt/product-small,,2026/2/pr_2026_2_27_13_22_12_636_00.jpg",
        "url": "https://www.x-kom.pl/p/1505049-zasilacz-do-laptopa-hp-zasilacz-smart-330w.html",
        "availability": "Available",
        "rating": 4.97,
        "rating_scale": "1-5",
        "review_count": 29,
        "feature_summary": [
          {
            "name": "Kompatybilność",
            "value": "HP"
          },
          {
            "name": "Moc",
            "value": "330 W"
          },
          {
            "name": "Rodzaj wtyczki",
            "value": "4,5 mm"
          }
        ]
      },
      {
        "id": 745323,
        "name": "64GB DataTraveler Exodia M USB 3.2 Gen 1",
        "producer": "Kingston",
        "producer_id": 59,
        "category": {
          "id": 315,
          "name": "Pendrive (pamięć USB)"
        },
        "price": 44.9,
        "currency": "PLN",
        "image": "https://cdn.x-kom.pl/i/produkt/product-large,,2022/5/pr_2022_5_11_10_39_6_182_02.jpg",
        "thumbnail": "https://cdn.x-kom.pl/i/produkt/product-small,,2022/5/pr_2022_5_11_10_39_6_182_02.jpg",
        "url": "https://www.x-kom.pl/p/745323-pendrive-pamiec-usb-kingston-64gb-datatraveler-exodia-m-usb-3.2-gen-1.html",
        "availability": "Available",
        "rating": 4.71,
        "rating_scale": "1-5",
        "review_count": 784,
        "feature_summary": [
          {
            "name": "Pojemność",
            "value": "64 GB"
          },
          {
            "name": "Interfejs",
            "value": "USB 3.2 Gen. 1"
          },
          {
            "name": "Dodatkowe informacje",
            "value": "Kompatybilność z Windows i Mac OS"
          }
        ]
      },
      {
        "id": 1366956,
        "name": "Zasilacz USB-C 65W",
        "producer": "Lenovo",
        "producer_id": 46,
        "category": {
          "id": 1037,
          "name": "Zasilacz do laptopa"
        },
        "price": 99,
        "currency": "PLN",
        "image": "https://cdn.x-kom.pl/i/produkt/product-large,,2025/10/pr_2025_10_3_13_45_6_10_00.jpg",
        "thumbnail": "https://cdn.x-kom.pl/i/produkt/product-small,,2025/10/pr_2025_10_3_13_45_6_10_00.jpg",
        "url": "https://www.x-kom.pl/p/1366956-zasilacz-do-laptopa-lenovo-zasilacz-usb-c-65w.html",
        "availability": "Available",
        "rating": 4.94,
        "rating_scale": "1-5",
        "review_count": 16,
        "feature_summary": [
          {
            "name": "Kompatybilność",
            "value": "Lenovo"
          },
          {
            "name": "Moc",
            "value": "65 W"
          },
          {
            "name": "Napięcie wyjściowe",
            "value": "5 V , 9 V , 15 V , 20 V"
          }
        ],
        "badges": [
          null
        ]
      }
    ],
    "pagination": {
      "current_page": 1,
      "per_page": 100,
      "total_results": 8414,
      "total_pages": 85,
      "has_next": true
    },
    "filters": {
      "query": "laptop",
      "sort": "Popularity desc",
      "page": 1,
      "page_size": 100
    },
    "currency": "PLN"
  },
  "meta": {
    "endpoint_family": "search",
    "request_id": "req_0c8cd1156d7c412a957b530d0996cedc",
    "credits_charged": 1,
    "credits_remaining": 4841
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded from our API and shortened.

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

## Response fields

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

| Field | Type |
| --- | --- |
| `items` | object\[\] |
| `pagination` | object |
| `currency` | string |
