---
title: "What to use instead, in what amount, and when not to."
method: GET
path: "/substitutions"
tags: ["substitutions"]
---

# What to use instead, in what amount, and when not to.

`GET /substitutions`

## Request

- Base URL: `https://api.tinyplates.dev`
- URL: `https://api.tinyplates.dev/substitutions`
- Auth: none required

What to use instead of an ingredient. `ingredients` is a comma-separated list of ingredient names or canonical ids. Each option says how much to use for one unit of the original, how to handle it, and what it cannot be used for. Ingredients nothing is known to substitute for come back in `unknown` rather than with a plausible guess.

## Query parameters

- `ingredients` string, required

## Response `200`

Success

- object
  - `substitutions` object[], required
    - `ingredient` string, required
    - `options` Substitution[], required
      - `caution` string: What this swap cannot be used for. Present when the substitute changes the dish in a way the cook has to know about.
      - `ingredient` string, required
      - `note` string: How to prepare or handle the substitute.
      - `ratio` number, required: How much substitute to use for one unit of the original: 0.75 means three quarters as much.
  - `unknown` string[], required: The ingredients asked about that nothing is known to substitute for. Nothing is suggested for them, rather than something plausible that would not work.

## Other responses

- `400`: The request did not match the expected schema
- `401`: ApiKeyDisabledError
- `429`: DailyAllowanceExceededError
- `500`: InternalError

---

[API](https://skmtc.dev/tinyplates/apis/tiny-plates-api.md) · [All operations](https://skmtc.dev/tinyplates/apis/tiny-plates-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tinyplates/apis/tiny-plates-api/revisions/514440dcbb5d?raw)
