# Cake Servings Calculator

> Cake Servings Calculator is a paid API for AI agents from party-event-calc.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-29).

Calculates the number of cake servings from pan shape and size, supporting single or multi-tier cakes with wedding or party slice styles.

## Facts

- Endpoint: GET https://party-event-calc.x402tookit.com/cake-servings?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cake-servings-calculator-472a5a85
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sfjcqhGEDZH92YBT3_T-a

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 cake-servings-calculator-472a5a85
```

Example prompt: How many servings will I get from a 3-tier round cake with tiers sized 6, 8, and 10 inches, cut in wedding style?

## When to prefer this

Use this endpoint when you need to compute cake servings from pan dimensions — especially for multi-tier or wedding cakes where slice style (wedding vs party) matters. Prefer this over generic food quantity calculators when the input is pan shape and size rather than a guest count, or when you need tier-by-tier breakdowns for a stacked cake design.

## Known failure modes

- Missing required 'shape' or 'sizeIn' parameters returns an error
- Invalid shape value (not round, square, or rectangle) may cause a bad request
- Rectangle shape without 'widthIn' parameter may return an error or incomplete result
- Malformed tier list (non-numeric values in comma-separated sizeIn) may cause a parse error
- Conflicting sliceStyle and servingSqIn parameters may produce unexpected results

## How this service works

Cake servings from pan size and area per slice: round, square or rectangle, one or several tiers, wedding or party slice style.

## Output

Returns total servings across all tiers, per-tier breakdowns (size, top area, servings), the slice style and area per slice used, a human-readable summary and verdict, and an optional disclaimer. Degraded flag indicates if any tier calculation was skipped.

## 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": [
      "shape",
      "sizeIn"
     ],
     "properties": {
      "shape": {
       "type": "string",
       "description": "round, square or rectangle"
      },
      "sizeIn": {
       "type": "string",
       "description": "Diameter or side in inches; for stacked tiers a comma list like 6,8,10 (rectangle: its length, one tier)"
      },
      "widthIn": {
       "type": "number",
       "description": "Width in inches (rectangle only)"
      },
      "sliceStyle": {
       "type": "string",
       "description": "wedding (2 sq in per slice, a 1 x 2 inch top) or party (4 sq in, 2 x 2 inch). Default wedding"
      },
      "servingSqIn": {
       "type": "number",
       "description": "Your own area per slice in square inches, replacing the style"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "shape": {
       "type": [
        "null",
        "string"
       ]
      },
      "tiers": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "object",
        "properties": {
         "sizeIn": {
          "type": [
           "null",
           "number"
          ]
         },
         "servings": {
          "type": [
           "null",
           "number"
          ]
         },
         "topAreaSqIn": {
          "type": [
           "null",
           "number"
          ]
         }
        }
       }
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cake-servings-calculator-472a5a85/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from party-event-calc.x402tookit.com](https://www.zero.xyz/host/party-event-calc.x402tookit.com/llms.txt)
