Core Use Cases

The following table covers the core use cases we recommend starting with - while many more are available, these will get you up and running quickly with both the API and SDK.

Use Case
Description
API
SDK

Text Search

Search foods from the database

food/search/semantic

searchForFoodSemantic

Food Detail Lookup

Retrieve full nutritional details for a food

food/search/result/refCode/

fetchFoodItemFor, fetchNutrientJSON, fetchTagsFor

Barcode Lookup

Look up food details by barcode

food/productCode/

fetchFoodItemFor

Image Recognition

Recognize foods in an image

tools/vision/extractIngredientsAutoTyped

recognizeImageRemote

Nutrition Label Scan

Extract nutrition data from nutrition fact labels

tools/vision/extractPackagedProduct

recognizeNutritionFactsRemote

Voice Logging

Extract foods from voice or text input

tools/extractMealLogAction

recognizeSpeechRemote

Last updated