Skip to content

NutriScan Nutrition API

Nutrition API that lets your users log a meal with one photo

Add food logging to your product without building the AI behind it. Your users snap a plate, snap a pack label or type what they ate. Your app gets the dish, every item with its portion, calories, macros, six vitamins, six minerals and omega 3, plus a NutriScore grade.

Test keys cost nothing. Credit packs start at $49 with no subscription.

Grilled chicken breast with a grain side and broccoli on a wooden board

Lunch, logged

Grilled chicken with quinoa and broccoli

A

501kcal

57.1 gProtein
45.4 gCarbs
9.3 gFat
  • Grilled chicken breast248 kcal150 g
  • Cooked quinoa222 kcal1 cup (185 g)
  • Steamed broccoli31 kcal90 g

Lean protein, a whole grain and vegetables, with little saturated fat.

An example result for this plate, shown the way your app could display it.

150,000+

downloads of the NutriScan app, an AI nutritionist rated 4.6 on the App Store. The app runs on this same engine.

3

inputs: meal photo, pack label and text

12

result languages

21

nutrients per item, vitamins and minerals included, plus a NutriScore from A to E

What your users get

Three ways to log food and one result format. Your users pick whatever is fastest in the moment, and your app reads the same fields every time.

Meal photo

Snap the plate

At lunch, your user takes one photo of the plate. The API names the dish, finds each item on it and estimates the portion of each, so the log is filled in before they put the phone down. A bowl or a takeaway box works the same way.

Pack label

Snap the pack label

For packaged food, the photo goes to the nutrition table on the pack. The result follows the numbers printed there, per pack or per serving, so nobody types figures from a yogurt cup into a form.

Text or voice

Type or say it

When there is no photo to take, a line of text is enough, such as "2 eggs and a slice of toast" or "200 g low-fat quark". Pair it with your app's voice input and a spoken meal becomes the same structured entry as a photo.

Every result carries the dish name, each item with its portion in grams, 21 nutrients, and a NutriScore from A to E with a one-line reason your users can read.

Which nutrients does the API return?

21 nutrients for the meal and for each item: calories, seven macro fields, six minerals, six vitamins and omega 3. Calories and macros are where most food logging stops. Every NutriScan result also carries six minerals, six vitamins and omega 3, for the whole meal and for each item on the plate. The field names stay the same in every language.

  • Low-intake nudges. Tell a user when calcium or potassium has run low this week, and suggest foods that add more.
  • Sodium and sugar watch. Give a care program's coaches sodium and sugar per meal and per day, next to the rest of the member's plan.
  • Plant-based tracking. Show plant-based users how their iron and vitamin B12 add up across the week.

Grilled chicken with rice and salad

3 items, 515 kcal, meal totals

Energy and macros8

  • 515kcalCalories
  • 51.9gProtein
  • 47.7gCarbs
  • 11.1gFat
  • 2.2gFiber
  • 1.6gSugar
  • 2.3gSaturated fat
  • 0gTrans fat

Minerals6

  • 457mgSodium
  • 645mgPotassium
  • 69mgCalcium
  • 4.2mgIron
  • 75mgMagnesium
  • 2.5mgZinc

Vitamins and fatty acids7

  • 204mcgVitamin A
  • 14mgVitamin C
  • 0.2mcgVitamin D
  • 1.6mgVitamin E
  • 85.4mcgVitamin K
  • 0.5mcgVitamin B12
  • 100mgOmega 3
The sample result a free test key returns, meal totals shown. Each item in the result carries the same 21 fields.

Who builds with it

Four kinds of products where a fast food log changes what you can offer your own customers.

Fitness and coaching apps

Clients log meals with a photo, and coaches see items, portions and macros instead of vague notes. The NutriScore and its one-line reason give a coach a starting point for feedback on each meal, and your app keeps clients logging between sessions.

Nutrition API for fitness apps
A bowl of plain yogurt topped with strawberries, raspberries and blueberries

Digital health and weight-care programs

Members record what they eat in seconds and in their own language. Your care team gets structured meals with nutrients to review next to the rest of the program.

Nutrition API for digital health
A bowl of beef pho with rice noodles, fresh herbs, lime and sliced chili

Meal delivery and recipe platforms

Show the nutrients of a dish next to the recipe or the order, and let customers log what they cooked or ate with a photo of the plate or a line of text.

Nutrition API for meal delivery
A pouch of plain instant oatmeal next to a bowl of cooked oats and a spoon

