Piloterr

Elkjop Search

Use in bulk with DataflowRun this endpoint over a file or a list, once or on a schedule.

GET
/v2/elkjop/search

Search Elgiganten Denmark, Elgiganten Sweden, or Elkjøp Norway. query is a product keyword such as hovedtelefoner, or a full search URL. region is dk, se, or no and defaults to dk. page starts at 1. Prices stay in DKK, SEK, or NOK.

Credit cost: 1 credit per call

Authorization

ApiKeyAuth
headerx-api-key<token>

Your API key. Include it in the x-api-key header for every request.

Query Parameters

query*string

Product keyword, or a full search URL on elgiganten.dk, elgiganten.se, or elkjop.no. Default is empty, which is rejected. Example: hovedtelefoner

region?string

Shop region when query is a keyword: dk, se, or no. Default dk. A full URL selects its own shop. Example: dk

Default"dk"
page?number

Results page, starting at 1. Default is the first page, or the page already present in a search URL. Example: 2

return_page_source?boolean

Return the page HTML instead of the parsed results. Default false. Example: false

fields?string

Comma-separated list of response fields to return, with dot notation for nested fields (e.g. name,location.city).

is_async?boolean

Run the request as a background job: the API answers 202 with a job_id to poll on GET /v1/jobs/{id}.

Defaultfalse
soft_fail?boolean

Return HTTP 200 even when the request fails; the error is in the error field of the body.

Defaultfalse

Response Body

Successful response

application/json
  1. response
results?array<>
pagination?
Example Request
curl -X GET 'https://api.piloterr.com/v2/elkjop/search?query=string'
Example Response
{
  "results": [
    {
      "sku": "1130695",
      "url": "https://www.elgiganten.dk/product/tv-lyd-smart-home/horetelefoner-tilbehor/horetelefoner/sony-wh-1000xm4c-tradlose-over-ear-hovedtelefoner-sort/1130695",
      "name": "Sony WH-1000XM4C trådløse over-ear hovedtelefoner (sort)",
      "price": 1390,
      "region": "dk",
      "currency": "DKK",
      "price_display": "1.390,00 kr."
    }
  ],
  "pagination": {
    "next": "https://www.elgiganten.dk/search/page-2?q=sony",
    "page": 1,
    "per_page": 48,
    "total_pages": 32,
    "total_results": 4832
  }
}