Oscaro Product
Oscaro Product API. Fetch full auto parts product data from an Oscaro product URL. Returns pricing, brand, reference, images and availability via browser rendering and JSON-LD parsing.
Credit cost: 2 credits per call
Autorización
ApiKeyAuth x-api-key<token>
Your API key. Include it in the x-api-key header for every request.
In: header
Parámetros de consulta
query*string
Oscaro product page URL (*-{sku}-p suffix).
Examples:
https://www.oscaro.com/huile-moteur-motul-102208-15213891-1862-phttps://www.oscaro.es/filtro-de-aceite-purflux-l343d-13644654-7-pRegion is auto-detected from the URL TLD.
return_page_source?boolean
When true, return the raw HTML page source as {"result": "..."} instead of structured JSON. Defaults to false.
Cuerpo de la respuesta
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v2/oscaro/product?query=string"{ "url": "https://www.oscaro.com/huile-moteur-motul-102208-15213891-1862-p", "brand": "MOTUL", "price": 13.28, "title": "MOTUL - SPECIFIC 0720 5W-30 1L - ref. 102208 - Huile moteur", "images": [ "https://oscaro.media/catalog/images/oscjpg/normal/1114/specific 0720 5w30 1l.jpg" ], "currency": "EUR", "in_stock": true, "image_url": "https://oscaro.media/catalog/images/oscjpg/normal/1114/specific 0720 5w30 1l.jpg", "reference": "102208", "product_id": "15213891"}{ "error": "Bad Request"}{ "error": "Invalid API Key"}{ "error": "Payment required"}{ "error": "Rate limit exceeded for the API key: quota monthly"}{ "error": "Internal Error"}