Free nutrition API. Food Info REST API (/api/v1): search foods, full nutrient panels, and reverse nutrient search across six national food datasets. JSON, API-key authenticated, free tier with 100 requests a day. Rate limits and endpoint reference included.
ENDPOINTS
STRUCTURED FROM OPENAPI 3.0
GET
/api/v1/nutrients
List the nutrient catalogue (id, name, unit, category) so callers can discover the
`nutrientId` va
GET
/api/v1/foods/search
Search foods by name (case-insensitive substring).
GET
/api/v1/foods/{id}
Look up a single food by FoodData Central id.
GET
/api/v1/foods/{id}/panel
Full nutrient panel for a food: grouped per-100 g + per-serving amounts and
% reference-intake val
GET
/api/v1/nutrients/{nutrientId}/top-foods
Reverse nutrient search: reference foods richest in a nutrient, per 100 g, highest first.
GET
/api/v1/nutrients/{nutrientId}/bottom-foods
Inverse of top-foods: reference foods with the LEAST of a nutrient, per 100 g.
POST
/api/v1/recipes/parse
Parse raw ingredient lines into structured {quantity, unit, food, …}. No DB, no food match.
POST
/api/v1/recipes/analyze
Analyze a recipe → per-line resolution + per-serving/per-100 g nutrition + source attribution + review flags.