Ir al contenido
GET /v1/product

Product by barcode

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/beauty-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

curl "https://api.oanor.com/beauty-api/v1/product" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/beauty-api/v1/product", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/beauty-api/v1/product");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/beauty-api/v1/product",
    headers={"x-oanor-key": "oanor_test_..."}
)

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "data": {
        "product": {
            "name": "Coconut Milk",
            "brands": [
                "Herbal Essences"
            ],
            "labels": [],
            "barcode": "8001090662231",
            "obf_url": "https://world.openbeautyfacts.org/product/8001090662231",
            "analysis": {
                "tags": [
                    "palm-oil-free",
                    "vegan-status-unknown",
                    "vegetarian-status-unknown"
                ],
                "vegan": null,
                "palm_oil_free": true
            },
            "quantity": "400 ml",
            "countries": [],
            "image_url": "https://images.openbeautyfacts.org/images/products/800/109/066/2231/front_fr.11.400.jpg",
            "categories": [],
            "ingredients_text": "Aqua, Sodium Laureth Sulfate, Cocamidopropyl Betaine, Sodium Lauryl Sulfate, Sodium Citrate, Sodium Chloride, Sodium Xylenesulfonate, Stearyl Alcohol, Parfum, Cetyl Alcohol, Glycerin, Glycol Distearate, Dimethiconol, Citric Acid, Sodium Benzoate, Dimethicone, Guar Hydroxypropyltrimonium Chloride, Hexyl Cinnamal, Tetrasodium EDTA, Sodium Hydroxide, TEA-Dodecylbenzenesulfonate, Polyquaternium-6, Trihydroxystearin, Trideceth-10, Histidine, Benzyl Salicylate, Propylene Glycol, Limonene, Linalool, Butylene Glycol, Magnesium Nitrate, Aloe Barbadensis Leaf Juice, Alcohol Denat., Zea Mays Silk Extract, Cocos Nucifera Fruit Extract, Methylchloroisothiazolinone, Magnesium Chloride, Triethylene Glycol, Benzyl Alcohol, Methylisothiazolinone, Ecklonia Radiata Extract",
            "ingredients_count": 41,
            "periods_after_opening": null
        }
    },
    "meta": {
        "timestamp": "2026-05-31T15:22:25.770Z",
        "request_id": "9eb024d6-5894-434a-a43c-8735862c89bf"
    },
    "status": "ok",
    "message": "Product retrieved",
    "success": true
}