Skip to content

Nutrition API for grocery and food retail

A nutrition API for grocery apps that reads the label for you

Send the pack photo your supplier already gave you. Your app gets back the nutrition table as fields, 21 nutrients and a grade from A to E with a one-line reason, ready for the product page.

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

A salted Laugenbrezel on a wooden board

Bakery counter

Laugenbrezel, 1 piece

D

280kcal

Mostly white flour, with a lot of salt on the crust.

An example. No label needed: a photo of the item returns its portion, nutrients and grade, and your app puts them on the product card.

Why do so many grocery product pages have no nutrition facts?

Because the facts arrive as a picture. Suppliers send a pack shot with the nutrition table printed on it, and someone has to type each value into your catalogue by hand.

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

"Suppliers send pack photos, not nutrition data."

Typing calories, fat, sugars, protein and sodium for thousands of products takes weeks, and every new listing adds more. The values are already in the image. The API reads them and returns each one as a field you can store.

"The bakery and the fresh counter have nothing to read."

A croissant or a pretzel sold loose has no label at all. A photo of the item, sent as a normal scan, returns the food, an estimated portion in grams and the same 21 nutrients.

"Shoppers ask which option is better, and the page can't say."

A table of numbers does not answer that in a two-second scroll. A grade from A to E with one sentence of reason does, and it gives you a field to sort and filter on.

What can a grocery app build on one scan result?

One result gives you the product's nutrient values as separate fields, 21 nutrients per item and a NutriScore grade from A to E with a one-line reason. That covers the three features below.

Nutrition facts on every product page

Send the supplier's label photo with type: "label". Calories, protein, carbs, fat, fiber, sugar, saturated fat, sodium and the other micronutrients come back as numbers, per pack or per serving as the table states them. Store them once and render your own panel.

NutriScan app result listing vitamins and minerals with an amount for each
NutriScan app result with a NutriScore B grade and a one-line reason

A grade on the product card

Show the letter and its reason next to the price. Sort a shelf by grade, or suggest a product one or two grades better from the same category as a "better choice" swap.

NutriScan app result listing each food with its portion in grams

Label checks in the store

Let shoppers photograph a label in the aisle and see the grade and the numbers that matter to them, in their own language.

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.

How does a catalogue item get its nutrition?

Your catalogue job sends each label photo once and saves the fields that come back. There is nothing to sync afterwards.

  1. Send the label photo

    Post the image, or a public https link to it, to POST /v1/scans with type: "label" and the store's language. A loose bakery item goes in as a normal photo scan.

  2. Read the fields

    The result holds the product name, the nutrient fields, the grade and its reason, and credits_used. Each item also has a source: matched in NutriScan's food data, found with a web lookup, or estimated.

  3. Review what needs a person

    Route items marked estimate, and any label photo that came back thin, to a merchandiser before they go live.

  4. Pace the backfill

    The limit is 60 scans a minute per account, so 5,000 products take under an hour and a half. New listings then run one at a time as they arrive.

What does the API not do for a retailer?

It reads photos. It does not look products up, and its grade is NutriScan's own, not an official label.

What it does

Reads the nutrition table on a pack photo and returns the values as fields.

Estimates loose items with no label from a photo of the item.

Grades every result from A to E and says why, in 12 languages.

What it does not do

No barcode lookup and no product database to search.

No values the photo does not show. A blurred or cut-off label gives a partial result.

No official Nutri-Score. The grade is computed by NutriScan from the returned values and is not a regulator's label.

Example, worked from our public pricing

What does it cost to add nutrition to a grocery catalogue?

About $325, paid once, for 5,000 products with one label scan each.

5,000catalogue items

65credits a scan, about

$0.001a credit

$325once

That is about 325,000 credits. A label scan is charged for the work it took, like any other scan, with a minimum of 20 credits, so we use the typical figure of about 65 credits to plan. Your real number shows up in credits_used after the first few products. After the backfill you pay only for new listings.

One Growth and three Starter packs ($346, 346,000 credits) cover it. Credits never expire, so what is left pays for next month's new products.

Pack prices

For your developers

Three endpoints, one bearer key and JSON back.

Send a label photo, an item photo 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. A test key returns a fixed sample in the same JSON shape and uses no credits, and a scan that fails on our side costs nothing.

curl https://platform-api.nutriscan.app/v1/scans \
  -H "Authorization: Bearer $NUTRISCAN_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "label",
    "image_url": "https://example.com/oat-pack.jpg",
    "language": "de"
  }'

Questions from grocery and retail teams

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

Can we look up a product by its barcode?

No. The API has no barcode lookup and no product database to search. It reads the photo you send. If you already hold barcode data, keep it, and use NutriScan for the items where all you have is a pack photo or the item itself.

What does it cost to add nutrition to our catalogue?

Each item is one label scan, priced for the work it took. If you plan on about 65 credits a scan, 5,000 items come to about 325,000 credits, or about $325, paid once. The exact cost of every scan is in credits_used.

What happens with a blurred or cut-off label?

The values are read from the photo, so a blurred, angled or partial label gives a partial result. Photograph the table itself, flat and in focus. Each item also says where its numbers came from, so you can send items marked estimate to a person for review.

Is the grade the official Nutri-Score?

No. The NutriScore in the result is NutriScan's own grade from A to E, worked out from the values the scan returns. It is not the official Nutri-Score logo and not a regulator's label, so show it as NutriScan's grade and do not print it on packs.

Can we show results in each country's language?

Yes. Names and the grade reason 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 one catalogue can serve several stores.

Put nutrition on every product page

Sign in with your email, build against the test key, and buy credits when your catalogue job is ready to run.

  • 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