Skip to content

Nutrition API for fitness and coaching apps

A nutrition API for fitness apps that logs a meal from one photo

Your members photograph a plate, a pack label or type what they ate. Your app gets back every food with its portion in grams, calories, protein, carbs, fat and 13 micronutrients, ready to count against their targets.

The test key costs nothing. Credit packs start at $49, with no subscription.

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

Post-workout lunch

Grilled chicken with quinoa and broccoli

A

501kcal

Protein today112 of 140 g

An example. The API returns the meal, 57.1 g of protein and the grade; your app adds it to the member's daily target.

Why do members stop logging food?

Because typing every meal takes too long. A member who has to search, pick a match and guess a portion for each food on the plate skips the log, and the coaching that depends on it goes quiet.

Three problems sit behind that, in the words product teams use for them.

"Members stop logging after the first couple of weeks."

Manual entry is the slowest part of your app. A photo turns a plate of four foods into one tap and a review, so logging dinner fits between the gym and the couch.

"We can't build food recognition ourselves."

An in-house model needs labelled meal photos, a nutrition data source and people to keep both current. The API gives you that as one request, and your team stays on training and coaching.

"We added a food database and still had the typing problem."

A lookup API answers a search, so the member still types the food and picks the portion. NutriScan reads the meal itself and returns each item with grams already filled in.

What can a fitness app build on one scan result?

One result gives you each food, its portion in grams, 21 nutrients and a NutriScore grade from A to E. That is enough for the four features below.

Photo meal logging

The member snaps the plate and sees every item with its portion, ready to confirm or adjust. Each item carries its own calories and macros, so a change to one portion updates the meal.

NutriScan app meal detail for a protein oat bowl, listing each item with its portion in grams
NutriScan app home screen with the day's calories and protein counted against a target

Daily protein and macro targets

Add each meal's protein, carbs and fat to the member's day and show how far they are from the target their coach set.

NutriScan app weekly report with bars for protein, carbs, fat and fiber

Weekly nutrition reports

Store the results and chart the week. Coaches see which days missed protein without asking the member to recall them.

NutriScan app meal detail with a NutriScore B grade and a one-line reason

Meal quality coaching

Every meal gets a grade and a one-line reason, which gives a coach something specific to say about dinner.

These screens are from the NutriScan app, which has 150,000+ downloads and a 4.6 rating on the App Store. It runs on the same engine as the API.

Example, worked from our public pricing

What does photo logging cost per active member?

About $3.90 a month for a member who logs 2 meal photos a day.

1,000active members

2meal photos a day

30days

$0.065about 65 credits a photo

$3,900a month

That is 60,000 photos and about 3,900,000 credits. A typical plate uses about 65 credits and a big plate more, so your real figure shows up in credits_used after the first live scans. Members who log fewer meals cost less, and a short text log uses about 60 credits.

Seven Scale packs ($4,193, 4,193,000 credits) cover that month. Credits you do not use stay in your balance.

Pack prices

How can we try it before we commit?

Sign in with your email and you get a test key on the spot. You build the whole integration against it and pay nothing until you go live.

A test key at sign-up

A test key returns a fixed sample result in the same JSON shape as a live scan and uses no credits. Your developers can finish the screens before anyone buys a pack.

No subscription

You buy a credit pack once, by card. Nothing renews, and there is no monthly fee.

Credits never expire

A quiet month costs nothing extra. Purchases are final, so start with the $49 Starter pack and buy more once you know your volume.

Failed scans cost nothing

A scan that fails on our side uses no credits, and every result reports exactly what it cost.

For your developers

Three endpoints, one bearer key and JSON back.

Send a photo, a label or a line of text to POST /v1/scans. Read the result, or poll GET /v1/scans/{id}, and check your balance with GET /v1/usage. The rate limit is 60 scans a minute per account.

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" }'

Questions from fitness app teams

Anything else, the API docs cover every field and error.

How much work is it to add photo logging to a fitness app?

Your app sends the photo to POST /v1/scans and reads back JSON with each food, its portion in grams and 21 nutrients. The screen that shows the result is yours to design. You can build and test the whole flow with a free test key before you buy credits.

Can members log a meal without taking a photo?

Yes. Send a line such as "2 eggs and a slice of toast" with type text. A short text log uses about 60 credits. If your app turns speech into text, the same request covers voice logging.

What about protein bars and other packaged food?

Members can photograph the nutrition table on the pack and send it with type label. The API has no barcode or search endpoint, so if your app scans barcodes today, keep that source for barcodes and use NutriScan for photos, labels and text.

What does photo logging cost per active member?

A member who logs 2 meal photos a day makes about 60 scans a month. At about 65 credits a photo that is about 3,900 credits, or about $3.90. Credits are prepaid in packs from $49 and never expire.

Which languages can the 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, so every member sees food names in their own language.

Give your members a faster way to log

Sign in with your email, build against the test key, and buy credits when you are ready to go live.

  • 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