Piloterr

Zalando Search

Utiliser en masse avec DataflowLancez cet endpoint sur un fichier ou une liste, une fois ou selon une planification.

GET
/v2/zalando/search

Search a Zalando country shop. region is the host suffix (at, be, bg, ch, co.uk, cz, de, dk, ee, es, fi, fr, gr, hr, hu, ie, it, lt, lu, lv, nl, no, pl, pt, ro, se, si, sk). A keyword opens that shop. A full URL keeps its host.

Credit cost: 1 credit per call

Authentification

ApiKeyAuth
headerx-api-key<token>

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

Paramètres de requête

query*string

Keyword or Zalando catalogue URL. A keyword is searched on the region shop. A full URL keeps its host. .co.uk /catalogue/ is read as /catalog/.

region?string

Host suffix of the Zalando shop. A keyword opens www.zalando.{region} on that shop's catalogue path. A full URL keeps its host. One of at, be, bg, ch, co.uk, cz, de, dk, ee, es, fi, fr, gr, hr, hu, ie, it, lt, lu, lv, nl, no, pl, pt, ro, se, si, sk.

Default"fr"
page?number

Page number, starting at 1. Sent as p.

return_page_source?boolean

Return the page HTML instead of the parsed results.

Defaultfalse
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

Corps de la réponse

Successful response

application/json
  1. response
results?array<>
pagination?
Example Request
curl -X GET 'https://api.piloterr.com/v2/zalando/search?query=string'
Example Response
{
  "results": [
    {
      "id": "N1244D06L-A11",
      "url": "https://www.zalando.fr/nike-performance-everyday-cush-crew-3-pack-chaussettes-de-sport-whiteblack-n1244d06l-a11.html",
      "name": "EVERYDAY CUSH CREW 3 PACK UNISEX - Chaussettes de sport - white/black",
      "brand": "Nike Performance",
      "image": "https://img01.ztat.net/article/spp-media-p1/61af5ef973313caa84bd0eab4448c480/fa7bc32354504183b91b4485f5b1a515.jpg?imwidth=400",
      "price": 12,
      "currency": "EUR",
      "price_display": "12,00 €",
      "compare_at_price": 14.95,
      "compare_at_price_display": "14,95 €"
    },
    {
      "id": "NI112N022-A11",
      "url": "https://www.zalando.fr/nike-sportswear-air-force-1-07-baskets-basses-white-ni112n022-a11.html",
      "name": "AIR FORCE 1 07 - Baskets basses - white",
      "brand": "Nike Sportswear",
      "price": 83.95,
      "currency": "EUR",
      "price_display": "83,95 €",
      "compare_at_price": 119.95,
      "compare_at_price_display": "119,95 €"
    }
  ],
  "pagination": {
    "next": "https://www.zalando.fr/nike/?p=2",
    "page": 1,
    "per_page": 24,
    "total_pages": 151,
    "total_results": 12634
  }
}