# Tasty ingredients API

Get Tasty Ingredients data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as letter, output, raw, and retrieve structured data including ingredient title, ingredient page slug, directory letter, ingredient source URL, and returned ingredient count for food discovery, and recipe catalogue, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/tasty/tasty-ingredients-api/362cfa33-fbd3-4353-8d31-52fb8692b7b2/
API ID: 362cfa33-fbd3-4353-8d31-52fb8692b7b2
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/tasty/v1/ingredients
Page update time: 2026-12-03T02:44:54.623Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / billing credit
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:44:53.825Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "rules",
  "parameters": [],
  "policy_version": 2,
  "sale": {
    "addons": [],
    "base_price_micro_usd": "0",
    "max_cost_micro_usd": "2000",
    "quantities": [
      {
        "id": "upstream_credits",
        "label": "Actual API.SH credits used",
        "max_quantity": "1",
        "measure": "value",
        "pointer": "/credits_used",
        "price_micro_usd": "2000",
        "quantity_scale": 0,
        "source": "response",
        "unit": "credit",
        "unit_quantity": "1"
      }
    ],
    "rounding": "ceil",
    "variants": []
  }
}
```

## Usage and limits
## Tasty Ingredients API

letter optionally restricts the directory to one A–Z letter. Each ingredient includes title, slug, letter and source URL. The directory identifies ingredient discovery pages, rather than the ingredient quantities of a selected recipe; no page input is exposed.

## What You Can Build

- **Food discovery**: Connect the returned source identities with a recipe browsing or discovery interface.
- **Recipe catalogue**: Retain record type and source identity when organising recipes and related editorial content.

## Returned Data

| Field | Meaning |
| --- | --- |
| `ingredients[].title` | Ingredient title |
| `ingredients[].slug` | Ingredient page slug |
| `ingredients[].letter` | Directory letter |
| `ingredients[].url` | Ingredient source URL |
| `count` | Returned ingredient count |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Tasty ingredients API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "letter": {
          "type": "string",
          "description": "Only one letter (A-Z)."
        },
        "raw": {
          "type": "string",
          "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
          "enum": [
            "0",
            "1"
          ]
        },
        "fields": {
          "type": "string",
          "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included."
        },
        "fresh": {
          "type": "string",
          "description": "1 skips the 24-hour cache and fetches live.",
          "enum": [
            "1"
          ]
        },
        "output": {
          "type": "string",
          "description": "JSON only for this OpenAny product. CSV and NDJSON exports are not supported; omit output or send json.",
          "enum": [
            "json"
          ]
        },
        "records": {
          "type": "string",
          "description": "With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row."
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "cached": {
      "type": "boolean"
    },
    "count": {
      "type": "integer"
    },
    "credits_used": {
      "type": "integer"
    },
    "fetched_at": {
      "type": "string"
    },
    "ingredients": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "description": {
            "type": "null"
          },
          "letter": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        }
      }
    },
    "letter": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Official example · Live API.SH response · Minimal request
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/tasty/v1/ingredients?letter=C&output=json&raw=0' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "cached": false,
  "count": 38,
  "credits_used": 1,
  "fetched_at": "2026-11-19T12:19:57.320Z",
  "ingredients": [
    {
      "description": null,
      "letter": "C",
      "slug": "cabbage",
      "title": "Cabbage",
      "url": "https://tasty.co/ingredient/cabbage"
    },
    {
      "description": null,
      "letter": "C",
      "slug": "cake-flour",
      "title": "Cake flour",
      "url": "https://tasty.co/ingredient/cake-flour"
    },
    {
      "description": null,
      "letter": "C",
      "slug": "caper",
      "title": "Caper",
      "url": "https://tasty.co/ingredient/caper"
    },
    {
      "description": null,
      "letter": "C",
      "slug": "cardamom",
      "title": "Cardamom",
      "url": "https://tasty.co/ingredient/cardamom"
    },
    {
      "description": null,
      "letter": "C",
      "slug": "carrot",
      "title": "Carrot",
      "url": "https://tasty.co/ingredient/carrot"
    },
    {
      "description": null,
      "letter": "C",
      "slug": "cauliflower",
      "title": "Cauliflower",
      "url": "https://tasty.co/ingredient/cauliflower"
    },
    {
      "description": null,
      "letter": "C",
      "slug": "cayenne-pepper",
      "title": "Cayenne pepper",
      "url": "https://tasty.co/ingredient/cayenne-pepper"
    },
    {
      "description": null,
      "letter": "C",
      "slug": "celery",
      "title": "Celery",
      "url": "https://tasty.co/ingredient/celery"
    },
    {
      "description": null,
      "letter": "C",
      "slug": "cheddar-cheese",
      "title": "Cheddar cheese",
      "url": "https://tasty.co/ingredient/cheddar-cheese"
    },
    {
      "description": null,
      "letter": "C",
      "slug": "cheese",
      "title": "Cheese",
      "url": "https://tasty.co/ingredient/cheese"
    },
    {
      "description": null,
      "letter": "C",
      "slug": "cherry",
      "title": "Cherry",
      "url": "https://tasty.co/ingredient/cherry"
    },
    {
      "description": null,
      "letter": "C",
      "slug": "chia-seed",
      "title": "Chia seed",
      "url": "https://tasty.co/ingredient/chia-seed"
    },
    {
      "description": null,
      "letter": "C",
      "slug": "chicken",
      "title": "Chicken",
      "url": "https://tasty.co/ingredient/chicken"
    },
    {
      "description": null,
      "letter": "C",
      "slug": "chicken-breast",
      "title": "Chicken breast",
      "url": "https://tasty.co/ingredient/chicken-breast"
    },
    {
      "description": null,
      "letter": "C",
      "slug": "chicken-thigh",
      "title": "Chicken thigh",
      "url": "https://tasty.co/ingredient/chicken-thigh"
    },
    {
      "description": null,
      "letter": "C",
      "slug": "chicken-wing",
      "title": "Chicken wing",
      "url": "https://tasty.co/ingredient/chicken-wing"
    },
    {
      "description": null,
      "letter": "C",
      "slug": "chickpea-flour",
      "title": "Chickpea flour",
      "url": "https://tasty.co/ingredient/chickpea-flour"
    },
    {
      "description": null,
      "letter": "C",
      "slug": "chickpeas",
      "title": "Chickpeas",
      "url": "https://tasty.co/ingredient/chickpeas"
    },
    {
      "description": null,
      "letter": "C",
      "slug": "chives",
      "title": "Chives",
      "url": "https://tasty.co/ingredient/chives"
    },
    {
      "description": null,
      "letter": "C",
      "slug": "chocolate",
      "title": "Chocolate",
      "url": "https://tasty.co/ingredient/chocolate"
    },
    {
      "description": null,
      "letter": "C",
      "slug": "cilantro",
      "title": "Cilantro",
      "url": "https://tasty.co/ingredient/cilantro"
    },
    {
      "description": null,
      "letter": "C",
      "slug": "cinnamon",
      "title": "Cinnamon",
      "url": "https://tasty.co/ingredient/cinnamon"
    },
    {
      "description": null,
      "letter": "C",
      "slug": "clove",
      "title": "Clove",
      "url": "https://tasty.co/ingredient/clove"
    },
    {
      "description": null,
      "letter": "C",
      "slug": "cocoa-powder",
      "title": "Cocoa powder",
      "url": "https://tasty.co/ingredient/cocoa-powder"
    },
    {
      "description": null,
      "letter": "C",
      "slug": "coconut",
      "title": "Coconut",
      "url": "https://tasty.co/ingredient/coconut"
    },
    {
      "description": null,
      "letter": "C",
      "slug": "coconut-oil",
      "title": "Coconut oil",
      "url": "https://tasty.co/ingredient/coconut-oil"
    },
    {
      "description": null,
      "letter": "C",
      "slug": "coriander",
      "title": "Coriander",
      "url": "https://tasty.co/ingredient/coriander"
    },
    {
      "description": null,
      "letter": "C",
      "slug": "coriander-seed",
      "title": "Coriander seed",
      "url": "https://tasty.co/ingredient/coriander-seed"
    },
    {
      "description": null,
      "letter": "C",
      "slug": "corn-flour",
      "title": "Corn flour",
      "url": "https://tasty.co/ingredient/corn-flour"
    },
    {
      "description": null,
      "letter": "C",
      "slug": "corn-kernel",
      "title": "Corn kernel",
      "url": "https://tasty.co/ingredient/corn-kernel"
    },
    {
      "description": null,
      "letter": "C",
      "slug": "cornmeal",
      "title": "Cornmeal",
      "url": "https://tasty.co/ingredient/cornmeal"
    },
    {
      "description": null,
      "letter": "C",
      "slug": "cotija-cheese",
      "title": "Cotija cheese",
      "url": "https://tasty.co/ingredient/cotija-cheese"
    },
    {
      "description": null,
      "letter": "C",
      "slug": "courgette",
      "title": "Courgette",
      "url": "https://tasty.co/ingredient/courgette"
    },
    {
      "description": null,
      "letter": "C",
      "slug": "crab",
      "title": "Crab",
      "url": "https://tasty.co/ingredient/crab"
    },
    {
      "description": null,
      "letter": "C",
      "slug": "cranberry",
      "title": "Cranberry",
      "url": "https://tasty.co/ingredient/cranberry"
    },
    {
      "description": null,
      "letter": "C",
      "slug": "cream-cheese",
      "title": "Cream cheese",
      "url": "https://tasty.co/ingredient/cream-cheese"
    },
    {
      "description": null,
      "letter": "C",
      "slug": "cucumber",
      "title": "Cucumber",
      "url": "https://tasty.co/ingredient/cucumber"
    },
    {
      "description": null,
      "letter": "C",
      "slug": "cumin",
      "title": "Cumin",
      "url": "https://tasty.co/ingredient/cumin"
    }
  ],
  "letter": "C"
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Can I filter one letter?
Yes. Set letter to one A–Z letter.

### Does this return recipe ingredient quantities?
No. It is an ingredient-page directory; use Recipe for quantities.

### How do I browse recipes for an ingredient?
Use its slug with Topic Recipes and the supported ingredient page type.

### Can I paginate the directory?
No page or cursor input is exposed.

### How do I bypass cached results?
Pass fresh=1. A cache bypass retrieves available source data; it does not make unpublished or restricted records available.

### Can I request CSV or NDJSON?
This OpenAny implementation serves JSON only. Omit output or set output=json.

## Available implementations
- apish: https://openany.si/tasty/tasty-ingredients-api/362cfa33-fbd3-4353-8d31-52fb8692b7b2/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
