---
title: "Recipe Nutrition API: calories, macros and nutrient filters — Tiny Plates"
description: "Nutrition for every recipe: calories, protein, fat, carbs, fiber, sugar, salt and more per serving, per recipe and per 100 g. Filter any search by ten nutrients."
url: "https://www.tinyplates.dev/products/nutrition"
---

Nutrition

# Nutrition for every recipe, and filters on it

Calories, protein, fat, carbohydrates, fiber, sugar, salt and more, per serving, per recipe and per 100 g. Ask for recipes under 500 kcal with at least 30 g of protein, and that is what you get.

[Get a free API key](https://www.tinyplates.dev/sign-up)[Read about nutrition filters](https://www.tinyplates.dev/docs/filtering)

Free plan. No credit card.

## Filter by what is in the recipe

Search, pantry search and similar recipes take nutrient limits per serving on every plan, the free one included.

[Nutrition filters](https://www.tinyplates.dev/docs/filtering)

```
import { createClient } from 'tiny-plates'

const tinyPlates = createClient({ apiKey })

const { results } = await tinyPlates.search({
  query: 'chicken dinner',
  minProtein: 30,
  maxCalories: 500
})
```

* ### Ten nutrients  
Calories, protein, fat, saturated fat, carbs, sugar, fiber, salt, sodium and cholesterol.
* ### Limits that combine  
Set a minimum, a maximum or both, and combine as many as you like.
* ### Presets for common goals  
High-protein, low-calorie, high-fiber and low-sodium in one word.

## Three ways to count. One recipe.

Each recipe carries its nutrition per serving, per recipe and per 100 g, so you can show whichever your users think in.

[The recipe object](https://www.tinyplates.dev/docs/recipe-object)

* ### Per serving  
What one person eats.
* ### Per recipe  
What goes in the pot. It follows the servings when you scale.
* ### Per 100 g  
Compare a stew with a salad on equal terms.

## The endpoints

* [GET /search?minProtein=30](https://www.tinyplates.dev/docs/api/search-recipes)Search with nutrient limits and presets.
* [GET /recipes?maxCalories=500](https://www.tinyplates.dev/docs/api/list-recipes)Filter a course or cuisine by nutrients. Business plan.
* [GET /recipes/{id}?servings=2](https://www.tinyplates.dev/docs/api/get-recipe)Full nutrition, scaled to the servings.
* [GET /recipes/{id}/similar](https://www.tinyplates.dev/docs/api/similar-recipes)A lighter or higher-protein alternative.

## When another API fits better

Tiny Plates gives you nutrition for its own recipes. If your users type in their own ingredient lists and want them analyzed, Edamam’s nutrition analysis API is built for that. If you need packaged foods and barcodes, look at USDA FoodData Central or Open Food Facts. [Nutrition APIs compared](https://www.tinyplates.dev/blog/nutrition-apis-compared) goes through them.

The figures are general information, not medical or dietary advice.

Nutrition data: the Swedish Food Agency food database (CC BY 4.0) and USDA FoodData Central.

## Questions

### Which nutrients does a recipe include?

Calories and energy, protein, fat, saturated fat, carbohydrates, sugar, fiber, salt, sodium and cholesterol, plus micronutrients where we have them.

### Which nutrients can I filter on?

Ten: calories, carbohydrates, cholesterol, fat, fiber, protein, salt, saturated fat, sodium and sugar. Each takes a minimum and a maximum per serving, on every endpoint that returns recipes and on every plan.

### Does nutrition change when I scale a recipe?

Yes. Ask for a recipe with a different number of servings and the per-recipe totals follow. Per-serving and per-100 g figures stay the same.

### Can I send my own recipe and get its nutrition?

Not with Tiny Plates. It gives nutrition for the recipes it serves. To analyze an ingredient list your users type in, a nutrition analysis API such as Edamam’s is the better fit.

## Guides

Longer reads on the blog, with code you can copy.

* [Nutrition APIs compared](https://www.tinyplates.dev/blog/nutrition-apis-compared)
* [Scaling recipes](https://www.tinyplates.dev/blog/scaling-recipes)

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)
