---
title: "Allergen and Diet API: EU allergens and diet filters for recipes — Tiny Plates"
description: "Allergen and diet data for every recipe: the 14 EU allergens, US wheat and tree nuts, and five diets from vegan to dairy-free. Exclude any allergen in one parameter."
url: "https://www.tinyplates.dev/products/allergens-and-diets"
---

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.

[Get a free API key](https://www.tinyplates.dev/sign-up)[Read about allergen data](https://www.tinyplates.dev/docs/recipe-object)

Free plan. No credit card.

## 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.

[Allergen and diet ids](https://www.tinyplates.dev/docs/api/vocabularies)

* 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](https://www.tinyplates.dev/products/ingredients) 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=milk](https://www.tinyplates.dev/docs/api/search-recipes)Search without the allergens you list.
* [GET /recipes?diet=gluten-free](https://www.tinyplates.dev/docs/api/list-recipes)Recipes for a diet, without allergens. Business plan.
* [GET /recipes/{id}/similar?diet=](https://www.tinyplates.dev/docs/api/similar-recipes)A similar recipe that fits the diet.
* [GET /vocabularies](https://www.tinyplates.dev/docs/api/vocabularies)The 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.

* [Allergen data for every recipe](https://www.tinyplates.dev/blog/allergen-data-for-every-recipe)
* [Ingredient lookup and pairings](https://www.tinyplates.dev/blog/ingredient-lookup-and-pairings)

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.

[Get a free API key](https://www.tinyplates.dev/sign-up)[Quickstart](https://www.tinyplates.dev/docs/quickstart)

No credit card. [See pricing](https://www.tinyplates.dev/pricing)
