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

[APIs](https://perceptlayer.com/apis) / [Elgiganten](https://perceptlayer.com/apis/elgiganten) / Search

# Elgiganten: Search

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

GET `/v1/elgiganten/search`

## Parameters

Send parameters in the query string.

Required Send `query` or `category`.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `site` | string | Optional | se, fi |
| `query` | string | Optional | Up to 200 characters |
| `category` | string | Optional | Up to 200 characters |
| `min_price` | number | Optional | Any |
| `max_price` | number | Optional | Any |
| `sort` | string | Optional | relevance, price\_asc, price\_desc, rating |
| `page` | integer | Optional | Any |

## Example request

Elgiganten

GET /v1/elgiganten/search?site=se&query=laptop&sort=relevance&page=1 

```
{
  "success": true,
  "data": {
    "items": [
      {
        "articleNumber": "1039022",
        "objectID": "1039022",
        "name": "Lenovo Chromebook 14M8911 MTK-540/4/64 14\" bärbar dator",
        "brand": "Lenovo",
        "price": {
          "amount": 2290,
          "currency": "SEK"
        },
        "amountExVat": 1832,
        "currency": "SEK",
        "rating": 5,
        "review_count": 1,
        "imageUrl": "https://next-media.elkjop.com/image/dv_web_D1800013894152/1039022/lenovo-chromebook-14m8911-mtk-540464-14-barbar-dator.jpg",
        "productUrl": "https://www.elgiganten.se/product/datorer-kontor/datorer/laptop/lenovo-chromebook-14m8911-mtk-540464-14-barbar-dator/1039022",
        "stock": {
          "stock_grade": "1",
          "is_online": true,
          "stores_with_stock_count": 69
        }
      },
      {
        "articleNumber": "1041816",
        "objectID": "1041816",
        "name": "Lenovo IdeaPad Slim 3 15AMN8 R5-40U/8GB/512GB/15.6\" bärbar dator",
        "brand": "Lenovo",
        "price": {
          "amount": 4990,
          "currency": "SEK"
        },
        "amountExVat": 3992,
        "currency": "SEK",
        "rating": 4,
        "review_count": 4,
        "imageUrl": "https://next-media.elkjop.com/image/dv_web_D180001419334/1041816/lenovo-ideapad-slim-3-15amn8-r5-40u8gb512gb156-barbar-dator.jpg",
        "productUrl": "https://www.elgiganten.se/product/datorer-kontor/datorer/laptop/lenovo-ideapad-slim-3-15amn8-r5-40u8gb512gb156-barbar-dator/1041816",
        "stock": {
          "stock_grade": "E",
          "is_online": true,
          "stores_with_stock_count": 25
        }
      },
      {
        "articleNumber": "1058451",
        "objectID": "1058451",
        "name": "HP Laptop 15 R5-7520U/16/512 15,6\" bärbar dator",
        "brand": "HP",
        "price": {
          "amount": 6390,
          "currency": "SEK"
        },
        "amountExVat": 5112,
        "currency": "SEK",
        "imageUrl": "https://next-media.elkjop.com/image/dv_web_D18000138433159/1058451/hp-laptop-15-r5-7520u16512-156-barbar-dator.jpg",
        "productUrl": "https://www.elgiganten.se/product/datorer-kontor/datorer/laptop/hp-laptop-15-r5-7520u16512-156-barbar-dator/1058451",
        "stock": {
          "stock_grade": "E",
          "is_online": true,
          "stores_with_stock_count": 81
        }
      }
    ],
    "pagination": {
      "current_page": 1,
      "per_page": 11,
      "total_items": 1794,
      "total_pages": 137,
      "has_more": true
    },
    "filters": {
      "site": "se",
      "query": "laptop",
      "sort": "relevance"
    },
    "currency": "SEK"
  },
  "meta": {
    "endpoint_family": "search",
    "request_id": "req_c83a0d1f7e5c44f0a44223d934f4399e",
    "credits_charged": 1,
    "credits_remaining": 4936
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded from our API and shortened.

[Run this endpoint in the playground](https://perceptlayer.com/apis/elgiganten?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 |
