Zestful · Schema

Zestful Parsed Ingredient

Structured representation of a parsed recipe ingredient from the Zestful API, including quantity, unit, product name, preparation notes, and USDA FoodData Central match.

FoodIngredientsParsersRecipesUSDA

Properties

Name Type Description
ingredientRaw string The original unparsed ingredient string as submitted.
ingredientParsed object Structured breakdown of the parsed ingredient.
confidence number Model confidence score (0.0–1.0) for the parse result.
error stringnull Error message if the ingredient could not be parsed.
View JSON Schema on GitHub

JSON Schema

zestful-ingredient-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/zestful/main/json-schema/zestful-ingredient-schema.json",
  "title": "Zestful Parsed Ingredient",
  "description": "Structured representation of a parsed recipe ingredient from the Zestful API, including quantity, unit, product name, preparation notes, and USDA FoodData Central match.",
  "type": "object",
  "properties": {
    "ingredientRaw": {
      "type": "string",
      "description": "The original unparsed ingredient string as submitted."
    },
    "ingredientParsed": {
      "type": "object",
      "description": "Structured breakdown of the parsed ingredient.",
      "properties": {
        "quantity": {
          "type": ["number", "null"],
          "description": "Numeric quantity of the ingredient (e.g., 2 for '2 cups flour')."
        },
        "unit": {
          "type": ["string", "null"],
          "description": "Measurement unit in singular form (e.g., 'cup', 'teaspoon', 'tablespoon')."
        },
        "productSizeModifier": {
          "type": ["string", "null"],
          "description": "Size descriptor for the ingredient (e.g., 'large', 'small')."
        },
        "product": {
          "type": "string",
          "description": "The purchasable item name (e.g., 'all-purpose flour', 'kosher salt')."
        },
        "preparationNotes": {
          "type": ["string", "null"],
          "description": "Preparation instructions (e.g., 'melted', 'beaten', 'finely chopped')."
        },
        "usdaInfo": {
          "type": ["object", "null"],
          "description": "USDA FoodData Central database match for this ingredient.",
          "properties": {
            "fdcId": {
              "type": "string",
              "description": "USDA FoodData Central identifier."
            },
            "matchMethod": {
              "type": "string",
              "enum": ["exact", "closestUnbranded", "closestBranded"],
              "description": "Method used to match the ingredient to the USDA database."
            },
            "category": {
              "type": "string",
              "description": "USDA food category (e.g., 'Dairy and Egg Products')."
            },
            "description": {
              "type": "string",
              "description": "USDA database description of the matched food item."
            }
          }
        }
      },
      "required": ["product"]
    },
    "confidence": {
      "type": "number",
      "minimum": 0,
      "maximum": 1,
      "description": "Model confidence score (0.0–1.0) for the parse result."
    },
    "error": {
      "type": ["string", "null"],
      "description": "Error message if the ingredient could not be parsed."
    }
  },
  "required": ["ingredientRaw", "ingredientParsed", "confidence"]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/zestful-ingredient"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.