Piloterr

Zooplus Search

Usar en masa con DataflowEjecuta este endpoint sobre un archivo o una lista, una vez o con una programación.

GET
/v2/zooplus/search

Search a Zooplus country shop by keyword. Region defaults to France. Page through food, litter, and accessory cards with local prices.

Credit cost: 1 credit per call

Autorización

ApiKeyAuth
headerx-api-key<token>

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

Parámetros de consulta

query*string

What to look for. A word, or a Zooplus search link.

Examples:

croquettes
https://www.zooplus.fr/search/results?q=croquettes

A product link returns 400.

region?string

Which country shop. fr is France (default, www.zooplus.fr). de is Germany (www.zooplus.de). uk is the United Kingdom (www.zooplus.co.uk).

A full link picks the shop from its address. If region names a different shop, the call returns 400. gb means uk.

Default"fr"
page?number

Which page of results, starting at 1. Page 2 uses p=2 and returns different products.

Range1 <= value
return_page_source?boolean

Set to true to get the raw HTML in result instead of the product list.

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

Cuerpo de la respuesta

Successful response

application/json
  1. response
results?array<>
pagination?
Example Request
curl -X GET 'https://api.piloterr.com/v2/zooplus/search?query=string'
Example Response
{
  "results": [
    {
      "sku": "46220.13",
      "url": "https://www.zooplus.fr/shop/chiens/croquettes_chien/eukanuba_special_breed_croquettes_chien/eukanuba_breed_nutrition_croquettes_chien/46220?activeVariant=46220.13",
      "unit": "kg",
      "brand": "Eukanuba",
      "price": 42.49,
      "title": "Eukanuba Adult Breed Care Berger Allemand",
      "region": "fr",
      "currency": "EUR",
      "in_stock": true,
      "image_url": "https://media.zooplus.com/bilder/7/400/169996_pla_tetragmbhiams_eukanuba_adult_breedspecific_deutscherschaeferhund_12kg_hs_01_7.jpg",
      "product_id": "46220",
      "unit_price": 3.54,
      "variant_id": "13",
      "price_display": "42,49 €",
      "variant_count": 4,
      "discount_label": "Économisez -10%",
      "reference_price": 62.99,
      "unit_price_display": "3,54 €",
      "variant_description": "12 kg",
      "reference_price_label": "Prix conseillé",
      "reference_price_display": "62,99 €"
    }
  ],
  "pagination": {
    "next": "https://www.zooplus.fr/search/results?q=croquettes&p=2",
    "page": 1,
    "per_page": 48,
    "total_pages": 183,
    "total_results": 8740
  }
}