Piloterr

Elko Search

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

GET
/v2/elko/search

Product search on elko.is. query is keywords such as iphone, or a full search URL. page starts at 1.

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 keywords or an elko.is search URL. Example: iphone

page?number

Page number, starting at 1. Example: 2

return_page_source?boolean

Return the page HTML instead of the parsed listing

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/elko/search?query=string'
Example Response
{
  "results": [
    {
      "sku": "MJXR4Q",
      "url": "https://elko.is/vorur/apple-iphone-18-pro-max-snjallsimi-443667/MJXR4Q",
      "name": "Apple iPhone 18 Pro Max snjallsími 256 GB - Ljósblár",
      "image": "https://media.backend.elko.is/products/mjxr4q_l.webp",
      "price": 249995,
      "currency": "ISK",
      "price_display": "249.995 kr."
    }
  ],
  "pagination": {
    "next": "https://elko.is/leit?q=iphone&page=2",
    "page": 1,
    "per_page": 24,
    "total_pages": 20,
    "total_results": 462
  }
}