The system uses advanced computer vision and machine learning models to identify ingredients, calculate nutritional values, and provide detailed food composition data.
The processing mode is controlled by the wait_on_process parameter. The API supports two processing modes, each suited for a different use case:
precise (default) — uses advanced AI models for the highest accuracy and detailed analysisfast — uses optimized models for quicker processing with good accuracyProvide country_code and language_code in lowercase for region-specific analysis.
If include_nutrition_fields is omitted or empty, only four basic fields are included by default:
carbohydrate_genergy_kcalfat_total_gprotein_gExample how to include optional fields and custom nutritional fields:
{
"include_nutri_score": true,
"include_dish_description": true,
"include_ingredients": true,
"include_nutrition_fields": [
"energy_kcal",
"protein_g",
"fat_total_g",
"carbohydrate_g",
"fiber_total_dietary_g",
"sodium_mg",
"calcium_mg",
"iron_mg"
]
}
For more documentation, including implementation examples, processing workflows, and integration guides, see Implementation Guide.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
raw body
A preferred mode for the analysis
fast, precise Base64-encoded binary data, this or 'body_url' is required
URL to the image, this or 'body' is required
The UTC time when food was consumed
"2006-01-02T15:04:05"
"2006-01-02T15:04:05Z"
Country ISO 3166-1 alpha-2 code in lowercase
af, al, dz, ad, ao, ag, ar, am, au, at, az, bs, bh, bd, bb, by, be, bz, bj, bt, bo, ba, bw, br, bn, bg, bf, bi, cv, kh, cm, ca, cf, td, cl, cn, co, km, cg, cd, cr, ci, hr, cu, cy, cz, dk, dj, dm, do, ec, eg, sv, gq, er, ee, sz, et, fj, fi, fr, ga, gm, ge, de, gh, gr, gd, gt, gn, gw, gy, ht, hn, hu, is, in, id, ir, iq, ie, il, it, jm, jp, jo, kz, ke, ki, kp, kr, kw, kg, la, lv, lb, ls, lr, ly, li, lt, lu, mg, mw, my, mv, ml, mt, mh, mr, mu, mx, fm, md, mc, mn, me, ma, mz, mm, na, nr, np, nl, nz, ni, ne, ng, mk, no, om, pk, pw, pa, pg, py, pe, ph, pl, pt, qa, ro, ru, rw, kn, lc, vc, ws, sm, st, sa, sn, rs, sc, sl, sg, sk, si, sb, so, za, ss, es, lk, sd, sr, se, ch, sy, tj, tz, th, tl, tg, to, tt, tn, tr, tm, tv, ug, ua, ae, gb, us, uy, uz, vu, ve, vn, ye, zm, zw Include dish description of the food
true
Include ingredients of the food
true
Include nutri-score label of the food
Include specific nutrition fields in the analysis report. By default, carbohydrate_g, energy_kcal, fat_total_g and protein_g will be included
energy_kcal, carbohydrate_g, protein_g, fat_total_g, fat_saturated_g, fat_polyunsaturated_g, fat_monounsaturated_g, fat_trans_g, fiber_total_dietary_g, sugars_total_g, cholesterol_mg, sodium_mg, potassium_mg, calcium_mg, iron_mg, magnesium_mg, phosphorus_mg, zinc_mg, vitamin_a_rae_mcg, vitamin_c_mg, vitamin_d_mcg, vitamin_e_mg, vitamin_k_mcg, thiamin_mg, riboflavin_mg, niacin_mg, vitamin_b6_mg, folate_mcg, vitamin_b12_mcg Language ISO 639-1 code in lowercase
aa, ab, ae, af, ak, am, an, ar, as, av, ay, az, ba, be, bg, bh, bi, bm, bn, bo, br, bs, ca, ce, ch, co, cr, cs, cu, cv, cy, da, de, dv, dz, ee, el, en, eo, es, et, eu, fa, ff, fi, fj, fo, fr, fy, ga, gd, gl, gn, gu, gv, ha, he, hi, ho, hr, ht, hu, hy, hz, ia, id, ie, ig, ii, ik, io, is, it, iu, ja, jv, ka, kg, ki, kj, kk, kl, km, kn, ko, kr, ks, ku, kv, kw, ky, la, lb, lg, li, ln, lo, lt, lu, lv, mg, mh, mi, mk, ml, mn, mr, ms, mt, my, na, nb, nd, ne, ng, nl, nn, no, nr, nv, ny, oc, oj, om, or, os, pa, pi, pl, ps, pt, qu, rm, rn, ro, ru, rw, sa, sc, sd, se, sg, si, sk, sl, sm, sn, so, sq, sr, ss, st, su, sv, sw, ta, te, tg, th, ti, tk, tl, tn, to, tr, ts, tt, tw, ty, ug, uk, ur, uz, ve, vi, vo, wa, wo, xh, yi, yo, za, zh, zu "de"
If true, waits for the process to complete. If false, returns immediate response and sends notification with analysis report to webhook URL when finished
OK
Update timestamp in UTC
"2025-09-15T10:30:12.132Z"
Report record ID
"6ba7b810-9dad-11d1-80b4-00c04fd430c8"
Processing status
pending, processing, completed, failed "completed"
Upload timestamp in UTC
"2025-09-15T10:30:04.521Z"
The UTC time when food was consumed
"2025-09-15T08:15:00Z"
Detected dish description
"beef, ground, lean, cooked with broccoli, raw and rice, brown, cooked"
Dish description translated to target language
"Rindfleisch, Hackfleisch, mager, gekocht mit Brokkoli, roh und Reis, braun, gekocht"
Detected dish name
"beef and broccoli stir-fry"
Dish name translated to target language
"Rindfleisch und Brokkoli Pfanne"
Reason for processing failure
"Unable to identify food items"
List of detected ingredients with nutritional information
Nutri-Score known as the 5-Colour Nutrition label (A-E)
"B"
Nutritional values per 100 g/ml
Serving size in metric units
120
Metric unit (g for solids, ml for liquids)
g, mg, mcg, ml, kcal "g"