Overview
Zestful is an ingredient parsing API that converts raw recipe ingredient strings like '2 cups all-purpose flour' into structured data with quantity, unit, and ingredient name. It uses machine learning to handle natural language variations in recipe text. Developers use it to build recipe apps, grocery list generators, and nutrition trackers.
Beginner Tip
Send a POST request with a JSON body containing an 'ingredients' array of strings to parse multiple ingredients at once. Always check the 'parseQuality' field in the response to gauge confidence.
Available Data
Example Response
{
"recipe": "Chicken Stir Fry",
"calories": 380,
"protein_g": 32,
"carbs_g": 28,
"fat_g": 14,
"ingredients": [
"chicken breast",
"bell pepper",
"soy sauce",
"garlic"
],
"prep_time_minutes": 20
} Field Reference
ingredientRaw The original ingredient string you submitted ingredientParsed.quantity Numeric quantity extracted from the ingredient string ingredientParsed.unit Unit of measurement such as cup, tsp, or oz ingredientParsed.product The ingredient product name, e.g. all-purpose flour parseQuality Confidence level of the parse result: high, medium, or low Implementation Example
const url = "https://zestfuldata.com/";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
headers: {
"X-API-Key": "YOUR_API_KEY"
}
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
Common Errors & Troubleshooting
Matrix Score Breakdown
Partially tested on Apr 5, 2026
Technical Specifications
Related Tags
Similar APIs
View All →Chomp
The Chomp API provides detailed nutritional data for millions of grocery products and restaurant menu items, including macros, ingredients, and allergen flags.
Edamam nutrition
The Edamam Nutrition Analysis API parses natural-language food descriptions such as "1 cup of oatmeal" or "200g chicken breast" and returns detailed nutritional breakdowns including calories, macros, vitamins, and minerals.
Edamam recipes
⭐ Beginner's PickThe Edamam Recipe Search API lets you search a database of over 2 million recipes filtered by ingredients, diet labels such as vegan or keto, meal type, and cuisine.
Kroger
The Kroger API gives developers access to product catalog data, pricing, store locations, and promotions from one of the largest US grocery chains.
LCBO
The LCBO API provides access to the Liquor Control Board of Ontario product catalog, including wines, spirits, and beers sold in Ontario, Canada.