---
title: "Grocery List API: turn recipes into a shopping list — Tiny Plates"
description: "Build grocery and shopping list features on a recipe API. Combine up to 20 recipes into one list, with quantities added up and grouped by aisle."
url: "https://www.tinyplates.dev/use-cases/grocery-and-shopping-lists"
---

Grocery and shopping lists

# From recipes to a shopping list in one call

Three recipes that each need an onion should give you a list that says three onions, under produce. Tiny Plates adds up the quantities, groups the list by aisle and writes the totals the way people shop.

[Get a free API key](https://www.tinyplates.dev/sign-up)[Try the shopping list example](https://www.tinyplates.dev/examples/shopping-list)

Free plan. No credit card.

Shopping list21 items · 5 aisles

* Chicken Tikka Masala· 6 servings
* Chicken and Tomato Pasta Bake· 4 servings

### dairy

* 250 ml double cream
* 200 g mozzarella
* 1 cup + 3 tbsp pecorino romano
* 200 g plain yogurt

### meat

* 1.2 kg chicken thighs

### pantry

* 300 g basmati rice
* 1.2 kg canned tomatoes
* 2 tbsp olive oil
* 350 g penne
* 2 tbsp tomato paste
* 2 tbsp vegetable oil

### produce

* 250 g cherry tomatoes
* 30 g fresh ginger
* 6 cloves garlic
* 5 onion

### spices

* black pepper
* 1 tsp dried oregano
* 2 tbsp garam masala
* 2 tsp ground cumin
* salt
* 1 tsp turmeric

## Why shopping lists are harder than they look

A recipe says “2 cups of flour”, another “250 g plain flour”, a third “1 large onion, diced”. A useful list adds those up, knows plain flour is flour, drops the dicing, and puts it all in the order people walk the store.

With Tiny Plates it is one request.

## Pick the recipes. Get the list.

Each item lists the recipes it is for, so people can see why something is on the list and take a recipe off again.

[Try the shopping list example](https://www.tinyplates.dev/examples/shopping-list)

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

const tinyPlates = createClient({ apiKey })

const list = await tinyPlates.shoppingList.build([
  { id: '6a9820a88f8122ec891b680b', servings: 6 },
  { id: '6a9820e58f8122ec891b68a4' }
])
```

* ### Shop for this week  
Turn a meal plan into a list with one button.
* ### A list that grows  
Add each recipe people save, and the totals follow.
* ### One list for the family  
Everyone adds dinners. Everyone sees one total.

## The endpoints

* [GET /shopping-list](https://www.tinyplates.dev/docs/api/shopping-list)Up to 20 recipes into one list, by aisle.
* [GET /recipes/{id}?units=imperial](https://www.tinyplates.dev/docs/api/get-recipe)The recipe scaled, in metric or imperial.
* [GET /ingredients/resolve](https://www.tinyplates.dev/docs/api/resolve-ingredients)Match what people type to ingredients.
* [GET /substitutions](https://www.tinyplates.dev/docs/api/substitutions)Something to buy instead.

[Shopping list in the docs](https://www.tinyplates.dev/docs/api/shopping-list)

## Where Tiny Plates stops

The list holds ingredients and quantities. It has no store products, brands or prices, so you cannot check out with it as it is. If you need that, Spoonacular has a grocery product database, or you can pair Tiny Plates with a retailer’s own product API.

## Questions

### What is hard about building a shopping list?

Matching ingredients across recipes, adding up quantities in different units and writing the totals so they read naturally. Send recipe ids to /shopping-list and you get all three done.

### Can I match the list to store products?

Not yet. The list holds ingredients and quantities. To map items to products and prices in a store, pair it with a grocery product API, or Spoonacular, which has both.

### Can I tell which recipe needs which item?

Yes. Every item lists the ids of the recipes that need it, so you can show where an item comes from or remove a recipe and rebuild the list.

## Guides

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

* [One shopping list for a week of recipes](https://www.tinyplates.dev/blog/one-shopping-list-for-a-week-of-recipes)
* [A weekly meal plan with a grocery list](https://www.tinyplates.dev/blog/weekly-meal-plan-with-grocery-list)

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)
