Piloterr

Elko Product

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

GET
/v2/elko/product

One product on elko.is. query is the full product URL.

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
return_page_source?boolean

Return the page HTML instead of the parsed product

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
sku?string
url?string
name?string
image?string
price?integer
currency?string
price_display?string
Example Request
curl -X GET 'https://api.piloterr.com/v2/elko/product?query=string'
Example Response
{
  "sku": "MFHP4ZMA",
  "url": "https://elko.is/vorur/apple-airpods-pro-3-406385/MFHP4ZMA",
  "name": "Apple Airpods Pro 3 þráðlaus heyrnartól",
  "image": "https://media.backend.elko.is/products/mfhp4zma_l.webp",
  "price": 40496,
  "currency": "ISK",
  "price_display": "40.496 kr."
}