Elko Product
Mit Dataflow in großen Mengen nutzenFühren Sie diesen Endpunkt über eine Datei oder eine Liste aus, einmalig oder nach Zeitplan.
One product on elko.is. query is the full product URL.
Credit cost: 1 credit per call
ApiKeyAuthx-api-key<token>Your API key. Include it in the x-api-key header for every request.
query*stringFull elko.is product URL. Example: https://elko.is/vorur/apple-airpods-pro-3-406385/MFHP4ZMA
return_page_source?booleanReturn the page HTML instead of the parsed product
fields?stringComma-separated list of response fields to return, with dot notation for nested fields (e.g. name,location.city).
is_async?booleanRun the request as a background job: the API answers 202 with a job_id to poll on GET /v1/jobs/{id}. The call is billed once, when the job completes. fields does not apply to asynchronous results.
falsesoft_fail?booleanReturn HTTP 200 even when the request fails; the error is in the error field of the body. Billing is unchanged: a billable error (e.g. 404) is still charged.
falseSuccessful response
application/json- response
sku?stringurl?stringname?stringimage?stringprice?integercurrency?stringprice_display?stringcurl -X GET 'https://api.piloterr.com/v2/elko/product?query=https%3A%2F%2Felko.is%2Fvorur%2Fapple-airpods-pro-3-406385%2FMFHP4ZMA'{
"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."
}