Try the Food & Nutrition API,
right here, for free.
These are real API calls running in your browser against a shared demo key. Run them, see the JSON, copy the exact request — then grab your own free key to build.
🔍 Food search
GET/v1/search-foods — calories, macros, and a confidence score for any food.
📦 Barcode lookup
GET/v1/barcode/{code} — scan a UPC/EAN and get the product, brand, image, and nutrition.
✨ Parse a meal (AI)
POST/v1/parse — turn plain English into structured items with per-item and total nutrition.
🥗 Health score
POST/v1/score — a 0–100 score and A–F grade for a food, personalized to a goal.
🔄 Healthier swaps
GET/v1/alternatives — higher-scoring foods to swap in for whatever you're eating, ranked.
🧪 Ingredient & label check
POST/v1/analyze-ingredients — detect additives & E-numbers, allergens, ultra-processing (NOVA), and diet flags.
📸 Meal photo (AI vision)
POST/v1/nutrition-from-photo — estimate a meal's nutrition from a photo. JPEG/PNG/WebP, up to 5 MB.
Like what you see?
Grab your own free key and you get 50 points a day, all endpoints, and no shared limits.
Get your free API keyFree tier · No card required · Read the docs