headerElement
English
VectorOne
VectorTwo
VectorThree
★ Now on RapidAPI1,176 subscribers

Nutrition & Food Recognition API

The Dietagram Nutrition API is designed to simplify the integration of your application with Dietagram extensive food database and nutritional standards. Rather than developing and maintaining your own nutrient database, you can rely on Dietagram for high-quality source data.

9.5popularity
100%service level
4.0 ★rating (6)
Foodcategory
Блюдо

Features

To get access to the API, subscribe on RapidAPI — pick a plan and your key is ready instantly. Need something beyond the listed plans? Contact us and we'll prepare a custom offer.
image calculator

Huge product database

A large, constantly-updated database of generic, packaged and restaurant foods.

image calculator

Find food info by bar code

A large database of food products, including more than 150 thousand items with bar codes.

image calculator

Calculation of proteins, fat and carbohydrates

In addition to calories, proteins, fats and carbohydrates are also calculated.

image calculator

AI photo recognitionNew

Send a photo of a plate and get back each dish identified, with estimated weight, calories and macros.

image calculator

9 supported languages

English, Russian, Polish, Bulgarian, German, Spanish, Ukrainian, Belarusian and Arabic — wider coverage than the five locales on this site.

What's live today

Three endpoints, documented on the RapidAPI listing with request and response examples, plus a free tier to try them on.

GETapiFood.php

Food by name

Search by full or partial food name — returns matching dishes with calories, fat, carbs and protein per 100 g.

Full reference on RapidAPI →
{ "dishes": [
  { "name": "Apple Juice",
    "caloric": "47", "fat": "0.11",
    "carbon": "11.6", "protein": "0.06" }
] }
GETFind by UPC / barcode

Food by barcode

Resolve a scanned UPC to caloric content, nutritional value, proteins, fats and carbohydrates.

Full reference on RapidAPI →
Same auth pattern as Food by name.
Full parameters on the RapidAPI
"Find by UPC/barcode Api" page.
POSTapiFoodImageRecognition.phpNew

Nutrients by photo

Send a base64 photo of a plate — get each dish identified with weight, calories and macros.

Full reference on RapidAPI →
{ "dishes": [
  { "dishName": "Blueberry pie",
    "weight": 100, "calories": 250,
    "fat": 10, "protein": 7,
    "carbohydrates": 34 } ] }

API Pricing Plans

Priced and billed by RapidAPI. Overage rates apply automatically past the included quota — no separate contract needed.

Basic
$0/mo
Pro
$10/mo
★ Recommended
Ultra
$100/mo
Mega
$400/mo
Requests
16,000/day · hard limit
200,000/mo · +$0.05 over
999,999/mo · +$0.0001 over
7.17M/mo · +$0.0001 over
Food by name
10/day+$0.10 over
4,000/mo+$0.01 over
10,000/mo+$0.01 over
100,000/mo+$0.01 over
Food by UPC
10/day+$0.10 over
4,000/mo+$0.01 over
10,000/mo+$0.01 over
100,000/mo+$0.01 over
Photo recognition
5/day+$0.07 over
600/mo+$0.05 over
6,000/mo+$0.04 over
25,000/mo+$0.03 over
Rate limit
5 req/sec

All plans include 10,240 MB/month of bandwidth (+$0.001/MB beyond that). Need more than Mega? Talk to us directly.

Dietagram - it works

phone
phone

Four years of experience has shown that calorie counting leads to success 90% of users. After a week of using the application, all the weak points in your diet will become visible to you. Calorie counting is easy with DietaGram Calorie Calculator!

appstore logo
googleplay logo

Access, keys and billing all live on RapidAPI now

Subscribe, get your key, and watch usage — all in one dashboard we don't have to build ourselves.

Open the RapidAPI listing

Do you have any questions or requests?