Piloterr

Cultura Product

GET
/v2/cultura/product

Read one Cultura product from its URL or SKU. You get price, EAN, seller, condition, and stock wording.

Credit cost: 2 credits per call

Autorização

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

Link of the Cultura product page.

Example:

https://www.cultura.com/p-harry-potter-et-le-prisonnier-d-azkaban-illustre-par-minalima-9782075193993.html

A search link returns 400.

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

Corpo da resposta

Successful response

application/json
  1. response
ean?string
sku?string
url?string
name?string
badge?string
brand?string
image?string
price?number
images?array<string>
seller?string
currency?string
condition?string
breadcrumbs?array<>
description?string
availability?string
contributors?array<>
price_display?string
favorite_count?integer
Example Request
curl -X GET 'https://api.piloterr.com/v2/cultura/product?query=string'
Example Response
{  "ean": "9782075193993",  "sku": "10016146",  "url": "https://www.cultura.com/p-harry-potter-et-le-prisonnier-d-azkaban-illustre-par-minalima-9782075193993.html",  "name": "Harry Potter Tome 3 : Harry Potter et le prisonnier d'Azkaban",  "badge": "Coup de cœur",  "brand": "J. K. Rowling",  "image": "https://cdn.cultura.com/media/pim/10016146_10vq8xg2_1_e5a37",  "price": 42.5,  "images": [    "https://cdn.cultura.com/media/pim/10016146_10vq8xg2_1_e5a37",    "https://cdn.cultura.com/media/pim/10016146_15393428",    "https://cdn.cultura.com/media/pim/10016146_image_type_open_view_SODIS_10_FR_7cbe7",    "https://cdn.cultura.com/media/pim/9782075193993_11.jpg",    "https://cdn.cultura.com/media/pim/9782075193993_8.jpg",    "https://cdn.cultura.com/media/pim/9782075193993_9.jpg",    "https://cdn.cultura.com/media/pim/10016146_81758431"  ],  "seller": "Cultura",  "currency": "EUR",  "condition": "Neuf",  "breadcrumbs": [    {      "url": "https://www.cultura.com/",      "name": "Accueil"    },    {      "url": "https://www.cultura.com/univers-enfant.html",      "name": "Enfant"    },    {      "url": "https://www.cultura.com/univers-enfant/livres-enfant.html",      "name": "Livres Enfants"    },    {      "url": "https://www.cultura.com/univers-enfant/livres-enfant/livres-des-9-ans.html",      "name": "Livres pour enfants de 9 à 11 ans"    },    {      "url": null,      "name": "Harry Potter Tome 3 : Harry Potter et le prisonnier d'Azkaban"    }  ],  "description": "Sublimes illustrations en couleurs et huit prouesses d'ingénierie papier interactives : une édition unique du deuxième tome de la saga Harry Potter et un précieux cadeau pour les fans de tous âges. Depuis douze longues années, l'infâme criminel Sirius Black, partisan de Lord Voldemort et reconnu coupable d'avoir tué treize personnes d'un coup, était enfermé dans la forteresse d'Azkaban. Mais il s'est évadé et il recherche Harry Potter. Les gardiens de la prison l'ont entendu murmurer dans son sommeil : \"Il est à Poudlard...\" Malgré les défenses magiques de l'école de sorcellerie, Harry Potter n'est en sécurité nulle part, même entouré de ses amis... car un traitre pourrait bien se cacher parmi eux.",  "availability": "en stock Cultura",  "contributors": [    {      "name": "J. K. Rowling",      "role": "Auteur"    },    {      "name": "Minalima",      "role": "Illustrateur"    }  ],  "price_display": "42,50 €",  "favorite_count": 6}