
Nutrition analysis
Nutrition Analysis API
Build macro calculators, meal-plan generators, and health analytics on structured nutrition data instead of scraped labels. Every food exposes calories, protein, carbohydrates, and fat per 100 g, plus a nutrients array covering micronutrients when available.
The verified-only search mode restricts analysis to curated foods with complete, quality-checked macro data, the right default for anything that computes recommendations from the numbers.
Full parameters and response shapes live in the API documentation, and you can try every endpoint in the playground without signing up.
curl "https://calorieapiadmin.com/api/v1/search/foods?q=lentils&verified_only=true&limit=50" \ -H "X-API-Key: your_api_key_here"
Capabilities
What the nutrition analysis api gives you
Consistent macro baseline
Per-100g values across every food make cross-food comparisons and scoring trivial.
Verified data mode
verified_only=true limits results to curated entries, no cleaning noisy label data.
Micronutrient arrays
Vitamins and minerals arrive as structured entries with names, amounts, and units.
Health-feature ready
Power protein targets, macro splits, and dietary scoring from one data source.
Analysis-friendly JSON
Flat macro fields load straight into pandas or your analytics pipeline.
Reference taxonomies
Nutrient, brand, and category endpoints expose the taxonomy behind the numbers.
Nutrition Analysis API: frequently asked questions
Can the API analyze a full recipe I send it?
There is no recipe-ingestion endpoint. The pattern is to resolve each ingredient with food search, fetch per-100g macros, and aggregate by your recipe quantities, the Python guide shows the building blocks.
Are macros guaranteed on every food?
Yes, search only returns foods with complete macro data (calories, protein, carbs, fat per 100 g). Micronutrients appear when the source provides them.
Is the data suitable for medical use?
The data supports wellness and nutrition features. For regulated medical decisions, apply your own clinical validation on top, see the healthcare solutions page for patterns.
How do I analyze large food sets without hitting limits?
Paginate with skip/limit (up to 100 per page), cache by stable food ID between runs, and analyze the foods your product actually uses rather than bulk-exporting the catalog.
Start building today
Create a free account, generate an API key, and make your first request in minutes.
