Pantry and food waste
Cook from what is already in the fridge
Half a bag of spinach, two eggs and some feta should be enough for dinner. Send what someone has and get recipes they can make, with what is missing spelled out.
Free plan. No credit card.
A little closer to dinner.
PRODUCE
1 lemon
1 bunch parsley
Food goes off because nobody knows what to make
The spinach is wilting and there is a tub of ricotta with three days left. Most people do not lack ingredients; they lack an idea that uses the ones they have before they go off.
Spin what is in the fridge
Fridge Roulette is a small game built on /pantry: type what is in your fridge, spin, and land on a recipe you can cook.
Fridge Roulette
Live, on the real API. Go on, give it a spin.
Recipes they can make. Not just recipes that mention spinach.
Send what someone has. maxMissing=0 keeps only the recipes they can start right now.
import { createClient } from 'tiny-plates'
const tinyPlates = createClient({ apiKey })
const { recipes } = await tinyPlates.pantry.list({
ingredients: ['spinach', 'ricotta', 'eggs'],
maxMissing: 1
}){
"assumedIngredients": [
"flour"
],
"coverage": 0.75,
"missingIngredients": [
"caramel sauce",
"chopped dark chocolate"
]
}Best covered first
How much of each recipe the user can already cover.
What is missing
What to buy or swap before they start.
What was assumed
Salt, oil and the other staples, listed so you can show them.
The endpoints
- GET /pantryRecipes from what is at hand, best covered first.
- GET /substitutionsMake do without the missing ingredient.
- GET /ingredients/resolveTurn what people type into ingredients.
- GET /ingredients/{id}/pairingsWhat else would go with it.
Tiny Plates or Spoonacular?
Spoonacular also finds recipes by ingredients, from a much larger catalogue. If the number of recipes matters most, it is a good choice. Tiny Plates tells you which staples it assumed, lets you combine pantry search with nutrition and allergen filters, and gives you substitutions for what is missing, on the free plan.
Questions
How do I find recipes from the ingredients I have?
Send the ingredients to /pantry. Each recipe comes back with how much of it you cover, what matched, what is missing and which common staples were assumed.
Can I allow one or two missing ingredients?
Set maxMissing=0 for recipes that need nothing else, or maxMissing=1 or 2 to allow a quick trip to the shop.
What about salt, oil and other staples?
Salt, pepper, water, oil, sugar and flour count as on hand by default, since most kitchens have them. Pass staples=false to count them as ingredients you need.
Is pantry search on the free plan?
Yes. Pantry search works on the free plan, with 50 requests a day and 300 a week.
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