Dokumentation der API für Kosmetik-Inhaltsstoffe
Vollständige API-Referenz für die Endpunkte zu INCI-Analyse, Sicherheitsbewertung, Allergen-Erkennung und Hautverträglichkeit.
Authentifizierung für die Kosmetik-API
Alle Anfragen an die INCI API erfordern einen API-Schlüssel im X-API-Key-Header. Erhalte deinen kostenlosen API-Schlüssel im Dashboard.
curl -X GET "https://api.inciapi.com/v1/products/3337875597913" \
-H "X-API-Key: sk_live_your_api_key"Datenhinweis
Important Disclaimer
The ingredient safety data, scores, and ratings provided by INCI API are for informational and educational purposes only. This information is compiled from public databases and scientific literature, and may contain errors, omissions, or outdated information. INCI API does not guarantee the accuracy, completeness, or reliability of any data presented.
This service does not provide medical, dermatological, or health advice. Safety scores and ratings are algorithmic assessments based on available data and should not be used as a substitute for professional medical advice, diagnosis, or treatment. Always consult a qualified healthcare professional or dermatologist before making decisions about cosmetic products, especially regarding pregnancy safety, allergies, or skin conditions.
INCI API assumes no liability for any decisions made based on the information provided.
Alle API-Antworten enthalten Inhaltsstoff-Daten, die aus öffentlichen Quellen wie EU CosIng, CIR-Berichten und veröffentlichter wissenschaftlicher Literatur stammen. Genauigkeit wird nicht garantiert. Sicherheitsbewertungen sind algorithmische Schätzungen auf Basis verfügbarer Daten, keine klinischen Bewertungen. Nutzer müssen alle Inhaltsstoff-Informationen unabhängig überprüfen. Siehe unsere Nutzungsbedingungen und die API-Lizenzvereinbarung für die vollständigen Bedingungen.
Endpunkte der INCI-Analyse-API
/v1/products/:barcodeFree+Suche ein Beauty-Produkt per Barcode. Liefert Produktinfos, Marke, INCI-Liste und Bilder.
Anfrage
curl -X GET "https://api.inciapi.com/v1/products/3337875597913" \
-H "X-API-Key: sk_live_your_api_key"Antwort
{
"success": true,
"data": {
"barcode": "3337875597913",
"name": "La Roche-Posay Toleriane Double Repair",
"brand": "La Roche-Posay",
"category": ["Skincare", "Moisturizer"],
"imageUrls": ["https://cdn.inciapi.com/..."],
"inciList": [
"Aqua", "Glycerin", "Dimethicone",
"Niacinamide", "Ceramide NP"
],
"vertical": "cosmetics",
"qualityScore": 92
}
}/v1/products/:barcode/safetyStarter+Erhalte die vollständige Sicherheitsanalyse eines Produkts. Inkl. Gesamt-Sicherheitsbewertung und Pro-Inhaltsstoff-Bewertungen.
Anfrage
curl -X GET "https://api.inciapi.com/v1/products/3337875597913/safety" \
-H "X-API-Key: sk_live_your_api_key"Antwort
{
"success": true,
"data": {
"overallSafetyScore": 92,
"cleanBeautyScore": 88,
"ingredients": [
{
"inciName": "Aqua",
"safetyRating": 1,
"functions": ["Solvent"],
"isAllergen": false,
"isPregnancySafe": true
},
{
"inciName": "Niacinamide",
"safetyRating": 1,
"functions": ["Antioxidant", "Brightening"],
"isAllergen": false,
"isPregnancySafe": true
},
{
"inciName": "Phenoxyethanol",
"safetyRating": 4,
"functions": ["Preservative"],
"isAllergen": false,
"isPregnancySafe": true
}
]
}
}/v1/products/:barcode/allergensStarter+Erhalte Allergen-Warnungen für ein Produkt. Prüft gegen die 80 EU-Pflicht-Allergene, Kontaktallergene und konservierende Allergene.
Anfrage
curl -X GET "https://api.inciapi.com/v1/products/3337875597913/allergens" \
-H "X-API-Key: sk_live_your_api_key"Antwort
{
"success": true,
"data": {
"allergenWarnings": [
{
"inciName": "Linalool",
"allergenType": "EU Fragrance Allergen",
"severity": "moderate",
"description": "Common fragrance allergen, mandatory labeling in EU"
},
{
"inciName": "Citronellol",
"allergenType": "EU Fragrance Allergen",
"severity": "low",
"description": "Fragrance component, potential sensitizer"
}
],
"totalAllergens": 2,
"hasEuAllergens": true,
"hasContactSensitizers": false
}
}/v1/products/:barcode/compatibility?skinType=sensitiveDemnächst+Prüfe die Hauttyp-Verträglichkeit. Unterstützte Typen: fettig, trocken, empfindlich, Mischhaut, zu Akne neigend, normal.
Anfrage
curl -X GET "https://api.inciapi.com/v1/products/3337875597913/compatibility?skinType=sensitive" \
-H "X-API-Key: sk_live_your_api_key"Antwort
{
"success": true,
"data": {
"skinType": "sensitive",
"compatible": true,
"score": 95,
"concerns": [],
"recommendations": [
"Product is fragrance-free",
"Contains ceramides (skin barrier support)",
"Contains niacinamide (anti-inflammatory)"
],
"allSkinTypes": [
{ "skinType": "sensitive", "compatible": true, "score": 95 },
{ "skinType": "dry", "compatible": true, "score": 90 },
{ "skinType": "oily", "compatible": true, "score": 82 },
{ "skinType": "combination", "compatible": true, "score": 88 },
{ "skinType": "acne-prone", "compatible": true, "score": 78 },
{ "skinType": "normal", "compatible": true, "score": 96 }
]
}
}/v1/products/:barcode/pregnancyDemnächst+Prüfe die Schwangerschaftssicherheit. Markiert Retinoide, Salicylsäure (BHA), Hydrochinon und andere in der Schwangerschaft unsichere Inhaltsstoffe.
Anfrage
curl -X GET "https://api.inciapi.com/v1/products/3337875597913/pregnancy" \
-H "X-API-Key: sk_live_your_api_key"Antwort
{
"success": true,
"data": {
"pregnancySafe": true,
"warnings": [],
"flaggedIngredients": [],
"safeAlternatives": [],
"note": "No pregnancy-unsafe ingredients detected"
}
}/v1/analyzeDemnächst+Analysiere eine rohe INCI-Liste ohne Barcode. Sende Inhaltsstoff-Namen und erhalte eine vollständige Sicherheitsanalyse.
Anfrage
curl -X POST "https://api.inciapi.com/v1/analyze" \
-H "X-API-Key: sk_live_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"inci": [
"Aqua", "Glycerin", "Niacinamide",
"Cetearyl Alcohol", "Phenoxyethanol",
"Retinol", "Linalool"
]
}'Antwort
{
"success": true,
"data": {
"overallSafetyScore": 78,
"cleanBeautyScore": 72,
"ingredients": [
{ "inciName": "Aqua", "safetyRating": 1, "isAllergen": false, "isPregnancySafe": true },
{ "inciName": "Glycerin", "safetyRating": 1, "isAllergen": false, "isPregnancySafe": true },
{ "inciName": "Niacinamide", "safetyRating": 1, "isAllergen": false, "isPregnancySafe": true },
{ "inciName": "Retinol", "safetyRating": 7, "isAllergen": false, "isPregnancySafe": false },
{ "inciName": "Linalool", "safetyRating": 5, "isAllergen": true, "isPregnancySafe": true }
],
"allergenWarnings": [
{ "inciName": "Linalool", "allergenType": "EU Fragrance Allergen", "severity": "moderate" }
],
"pregnancySafe": false,
"pregnancyWarnings": ["Retinol: Vitamin A derivative, avoid during pregnancy"]
}
}/v1/ingredients/:inciNameFree+Erhalte detaillierte Informationen zu einem bestimmten Inhaltsstoff über seinen INCI-Namen.
Anfrage
curl -X GET "https://api.inciapi.com/v1/ingredients/Niacinamide" \
-H "X-API-Key: sk_live_your_api_key"Antwort
{
"success": true,
"data": {
"inciName": "Niacinamide",
"commonName": "Vitamin B3",
"casNumber": "98-92-0",
"safetyRating": 1,
"functions": ["Antioxidant", "Brightening", "Anti-inflammatory"],
"isAllergen": false,
"isPregnancySafe": true,
"comedogenicity": 0,
"suitableSkinTypes": ["oily", "dry", "sensitive", "combination", "acne-prone", "normal"],
"euStatus": "approved",
"description": "Well-researched skincare ingredient. Helps with hyperpigmentation, fine lines, and skin barrier function."
}
}/v1/ingredients/search?q=retinolFree+Suche Inhaltsstoffe nach Name oder Funktion. Liefert passende Inhaltsstoffe mit Sicherheitsdaten.
Anfrage
curl -X GET "https://api.inciapi.com/v1/ingredients/search?q=retinol&limit=5" \
-H "X-API-Key: sk_live_your_api_key"Antwort
{
"success": true,
"data": {
"ingredients": [
{
"inciName": "Retinol",
"safetyRating": 7,
"functions": ["Anti-Aging", "Cell Turnover"],
"isAllergen": false,
"isPregnancySafe": false
},
{
"inciName": "Retinyl Palmitate",
"safetyRating": 5,
"functions": ["Anti-Aging", "Antioxidant"],
"isAllergen": false,
"isPregnancySafe": false
}
],
"total": 2,
"page": 1,
"pageSize": 5
}
}/v1/products/submitFree+Reiche ein fehlendes Beauty-Produkt mit seiner INCI-Liste ein. Eingereichte Produkte sind nach Moderation verfügbar.
Anfrage
curl -X POST "https://api.inciapi.com/v1/products/submit" \
-H "X-API-Key: sk_live_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"barcode": "1234567890123",
"name": "My Beauty Serum",
"brand": "Indie Beauty",
"inciList": ["Aqua", "Hyaluronic Acid", "Niacinamide"]
}'Antwort
{
"success": true,
"data": {
"submissionId": "sub_abc123",
"status": "pending_review",
"message": "Product submitted successfully. Will be available after moderation."
}
}Anfrage-Limits der Kosmetik-API
Die Anfrage-Limits der Inhaltsstoff-Analyse-API hängen von deinem Abonnement ab. Die Limits werden in den Antwort-Headern zurückgegeben.
| Tarif | Limit | Zurücksetzung |
|---|---|---|
| Free | 100 Anfragen/Tag | Täglich um Mitternacht UTC |
| Starter | 5.000 Anfragen/Monat | Monatlich am Abrechnungstag |
Antwort-Header:
X-RateLimit-Limit: 5000
X-RateLimit-Remaining: 4831
X-RateLimit-Reset: 1711929600INCI API Fehlercodes
| Code | Bedeutung | Aktion |
|---|---|---|
400 | Ungültige Anfrage | Anfrageparameter und Body-Format prüfen |
401 | Nicht autorisiert | API-Schlüssel im X-API-Key-Header prüfen |
403 | Verboten | Endpunkt erfordert einen höheren Tarif |
404 | Nicht gefunden | Produkt oder Inhaltsstoff nicht in unserer Datenbank |
429 | Anfrage-Limit überschritten | Warte die in Retry-After angegebenen Sekunden, dann erneut versuchen |
500 | Interner Serverfehler | Später erneut versuchen, bei Bestehen Support kontaktieren |
Format der Fehlerantwort:
{
"success": false,
"error": {
"code": 404,
"message": "Product not found for barcode: 1234567890123"
}
}