Piloterr

Mekonomen Search

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

GET
/v2/mekonomen/search

Car parts and accessories on mekonomen.se. query is a parts keyword such as oljefilter, or a full results URL. page starts at 1.

Credit cost: 2 credits 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

Parts keyword or a mekonomen.se search URL. Example: oljefilter

Default"oljefilter"
page?number

Page number, starting at 1. Example: 1

return_page_source?boolean

Return the page HTML instead of the parsed parts. 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/mekonomen/search?query=oljefilter'
Example Response
{
  "results": [
    {
      "sku": "12669993",
      "url": "https://www.mekonomen.se/oljefilter-mahle-12669993",
      "name": "Mahle Oljefilter, Filterinsats",
      "brand": "Mahle",
      "image": "https://d3mjciljhqng4h.cloudfront.net/media/catalog/product/cache/f228d0108581bd89b7a6b723c47a9604/6/6/6676636.jpg",
      "price": 173,
      "currency": "SEK",
      "price_display": "173 kr"
    }
  ],
  "pagination": {
    "next": "https://www.mekonomen.se/reservdelar/filter/oljefilter?page=2",
    "page": 1,
    "per_page": 12,
    "total_pages": 63,
    "total_results": 755
  }
}