Grocery and food retail apps

A shopper photographs the nutrition table on a pack and sees the values and a NutriScore grade in your app, in their language, while still in the aisle.

Nutrition API for grocery apps

Build it yourself, or call one endpoint

Photo food logging looks like one feature. In-house, it is several systems that each need engineers and upkeep. We cannot tell you what those cost your team, so here is the list of what has to exist, next to what is live today.

PartBuild it in-houseNutriScan API
RecognitionA vision model pipeline that finds each food on a plate and estimates its portionLive today. Send a photo, get each item with a portion in grams.
Food dataNutrient data for the foods people eat in every market you sell inEach item comes back with its nutrients and a note of where they came from.
Pack labelsA label reader for nutrition tables in different formats and languagesPack label is its own input, read per pack or per serving.
GradingA grading method users understand, and the copy to explain each gradeA NutriScore from A to E with a one-line reason in every result.
UpkeepOngoing work as dishes, packs and recipes changeThe same engine runs the NutriScan app, so we keep it current for our own users.
First resultEngineers hired or moved before anything works end to endA developer can make the first test request the same day with a free test key.

How much does the nutrition API cost?

About $0.065 per meal photo, paid from prepaid credits by card. You pay for the scans your users make and nothing else.

$0.065

about what a typical meal photo costs

One credit is $0.001, and a typical plate uses about 65 credits. A short text log uses about 60. Every scan uses at least 20 credits, about $0.02, and a photo with no food in it is charged for the work it used. A scan that fails on our side costs nothing, and every result reports its exact cost.

About $3.90 per active user a month

An estimate, assuming an active user logs two meals a day by photo: about 60 scans and 3,900 credits a month. Text entries cost a little less, so a mix of photos and text lands lower.

Meal scans a monthCreditsCost
1,00065,000about $65
10,000650,000about $650
100,0006,500,000about $6,500

At about 65 credits per meal scan.

  • Starter$4949,000 credits, about 750 meal photos
  • Growth$199199,000 credits, about 3,000 meal photos
  • Scale$599599,000 credits, about 9,200 meal photos

Credits never expire. No subscription and no contract. Buy any pack again to top up.

Full pricing and cost examples

Can we try it before we pay?

Yes. Test keys are free for new accounts and use no credits. You see real output in your own product before you spend anything, and you can stop at any point.

Test key result, 0 credits

Grilled chicken with rice and salad

B

515kcal

  • Grilled chicken breast248 kcal150 g
  • Steamed white rice205 kcal1 cup (158 g)
  • Green salad with olive oil62 kcal80 g

Lean protein and vegetables balance the rice; moderate sodium from the marinade.

Every test key returns this same sample, in the live result format.

Test keys are free

Your developers build the whole integration against a test key. It returns a sample result in the same format as a live scan and uses no credits.

Pay only for what you use

Each scan takes the credits it used, and failed scans take nothing. You decide when to buy and how much.

Nothing to cancel

There is no subscription or contract. If you stop calling the API, no further charges happen.

Purchases are final

We refund only where the law requires it or when we failed to deliver the credits you paid for. Testing is free, so start with the smallest pack that covers your first month.

Data handling is described in the API terms.

Which languages does the API support?

12: English, German, French, Spanish, Italian, Portuguese, Dutch, Polish, Russian, Turkish, Hindi and Arabic. Set one field and the dish name, item names and grade reason arrive in your user's language. Field names and units stay the same, so your code does not change from one country to the next.

A user in the US can type a burger and fries, a user in Berlin can photograph a Schnitzel plate, and a user in Paris can log a croissant and a café au lait, all through the same backend.

  • enEnglish
  • deGerman
  • frFrench
  • esSpanish
  • itItalian
  • ptPortuguese
  • nlDutch
  • plPolish
  • ruRussian
  • trTurkish
  • hiHindi
  • arArabic
  • A Philly cheesesteak: sliced beef, melted cheese and onions in a long roll

    en

    Philly cheesesteak

    1 sandwich, 280 g640 kcal

  • A breaded pork schnitzel on a wooden board with a lemon wedge and parsley

    de

    Schweineschnitzel, paniert

    1 Schnitzel, 150 g420 kcal

  • A golden butter croissant on a wooden board

    fr

    Croissant au beurre

    1 croissant, 60 g245 kcal

  • A stack of pancakes with a pat of butter and maple syrup

    en

    Pancakes with butter and syrup

    3 pancakes420 kcal

  • A salted soft pretzel on a wooden board

    de

    Laugenbrezel

    1 Brezel, 85 g230 kcal

  • A slice of quiche lorraine with bacon on a white plate

    fr

    Quiche lorraine

    1 part, 150 g460 kcal

