Best Free Food APIs (August 2026)
Ranked by uptime + speed + free-tier quality. Updated every hour.
Looking for a free Food API that works today? The list below is ranked by our composite score — weighted 60% uptime, 30% response speed, and 10% free-tier accessibility, recalculated every hour from live checks. See our methodology for how the score is computed.
We track 4 free Food apis with live hourly checks. The current top pick is Spoonacular (100% 30-day uptime) , with a free tier of Free key, 150 points/day (roughly 50 recipe searches). 3 of the 4 require no API key at all, and 4 hold 99%+ uptime.
- #1 Spoonacular — 🟢 Online
Commercial-grade recipe, nutrition, and meal-planning API with ingredient substitution, wine pairing, and recipe parsing from a URL. The free tier is small but the data quality is well above the hobby databases.
Free key, 150 points/day (roughly 50 recipe searches)
- #2 TheMealDB — 🟢 Online
Recipe database API — 300+ meals with ingredients, instructions, images, and category/area filters. The classic API for food app tutorials and hackathon projects.
Free test key for development; supporter key for production
- #3 TheCocktailDB — 🟢 Online
Cocktail and drink recipe API — 600+ drinks with ingredients, measures, glass types, and images. Sister project of TheMealDB with the same access model.
Free test key for development; supporter key for production
- #4 Open Food Facts — 🟢 Online
Nonprofit database of 3 million+ packaged food products worldwide, searchable by barcode, with ingredients, allergens, Nutri-Score, and NOVA processing classification. The open answer to Nutritionix going paid-first.
No key, fair-use limits, requires an identifying User-Agent
The free Food API landscape in 2026
Food APIs cluster around three distinct datasets that people routinely confuse: recipes, packaged-product data, and nutrition analysis. TheMealDB and TheCocktailDB serve recipes. Open Food Facts serves barcode-scannable packaged products. Spoonacular attempts all three plus meal planning. Picking the wrong one produces a project where every feature is 80% finished and none of them ship.
The commercial history here is discouraging. Yummly's API disappeared after the Whirlpool acquisition. Nutritionix moved to a paid-first model. Edamam tightened its free tier. The durable survivors are the ones with unusual funding: TheMealDB and TheCocktailDB run on Patreon supporters, and Open Food Facts is a French nonprofit with over 3 million crowdsourced products and no key requirement at all.
Spoonacular is the one genuine freemium option worth knowing well. Its free tier is 150 points per day — points, not calls, which matters enormously — and it is the only one of the four that will take an arbitrary ingredient list and return structured nutrition. If your feature is nutritional analysis rather than recipe display, it is effectively the only free starting point.
How to choose a free Food API
Barcodes go to Open Food Facts, always. It is the only free source with genuine packaged-product coverage, it needs no key, and the data is open-licensed so you can cache and redistribute it without negotiating anything. Coverage is strongest in Europe, thinner in the US, and much thinner elsewhere — test with barcodes from your actual target market before you commit to the feature.
Recipe display goes to TheMealDB or TheCocktailDB. They are small, curated, image-rich and perfect for tutorials, demos and portfolio projects. They are not a production recipe corpus — a few hundred meals, not a few hundred thousand. If breadth of recipes is your product's actual value proposition, treat these as a prototype scaffold rather than a foundation.
Nutrition math goes to Spoonacular, and you budget for it. Learn the points table before you design your screens: different endpoints cost different amounts, and asking for extra data on a search response multiplies the cost per call. A single ingredient-substitution feature can burn a day's free budget across a dozen user sessions. Model the point cost per user action on paper first.
Common pitfalls when integrating Food apis
The most common mistake is shipping TheMealDB's test key. The value 1 works in the docs and in every tutorial ever written about it, which is precisely why it is throttled — and several endpoints (filter by multiple ingredients, latest meals, full random selections) are supporter-only and return empty results rather than a clear permission error. Get the supporter key before launch, not after the bug reports.
The second is trusting crowdsourced nutrition data. Open Food Facts is contributed by volunteers with phone cameras. Fields are frequently missing, occasionally wrong, and allergen tags are incomplete by nature. It is excellent for product discovery and comparison, and it is not safe as the sole input to anything medical, allergen-related or dietary-restriction-enforcing. Say as much in your UI.
The third is parsing TheMealDB's ingredient format naively. Ingredients and measures arrive as 20 numbered field pairs — strIngredient1 through strIngredient20, each with a matching strMeasure — and unused slots come back as empty strings or nulls inconsistently. Loop the full range, filter falsy values, and never assume the list is dense or contiguous.
Compare Food APIs
Side-by-side comparisons of the top Food APIs — free tier, uptime, and response time:
Frequently Asked Questions
What is the best free recipe API in 2026?
TheMealDB is the best genuinely free recipe API: free test key 1 works immediately for development, and a low-cost supporter key covers production use, with full recipes, ingredients and images. Its sister project TheCocktailDB uses the identical model for drinks. Spoonacular is far richer but its free tier caps you at 150 points/day, which works out to roughly 50 recipe searches.
Which free food API has nutrition and ingredient data?
Open Food Facts is the strongest free option: a nonprofit, no key required, and over 3 million products with ingredients, allergens, additives and Nutri-Score. It asks for a User-Agent header identifying your app and version. Spoonacular returns computed nutrition per recipe but burns your daily point budget quickly, and Nutritionix has moved to paid-only access.
Are there any free alternatives to Edamam and Yummly?
Yes, though the paid options have squeezed the market. Yummly's API was discontinued, Nutritionix went paid-only, and Edamam's free tier funnels you toward plans starting around $69/month. The remaining genuinely free routes are Open Food Facts for packaged-product nutrition and TheMealDB for recipes, with Spoonacular's free key at 150 points/day as a stopgap before its $29/month entry plan.
What are the rate limits on free food APIs?
Spoonacular is the strictest and uses a point system rather than raw calls: 150 points/day free, where a complex recipe search costs multiple points, so expect around 50 searches. TheMealDB and TheCocktailDB do not publish hard numbers but expect development-only traffic on the free test key. Open Food Facts has no formal cap and simply asks for reasonable use and an identifying User-Agent.
Can I use free food and recipe APIs commercially?
Only TheMealDB's supporter key and Spoonacular's paid plans clearly cover commercial use — TheMealDB's free test key 1 is explicitly development-only. Open Food Facts data is open-licensed under ODbL, so commercial use is allowed provided you attribute the project and share derivative databases. We measure uptime hourly; check the live ranking on this page, it updates every hour.
Guides for this category
Last verified: August 20, 2026 · Rankings recomputed hourly from live uptime data. Editorial content reviewed monthly against provider docs.