/v1/product
Product by barcode
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
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_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"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
}