Naar de inhoud
GET /v1/product

Product by barcode

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/beauty-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "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
}