Example results, with dish names in the language each request asked for. Calories are typical values for the portion shown.

For your developers

One HTTPS endpoint with JSON in and out, and the same result format for all three inputs. The docs cover every field.

curl https://platform-api.nutriscan.app/v1/scans \
  -H "Authorization: Bearer $NUTRISCAN_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "type": "text", "text": "2 eggs and a slice of toast" }'

Can AI agents call the API?

Yes, through the NutriScan MCP server. Claude Code, the Claude desktop app, Codex and other MCP clients get the same three calls as tools: analyze_meal, get_scan and get_usage.

Same credits as REST

A scan through MCP costs what a REST scan costs, about 65 credits for a typical plate. No seats and no MCP fee.

Free test key

Wire up an agent against the fixed sample result at no cost, then swap in a live key.

One header to sign in

The server reads your API key from an Authorization header. It is the same key you use for REST.

Text, meal and label photos

One tool takes all three inputs and returns 21 nutrients and a NutriScore, in 12 languages.

export NUTRISCAN_KEY="ns_test_..."
claude mcp add --transport http nutriscan \
  https://platform-api.nutriscan.app/mcp \
  --header "Authorization: Bearer $NUTRISCAN_KEY"
The nutrition MCP server

Questions from buyers

Something missing? Email support@nutriscan.app.

How much will this cost at our volume?

Plan on about $0.065 per meal photo, which is about 65 credits. 1,000 meal scans a month cost about $65, 10,000 about $650 and 100,000 about $6,500. A short text log uses about 60 credits, and every scan uses at least 20. Every result reports its exact cost, so your real number is visible after the first live scans.

Do we need a contract or a subscription?

No. You buy prepaid credit packs by card: Starter at $49, Growth at $199 or Scale at $599. Credits never expire, there is no monthly fee, and purchases are final.

How fast can we integrate it?

A developer can make the first test request the same day with a free test key. The test key returns a sample result in the same format as a live scan, so the full flow can be built before you buy credits. Going live means swapping in a live key.

Which inputs does it accept?

Three: a photo of a meal, a photo of the nutrition table on a pack, and a line of text such as "2 eggs and a slice of toast". All three return the same result format.

Which nutrients come back?

21 for the meal and for each item: calories, protein, carbs, fat, fiber, sugar, saturated fat and trans fat, the minerals sodium, potassium, calcium, iron, magnesium and zinc, vitamins A, C, D, E, K and B12, and omega 3. Each field name carries its unit, such as sodium_mg or vitamin_d_mcg.

Which languages are supported?

Results come back in 12 languages: English, German, French, Spanish, Italian, Portuguese, Dutch, Polish, Russian, Turkish, Hindi and Arabic. You set the language on each request.

What happens when our credits run out?

Live scans return an insufficient credits error until someone on your team buys another pack. Nothing renews or charges automatically, and you can top up at any time.

Can we test it without paying?

Yes. A new account gets test keys at no cost. A test key returns a fixed sample result and uses no credits.

Is there a food search endpoint?

There is no separate search endpoint. The text input covers lookup: send a food name such as "200 g low-fat quark" and you get calories, nutrients and a NutriScore in the same result format.

Can AI agents like Claude Code or Codex use the API?

Yes. The NutriScan MCP server gives an agent the same three calls as tools, with the same key and the same credits per scan. There are no seats and no MCP fee. Setup for Claude Code, the Claude desktop app and Codex is on the MCP server page.

How does it compare with FatSecret, Edamam and Nutritionix?

Those three are built around a food database with search and barcode lookup. NutriScan reads a meal photo, a pack label or a line of text and returns the items with portions and nutrients. Each comparison lists inputs, results, pricing and where the other API is the better choice: FatSecret API alternative, Edamam API alternative and Nutritionix API alternative.

Put food logging in your product

Get a free test key today and see a result inside your own app before you buy credits.

  • Test key at sign-up
  • Packs from $49
  • No subscription
  • Credits never expire
A breaded pork schnitzel with a lemon wedge
Example resultSchweineschnitzel, paniert1 Schnitzel, 150 g420 kcal
NutriScan app meal screen listing calories, macros, vitamins and minerals for one logged meal