A nutrition API for photo, voice and text food logging.
Give your users food logging without building food recognition or a nutrient database yourself. Send a meal photo, voice note or text description, and you get back the recognised dish, ingredients, estimated portion and nutrient data as JSON.
Available to approved partners. Developers can request sandbox access; the team confirms fit and setup with you.
For a patient-review workspace, explore the separate dietitian portal. Portal access and any connection to your own product must be confirmed with the team.
Available now, planned, and not yet documented.
- Photo, voice and text food logs
- Documented in the sandbox
- Available to approved partners.
- Ingredients, estimated weight and nutrient amounts
- Documented in the sandbox
- Example values are illustrative.
- Food data from national and local sources
- BiteRight-reported
- 2.5M+ records, with source publishers linked below.
- Custom-dish interpretation
- In-house technology
- Dish composition and portions remain estimates.
- Menu-item input
- Planned
- Not documented, so do not plan around it yet.
- Daily limits and alerts set by your organisation
- Available
- Sugar, carbohydrate and fat maximums and a protein minimum.
- Arabic input for photo, voice and text
- Confirmed by BiteRight
- Food data adds a Bahraini database and localised dishes.
- Barcode input, rate limits and pricing
- Not documented
- Confirm your requirements with the team.
What the nutrition API returns.
Each meal comes back as structured JSON your app can store, chart or check against its own targets.
- Recognised dish
- The dish the meal was matched to, with the ingredients found in it.
- Nutrient amounts
- Calories, macronutrients, vitamins and minerals, each with an amount and unit, plus dietary information.
- Estimated weight
- Total portion weight, guided by the Small, Medium, Large or Custom size you send.
Energy and macronutrients
Calories, protein, carbohydrates, total fat, saturated, monounsaturated and polyunsaturated fat, sugar, salt, cholesterol and fibre.
Vitamins
Vitamins A, C, D, E and K, and the B vitamins.
Minerals
Calcium, iron, magnesium, potassium, zinc, phosphorus, selenium, copper, manganese, chromium and molybdenum.
Other nutrients and dietary flags
Omega-3, omega-6, caffeine and other listed compounds, plus dietary information such as vegetarian or gluten-free.
Nutrient groups covered by BiteRight’s food data. Which nutrients a food log includes depends on the food and its source records; the sandbox documentation confirms the exact fields, and the specification is not final. Values are estimates.
Where the nutrient values come from.
2.5M+
food records
BiteRight looks up nutrient values in national and local food-composition databases.
Record count reported by BiteRight. Records are not the same as unique foods, and source links identify original publishers without implying their endorsement of BiteRight.
Australia
AUSNUT
Australian Food, Supplement and Nutrient Database. Published by Food Standards Australia New Zealand.
Visit the original source for AUSNUT (opens in a new tab)United States
USDA FoodData Central
Food composition data from the U.S. Department of Agriculture. Published by USDA Agricultural Research Service.
Visit the original source for USDA FoodData Central (opens in a new tab)France
ANSES-Ciqual
French food composition table. Published by French Agency for Food, Environmental and Occupational Health & Safety (ANSES).
Visit the original source for ANSES-Ciqual (opens in a new tab)United Kingdom
CoFID
McCance and Widdowson’s The Composition of Foods integrated dataset. Published by Public Health England.
Visit the original source for CoFID (opens in a new tab)Canada
Canadian Nutrient File
Health Canada’s bilingual food composition database. Published by Health Canada.
Visit the original source for Canadian Nutrient File (opens in a new tab)- Selected local food databases, including a Bahraini database and localised dishes, extend coverage for regional foods and international cuisines. The BiteRight app interface is available in English, French, Arabic and Spanish.
From source records to custom dishes.
Clean and organise
Source records are cleaned and prepared for consistent lookup, and refreshed from the underlying food databases.
Decompose the dish
BiteRight's own machine-learning engine breaks custom dishes into likely ingredients, so a dish does not need to match a name exactly.
Retrieve the nutrition
An in-house engine matches foods and retrieves nutrient values from curated food-composition records.
Machine learning interprets the meal; nutrient values come from food-composition records rather than a generated answer. Dish composition and portions remain estimates, and grounding in source data does not make every estimate error-free.
Tested against weighed food
87%
of portion-weight estimates were judged correct in BiteRight’s internal testing, comparing model estimates with food portions measured by weight.
Internal evaluation. Sample size and acceptance tolerance are not yet published. It measures portion-weight estimation only, not nutrient-composition accuracy, and it is not clinical validation.
How the API is structured.
Send meal input over HTTPS as a multipart request with bearer authentication. Receive a JSON food log with the recognised dish, estimated weight, ingredients and nutrient amounts.
The API is available to approved partners. Developers can request sandbox access to test it. This summary follows the sandbox documentation; confirm the current fields and limits with the team before you build.
Authentication
Each request carries an Authorization: Bearer header. Use the API base URL and access token assigned to your team. Keep tokens on your server, not in client apps.
Endpoints
POST /api/b2b/v1/food-log
Log a meal from one or more photos, or from a text description.
- date
- Meal date, for example 2026-09-07.
- images[]
- Meal photo file(s), sent as multipart uploads. Use for photo logging.
- meal_name
- Text description of the meal. Use for manual or text logging.
- size
- Portion size: Small, Medium, Large or Custom.
- custom_size
- Portion amount when size is Custom.
POST /api/b2b/v1/food-log-voice
Log a meal from a voice note. Requires a dietary profile and RDI setup first.
- date
- Meal date.
- voices[]
- Voice note file(s), sent as multipart uploads.
Response fields
- recognized_dish
- The dish the meal was matched to.
- total_weight
- Estimated total weight of the meal, as a string with its unit.
- calories
- A nutrient object: name, amount and unit.
- macronutrients
- Nutrient objects such as protein, carbohydrates and fiber.
- minerals, vitamins
- Further nutrient objects in the same name, amount and unit shape.
- ingredients
- The ingredients recognised in the meal.
Errors
Check both the HTTP status and the JSON body. A response with HTTP 200 can still contain an error field, so treat any error value as a failed request.
Example request
curl --fail-with-body --request POST \
--url "$BASE_URL/api/b2b/v1/food-log" \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--form 'date=2026-09-07' \
--form 'meal_name=Salmon bowl with quinoa, broccoli, avocado and sweet potato' \
--form 'size=Medium' \
--form 'images[]=@meal.jpg'Example response
{
"recognized_dish": "Salmon grain bowl",
"total_weight": "300 g",
"calories": {
"name": "Calories",
"amount": "542",
"unit": "kcal"
},
"macronutrients": {
"protein": {
"name": "Protein",
"amount": "34",
"unit": "g"
},
"carbohydrates": {
"name": "Carbohydrates",
"amount": "48.7",
"unit": "g"
},
"fiber": {
"name": "Fiber",
"amount": "8",
"unit": "g"
}
},
"minerals": {
"potassium": {
"name": "Potassium",
"amount": "980",
"unit": "mg"
}
},
"ingredients": [
"salmon",
"quinoa",
"broccoli",
"avocado",
"sweet potato"
]
}Abbreviated, with illustrative values. Not a live analysis or dietary advice. Dish composition and portions are estimates.
Access and pricing
Pricing has not been set. Ask the team to confirm sandbox availability, evaluation terms, usage limits, support and commercial scope for your product. An enquiry does not confirm a plan or contract.
Nutrition API questions.
How photo, voice and text logging work in detail: food recognition API. Building it into your app: developer guide. Hosting and data handling: security.
Tell us what you are building.
Share your product, the meal inputs you need and your expected volume. The team will review the fit and confirm sandbox availability, access requirements and setup before you test.
Please leave out patient or personal health information. An inquiry does not activate access.