{
  "updated": "2026-08-22",
  "license": {
    "name": "CC BY 4.0",
    "url": "https://creativecommons.org/licenses/by/4.0/"
  },
  "attribution": {
    "required": true,
    "text": "Ingredient density data by ExactCup",
    "url": "https://exactcup.github.io/",
    "html": "<a href=\"https://exactcup.github.io/\">Ingredient density data by ExactCup</a>"
  },
  "documentation": "https://exactcup.github.io/api/",
  "volume_ml": {
    "milliliter": 1,
    "liter": 1000,
    "us_cup": 236.5882365,
    "us_tablespoon": 14.78676478125,
    "us_teaspoon": 4.92892159375,
    "us_fluid_ounce": 29.5735295625,
    "us_pint": 473.176473,
    "us_quart": 946.352946,
    "us_gallon": 3785.411784,
    "metric_cup": 250,
    "imperial_cup": 284.130625,
    "imperial_fluid_ounce": 28.4130625,
    "imperial_pint": 568.26125,
    "australian_tablespoon": 20
  },
  "weight_grams": {
    "gram": 1,
    "kilogram": 1000,
    "ounce": 28.349523125,
    "pound": 453.59237
  },
  "formula": {
    "volume_to_weight": "grams = volume_amount * volume_ml[unit] * grams_per_ml",
    "weight_to_volume": "volume_amount = grams / grams_per_ml / volume_ml[unit]",
    "note": "grams_per_ml comes from the ingredient object. Densities are nominal values for level, unpacked measures (brown sugar is packed); real weights vary by brand, humidity and technique by roughly 5%."
  }
}
