Product macronutrients by EAN

Verpacktes Lebensmittelprodukt anhand seiner EAN nachschlagen und die angegebenen Makronährwerte (pro 100 g) abrufen: Kalorien, Fett, gesättigte Fettsäuren, Kohlenhydrate, Zucker, Eiweiß, Salz und Ballaststoffe. Die Antwort mit den anderen EAN-basierten Endpunkten über den Schlüssel 'ean' zusammenführen. Anwendungsfälle: FITNESS- & ERNÄHRUNGSTRACKING-APPS • Die Nährwerttabelle eines gescannten Produkts ohne proprietäre Lebensmitteldatenbank befüllen. PHARMA — VERIFIZIERUNG DES SPEISEPLANS • Die angegebenen Makronährwerte eines Produkts abrufen, um sie mit einem therapeutischen Ernährungsplan zu validieren.

GET
/products/{ean}/macronutrients
Products
Kosten: 10 Credits

Antwort

200
application/json
object

ProductMacronutrientsResult

Makronährstoffe eines Produkts, das anhand der EAN gesucht wurde, wie auf dem Etikett angegeben (pro 100 g). Getrennt von den Basisinformationen- und Kompatibilität-nach-EAN-Endpunkten: Führen Sie die Antworten anhand von 'ean' zusammen.

object

ean

Normalisierte EAN: der kanonische Schlüssel, der verwendet wird, um die Antworten der by-EAN-Endpunkte zusammenzuführen

string

kcal?

Kilokalorien

number<double> | null

fat?

Gesamtfett (g)

number<double> | null

saturatedFat?

Gesättigte Fettsäuren (g)

number<double> | null

carbohydrates?

Kohlenhydrate (g)

number<double> | null

sugars?

Zucker (g)

number<double> | null

protein?

Protein (g)

number<double> | null

salt?

Salz (g)

number<double> | null

fiber?

Ballaststoffe (g)

number<double> | null
204
application/json

No Content

Für diesen Endpunkt sind keine Schemata verfügbar.

401
application/json
object

Nicht autorisiert

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
403
application/json
object

Verboten

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
406
application/json
object

Nicht akzeptabel

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
422
application/json
object

Unverarbeitbare Entität

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
429
application/json
object

Zu viele Anfragen (APIM)

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
500
application/json
object

Interner Serverfehler

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
502
application/json
object

Schlechtes Gateway (APIM)

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
504
application/json
object

Gateway-Timeout (APIM)

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string