Allergens and diets
Allergens and diets on every recipe
Every recipe answers yes or no for the 14 allergens EU law regulates, plus the US definitions of wheat and tree nuts. It also says whether it is vegan, vegetarian, pescatarian, gluten-free or dairy-free.
Free plan. No credit card.
Peanut satay noodles
Informational only. Always verify ingredients and product labels.
The 14 EU allergens, plus two from the US
Every recipe is checked against the 14 allergens EU food law regulates. Add without= to a search or a recipe list and the ones you name stay out.
- Celery
- Crustaceans
- Eggs
- Fish
- Cereals containing gluten
- Lupin
- Milk
- Molluscs
- Mustard
- Nuts
- Peanuts
- Sesame
- Soy
- Sulphites
- Wheat (US)
- Tree nuts (US)
An answer for every allergen
True or false for each regulated allergen, on every recipe.
EU and US definitions
Wheat and tree nuts as the EU defines them, and as the US does.
Exclude in one parameter
without=milk,eggs returns only recipes free of all of them.
Five diets. Nothing guessed.
Filter the recipe list by diet on the Business plan. On every plan, similar recipes keep to a diet you name. When a recipe does not fit, /substitutions says what to use instead of a single ingredient.
import { createClient } from 'tiny-plates'
const tinyPlates = createClient({ apiKey })
// Listing recipes is on the Business plan.
const desserts = await tinyPlates.recipes.list({
course: 'dessert',
diet: 'vegan',
without: ['peanuts']
})Five diets
Vegan, vegetarian, pescatarian, gluten-free and dairy-free.
Only when it fits
A recipe we cannot place stays out, so a vegan list holds only vegan recipes.
An alternative that fits
/similar?diet=vegan finds a close match that fits instead.
The endpoints
- GET /search?without=milkSearch without the allergens you list.
- GET /recipes?diet=gluten-freeRecipes for a diet, without allergens. Business plan.
- GET /recipes/{id}/similar?diet=A similar recipe that fits the diet.
- GET /vocabulariesThe allergen and diet ids.
When another API fits better
Edamam tags recipes with more diet and health labels, such as keto, paleo and low-FODMAP. If those are what your users filter on, it covers more of them. Tiny Plates sticks to the 14 EU allergens, the US wheat and tree nut definitions, and five diets.
Allergen data is informational: anyone with an allergy should still check the ingredients and labels.
Questions
Which allergens are covered?
Celery, crustaceans, eggs, fish, cereals containing gluten, lupin, milk, molluscs, mustard, nuts, peanuts, sesame, soy and sulphites, which are the 14 the EU regulates. Wheat and tree nuts follow the US definitions.
How do I exclude an allergen?
Add without=milk,peanuts to a search or a recipe list. Recipes that contain either are left out.
Which diets can I filter on?
Vegan, vegetarian, pescatarian, gluten-free and dairy-free. When a recipe’s fit for a diet is not certain, it is left out of that diet’s results.
Can I rely on the allergen data for medical use?
No. The data helps people find recipes that suit them, and anyone with an allergy should still check the ingredients and labels before cooking.
Guides
Longer reads on the blog, with code you can copy.
- recipes
- 12,000+
- EU allergens, plus 2 from the US
- 14
- nutrient filters
- 10
- diets
- 5
- languages
- 3
- MCP tools
- 12
Real recipes. Ready for your app.
The free plan gives you 50 requests a day and 300 a week. Paid plans start at $5 a month.
No credit card. See pricing