# Cooking Calculators – Ingredient Density (Grams per Cup/Tablespoon/Teaspoon)

> Cooking Calculators – Ingredient Density (Grams per Cup/Tablespoon/Teaspoon) is a paid API for AI agents from cooking-calc.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-11-04).

Returns approximate gram weights per US cup, tablespoon, and teaspoon for common baking ingredients, along with source citations and the spread between lowest and highest published values.

## Facts

- Endpoint: GET https://cooking-calc.x402tookit.com/ingredient-density?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-04
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cooking-calculators-ingredient-density-grams-per-cup-tablespoon-c8cb6011
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MJWc2L6RRrXGjkh5N59i2

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability cooking-calculators-ingredient-density-grams-per-cup-tablespoon-c8cb6011
```

Example prompt: How many grams is a cup of all-purpose flour? Give me the grams per cup, tablespoon, and teaspoon along with where those numbers come from.

## When to prefer this

Choose this endpoint when you need authoritative, source-cited gram weights for volumetric baking measurements (cups, tablespoons, teaspoons) and want to see the spread across published references. Prefer it over generic unit-conversion APIs when baking accuracy and source transparency matter, or when you want to flag uncertainty to the user via the confidence and spread fields.

## Known failure modes

- Unsupported ingredient name returns no results or an error — only the 14 listed ingredients are supported
- Misspelled ingredient query may return empty ingredient array
- Service degraded flag may be set if upstream source data is unavailable
- Network timeout or payment failure returns no data

## How this service works

Approximate grams per cup, tablespoon and teaspoon for baking ingredients, with the published sources and spread.

## Output

Returns a JSON object containing one or more ingredient entries, each with gramsPerUsCup, gramsPerTablespoon, gramsPerTeaspoon, the lowest and highest gram-per-cup values found across sources, a list of source citations, a confidence rating, and optional notes. Also includes a cup definition clarifying the US cup volume used and a summary disclaimer.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "ingredient": {
       "type": "string",
       "description": "One ingredient (flour, sugar, butter, honey, milk, water, oil, rice, cocoa, oats, salt, cornstarch, maple syrup); omit for all"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "notChecked": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "ingredients": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "object",
        "properties": {
         "note": {
          "type": [
           "null",
           "string"
          ]
         },
         "sources": {
          "type": [
           "array",
           "null"
          ],
          "items": {
           "type": "string"
          }
         },
         "confidence": {
          "type": [
           "null",
           "string"
          ]
         },
         "ingredient": {
          "type": [
           "null",
           "string"
          ]
         },
         "gramsPerUsCup": {
          "type": [
           "null",
           "number"
          ]
         },
         "gramsPerTeaspoon": {
      
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cooking-calculators-ingredient-density-grams-per-cup-tablespoon-c8cb6011/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from cooking-calc.x402tookit.com](https://www.zero.xyz/host/cooking-calc.x402tookit.com/llms.txt)
