We've analyzed and compared the top 4 API providers supporting Nutritional data for Nigerian developers and businesses. Find the right infrastructure fit for your startup below.
Written by Editorial Staffs as at 22nd June, 2026
| Feature | ||||
|---|---|---|---|---|
| Pricing | Free tier with 10,000 calls/month on recipe search; paid plans for nutrition and diet APIs | Free tier with 150 points/day; paid plans from $29/month for higher quotas | Completely free and open-source; no API key required | Free tier with 30 API calls/day; paid plans from $29/month |
| Recipe search | Yes | Yes | No | No |
| Nutritional data | Yes | Yes | Yes | Yes |
| Diet filters | Yes | No | No | No |
| Allergen info | Yes | No | No | No |
| Ingredient parser | Yes | No | No | No |
| Ingredient parsing | No | Yes | No | No |
| Meal planning | No | Yes | No | No |
| Price estimation | No | Yes | No | No |
| Barcode lookup | No | No | Yes | Yes |
| Ingredient data | No | No | Yes | No |
| Product search | No | No | Yes | No |
| Allergen labels | No | No | Yes | No |
| Diet filtering | No | No | No | Yes |
| Ingredient search | No | No | No | Yes |
| Name search | No | No | No | Yes |
| View Details | View Details | View Details | View Details |
Edamam Recipe Search API provides access to a database of over 2 million recipes with nutritional analysis, dietary labels, and allergen information, making it one of the most nutrition-focused recipe APIs available. Edamam specializes in the intersection of food data and health data — every recipe in their database has been analyzed against USDA nutritional databases to calculate precise macro and micronutrient values per serving. Recipe search accepts natural language queries and returns matching recipes with title, source URL, yield (number of servings), ingredients list, calorie count per serving, total and per-serving nutrient breakdowns, diet labels, health labels, and caution flags. The diet labels categorize recipes as balanced, high-protein, high-fiber, low-fat, low-sodium, or low-carb based on their nutritional profile. Health labels identify recipes suitable for specific dietary patterns: vegan, vegetarian, paleo, keto, whole30, Mediterranean, DASH, and more. For Nigerian health apps, the diabetic-friendly and low-glycemic health labels are particularly relevant given Nigeria's growing diabetes prevalence. Allergen filtering is a safety-critical feature. Recipes can be filtered to exclude any of the 14 major allergens: gluten, dairy, eggs, soy, wheat, peanuts, tree nuts, fish, shellfish, sesame, and more. The API also accepts custom ingredient exclusions — users who are intolerant to a specific ingredient (like palm oil or groundnuts common in Nigerian cuisine) can exclude it from all results. This makes Edamam essential infrastructure for food apps serving users with dietary restrictions. The Ingredient Nutrition API (separate from Recipe Search) accepts raw ingredient text and returns nutritional data per serving. Text like "100g of eba" or "one cup of egusi soup" can be nutritionally analyzed after parsing. For Nigerian food and diet tracking apps, the ability to analyze Nigerian-specific ingredients and dishes provides nutritional information that generic international food databases often lack. Meal planning features allow the API to generate daily and weekly meal plans that meet specified calorie and nutrient targets while respecting diet preferences. Nigerian wellness coaches and dietitians can build client-facing meal plan generation tools without manually calculating nutritional requirements for each client. The Recipe Nutrition Widget is a visual component Edamam provides for displaying nutritional facts panels in a standard label format. Rather than building a custom nutrition display component, developers can embed the widget with the recipe ID and receive a rendered nutrition facts label matching FDA/EFSA format expectations. For Nigerian health apps that need to communicate nutritional content clearly and credibly to users, the standardized label format is more trusted than custom data visualizations. Edamam also offers a separate Food and Grocery Database API that focuses on individual food ingredients rather than complete recipes — nutritional data for raw foods like "100g of uncooked rice" or "one medium plantain." For Nigerian food tracking apps where users log individual food items they eat rather than following recipes, this ingredient-level database complements the recipe search by covering the full range of what a Nigerian user might eat at home or in a restaurant. Edamam's recipe nutrition labeling complies with FDA nutritional labeling standards, making the generated nutrition facts panels legally appropriate for food products sold in the US. Nigerian food entrepreneurs who export to the US or apply for US distribution can use Edamam's computed nutrition data as a starting point for their product's required FDA nutrition facts label.
Spoonacular API is one of the most comprehensive food and recipe APIs available, providing access to over 1 million recipes along with detailed nutritional analysis, ingredient parsing, meal planning, and grocery list generation. Unlike simpler recipe databases that only store recipe text, Spoonacular performs active nutritional computation — calculating calories, macronutrients, vitamins, minerals, and allergen flags for each recipe based on ingredient composition and serving size. Recipe search is the primary entry point and offers extensive filtering options. Developers can search by keyword, cuisine type, diet type (vegetarian, vegan, gluten-free, dairy-free, keto), maximum preparation time, maximum calories, included or excluded ingredients, and meal type (breakfast, lunch, dinner, snack, dessert). Cuisine filtering covers Nigerian-relevant categories including African cuisine, as well as Mediterranean, Asian, American, and European categories. The combination of diet and ingredient filters makes it possible to build highly personalized recipe recommenders. The nutritional analysis features are what set Spoonacular apart from free alternatives. Each recipe response includes complete nutrition facts per serving: calories, carbohydrates, protein, fat, saturated fat, fiber, sugar, sodium, vitamins A, C, D, E, K, B6, B12, folate, calcium, iron, potassium, and magnesium. This granular data supports applications that help users meet specific dietary goals — Nigerian diabetes management apps, weight loss platforms, and sports nutrition tools all require accurate nutritional data that goes beyond simple calorie counts. Ingredient parsing converts raw text ingredient strings (like "2 cups all-purpose flour") into structured data with ingredient name, quantity, unit, and preparation notes. This parsing capability allows applications to accept user-submitted recipes in free-text format and automatically extract structured ingredient data for shopping list generation and nutritional computation. Meal planning endpoints generate complete weekly meal plans that satisfy specified calorie and macronutrient targets, with automatic shopping list generation organized by supermarket aisle category. Nigerian health and wellness apps can use this to deliver nutritionist-quality meal plans to users at scale without requiring individual consultation with a dietitian. The wine and cocktail databases are separate API offerings from Spoonacular that complement the core recipe product. Wine pairing recommendations suggest appropriate wine types for specific dishes — Nigerian upscale restaurant apps can use wine pairing data to enhance their menu experience. The cocktail database with ingredient lists and preparation instructions is useful for bar management apps and mixology platforms. For Nigerian corporate catering services and event management companies, Spoonacular's meal planning API provides the foundation for building scalable menu planning tools. When an event company needs to plan menus for 50 different dietary combinations (vegetarian, gluten-free, diabetic-friendly variations of a wedding buffet), the meal planning endpoint can generate compliant options systematically. This automation replaces hours of manual dietary cross-referencing with API calls that return validated, nutritionally-analyzed menu options meeting the specified dietary constraints. Spoonacular's Cooking Equipment API identifies the kitchen tools and appliances required for each recipe — oven, blender, frying pan, mortar and pestle. For Nigerian cooking apps that serve users across different household kitchen setups, filtering recipes by available equipment ensures recipe suggestions are actually executable with what the user has at home. A user without an oven gets different recipe suggestions than one with full kitchen appliances.
Open Food Facts API is a free, open-source food product database maintained by a global community of volunteers who scan and submit packaged food product information from supermarkets worldwide. The database contains product data for over 2 million packaged foods from more than 160 countries, accessible through a completely free API with no authentication required. As an open-source project similar to Wikipedia, the data is user-contributed, community-verified, and freely licensed for any use. The barcode lookup endpoint is the primary use case. Developers submit a product barcode (EAN-13, UPC-A, or similar) and receive all available product data: product name, brand, categories, ingredients list, nutritional facts table (per 100g), allergen labels, Nutri-Score (European nutritional quality grade), Nova group (degree of food processing), Eco-Score (environmental impact), countries where the product is sold, and packaging information. For Nigerian nutrition apps that help users make informed food choices at the supermarket, barcode scanning powered by Open Food Facts provides instant product intelligence. The ingredients list data is valuable for allergen detection and dietary filtering. Each product's ingredients string identifies components that users with specific allergies or dietary restrictions need to avoid. Parsing the ingredients list with allergen keywords (peanuts, gluten, dairy, soy) alerts users before purchase. Nigerian health apps serving users with celiac disease, lactose intolerance, or nut allergies can integrate barcode scanning to dramatically reduce the effort of safe food selection during grocery shopping. Product search allows text-based queries by product name, brand, or ingredient, with filtering by country, category, and Nutri-Score grade. For Nigerian dietary research applications, the ability to search all products in a specific category (soft drinks, breakfast cereals, snacks) and filter by nutritional quality enables comparative food analysis. The Nigerian product coverage reflects the global community's submission patterns — popular international brands available in Nigerian supermarkets (Nestlé products, Procter and Gamble, Unilever) have good coverage, while smaller local Nigerian brands may be missing or incomplete. Developers can contribute to the database by adding Nigerian products, improving coverage over time. The Open Food Facts project actively encourages product contributions, and Nigerian developers can significantly improve the database's Nigeria coverage by implementing a contribution workflow in their apps. When a user scans a barcode not found in the database, the app can prompt them to photograph the front, back (nutrition label), and ingredients list of the product, submitting this data to Open Food Facts. Over time, crowdsourcing through Nigerian apps with large user bases would substantially improve the quality and completeness of Nigerian product coverage — benefiting not just one app but the entire global Open Food Facts database. The Eco-Score and environmental packaging data available in Open Food Facts is increasingly relevant as Nigerian consumers become more environmentally conscious. Products are rated on a scale from A to E based on their environmental footprint — production method, transportation, packaging recyclability, and product origin. Nigerian sustainability apps and environmentally-focused consumer guides can use this data to help Nigerian shoppers make environmentally informed food purchasing decisions alongside nutritional considerations. Open Food Facts data exports are available in CSV and JSON format for bulk downloads, providing Nigerian developers who need to preload a large local product database with an efficient alternative to individual API calls per product.
Chomp Food API is a comprehensive food and nutrition database providing normalized, audited data on over 1.2 million grocery products, branded foods, and raw ingredients. The API is built by developers for developers, making it production-ready for food and nutrition applications. Core capabilities: (1) PRODUCT DATABASE - Access 1.2M+ food items including branded foods, grocery products, and raw ingredients with complete nutritional data; (2) BARCODE LOOKUP - Search food products by UPC/barcode codes for quick product identification; (3) INGREDIENT SEARCH - Search foods by ingredient names to find products containing or avoiding specific ingredients; (4) NAME SEARCH - Full-text search by product name to discover foods and their nutritional information; (5) NUTRITION DATA - Complete macro and micronutrient information per serving; (6) DIET FILTERING - Find diet-friendly foods (vegan, vegetarian, gluten-free) and products for specific dietary needs; (7) AUDITED DATA - All data is audited daily ensuring accuracy and quality; (8) CACHING RIGHTS - Ability to cache data (24 hours on Standard, indefinite on Premium); (9) DATA STORAGE - Store normalized data in your application based on plan tier. Perfect for nutrition apps, diet tracking platforms, food delivery services, grocery shopping assistants, meal planning applications, and restaurant menus. The Chomp API differentiates itself through data quality controls. Each product's nutritional data is verified against manufacturer-published nutrition facts panels, reducing the data errors that commonly affect crowd-sourced food databases. For Nigerian health apps where users make dietary decisions based on nutritional data, accuracy is a safety consideration — inaccurate calorie counts can undermine weight management goals and potentially harm users with medical dietary requirements like diabetes management. Allergen flagging within the Chomp database identifies products containing the 14 major food allergens, helping applications surface warnings to users with specific sensitivities. For Nigerian food apps serving users with peanut allergies, gluten intolerance, or dairy sensitivity, allergen data enables proactive warnings before consumption rather than reactive symptom management. The ingredient search capability allows querying for all products that contain or exclude a specific ingredient — building an "avoid palm oil" or "contains groundnuts" filter list for Nigerian users with specific dietary restrictions. Caching rights in the paid plans allow developers to store Chomp data locally in their application database, reducing API call volume for high-traffic applications and enabling offline functionality. For Nigerian mobile apps where users may browse nutritional information while offline at a market or supermarket, locally cached product data continues to function without an active data connection. The tiered caching rights (24 hours on Standard, indefinite on Premium) give developers flexibility to optimize their data freshness strategy against storage and API call costs. The Chomp API also includes a Restaurant API component covering menu items from chain restaurants with standardized nutritional data for franchise menu items. For Nigerian food delivery platforms that partner with international fast food chains present in Nigeria — KFC, Dominos, Chicken Republic — menu item nutritional data from Chomp can populate in-app nutritional information displays, helping Nigerian users make informed choices when ordering. This closes the gap between packaged food nutrition (covered by barcode scan) and restaurant meal nutrition in a comprehensive Nigerian food tracking application.