Nutrition API comparison (2026)
There is no single best nutrition API — the right choice depends on whether you need open data, authoritative reference values, recipes, natural-language parsing, or high-volume food search and barcode lookup. Here is an honest look at seven options, including our own, DietlyAPI.
The comparison table
| API / plan | Type | Monthly price | Rate limit | Included quota | Best at |
|---|---|---|---|---|---|
| Open Food Facts | Open, crowdsourced | Free | 10 searches/min; 15 product reads/min per IP | No published monthly cap | Open worldwide packaged-product data; bulk export / self-hosting |
| USDA FoodData Central | Public reference | Free | 1,000 requests/hour per IP | No published monthly cap | Authoritative US reference data (free key required) |
| FatSecret (Basic) | Commercial | Free tier | Not publicly specified | 5,000 calls/day | Free tier; localized country datasets on Premier |
| Edamam (Basic) | Commercial | US$14/mo | 50 food requests/min | 100,000 calls/month | NLP ingredient parser, measures, diet/allergy filters |
| Spoonacular (Cook) | Commercial | US$29/mo | 5 requests/sec | 1,500 points/day (weighted) | Recipes, meal planning, ingredient workflows |
| Nutritionix | Commercial | Quote / contact | Not specified | Not specified | Natural-language food logging; large US catalog |
| DietlyAPI (Pro) | Commercial | €27/mo | 500 requests/min per account | No monthly call cap | High-throughput fuzzy search + barcode lookup |
| DietlyAPI (Scale) | Commercial | €92/mo | 3,000 requests/min per account | No monthly call cap | As Pro, higher throughput |
Providers meter capacity differently. Some (Edamam, Spoonacular, FatSecret) enforce a monthly or daily quota, so sustained throughput is bounded by that allowance. Others (USDA, DietlyAPI) apply a per-interval rate ceiling with no separate monthly credit, so capacity depends on the sustained rate. Spoonacular’s point weighting means a nominal quota does not map one-to-one to calls.
What each option is best at
Open Food Facts
A free, crowdsourced global database of packaged products, keyed by barcode. Reads need no login, but the hosted search endpoint is limited (10 req/min/IP) and is not intended for search-as-you-type; high-volume users are pointed to bulk exports or self-hosting.
USDA FoodData Central
The authoritative US reference dataset (Foundation, FNDDS, SR Legacy and branded foods), free and in the public domain. Its API needs a free data.gov key and defaults to 1,000 requests/hour per IP.
FatSecret
A commercial platform with a free Basic tier (5,000 calls/day) and a Premier tier that adds many country datasets. A free Premier programme is available to eligible startups, nonprofits and students after verification.
Edamam
Strong structured food NLP in the entry price range: its Basic plan is US$14/month with 100,000 calls and adds an ingredient parser, measures and diet/allergy filters. Caching rights are restricted.
Spoonacular
Recipe-oriented. The US$29 Cook plan covers recipe and ingredient tooling with a point-weighted daily quota; it is not a like-for-like food catalog, and cached data generally must be deleted after an hour.
Nutritionix
Owned by Syndigo, focused on natural-language food logging over a large US-centric catalog. Current numeric pricing and limits are not published; access is quote-based.
DietlyAPI
Built on Open Food Facts plus USDA FoodData Central, focused on high-throughput fuzzy food search, barcode lookup, stable IDs and per-100g nutrients. Paid plans are rate-limited with no monthly call cap. It does not offer recipe analysis, NLP meal parsing or image recognition.
How to choose
- Open, downloadable worldwide product data — Open Food Facts.
- Authoritative US reference values — USDA FoodData Central.
- Natural-language parsing, measures, diet/allergy filters — Edamam.
- Recipes and ingredient workflows — Spoonacular.
- Natural-language food logging (US-centric) — Nutritionix.
- High-throughput fuzzy search + barcode lookup, flat pricing — DietlyAPI.
Head-to-head pages
Get the API