# Party & Event Planner: Pizza Order Calculator

> Party & Event Planner: Pizza Order 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 how many pizzas to order for an event given guest count, kids, and slice preferences, with area analysis and size comparison.

## Facts

- Endpoint: GET https://party-event-calc.x402tookit.com/pizza-order?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/party-event-planner-pizza-order-calculator-91f24e43
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3ZXYFvQ339TM21IYnEMgW

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 party-event-planner-pizza-order-calculator-91f24e43
```

Example prompt: How many 16-inch pizzas should I order for 40 guests, 8 of whom are kids? Assume 3 slices per adult, 2 per child, 8 slices per pizza, and add 10% extra — also compare against a 12-inch size.

## When to prefer this

Use this endpoint when you need a precise, parameterized pizza quantity calculation for a mixed adult-and-child guest list, especially when you want area-based size comparisons, cost totals, and a configurable extra-order buffer — as opposed to a generic rule-of-thumb estimate.

## Known failure modes

- Missing required 'guests' parameter returns an error
- guests outside 1–5000 range may return a validation error
- diameterIn outside 6–36 range may be rejected
- slicesPerPizza outside 2–24 range may be rejected
- extraPercent outside 0–100 range may be rejected
- Payment failure (402) if USDC not provided or insufficient

## How this service works

How many pizzas to order from guests, kids and slices each, with pizza area, area per guest and a size comparison.

## Output

Returns the number of pizzas to order, total slices needed, spare slices, area per guest in square inches, total pizza area, a size comparison between two diameters, optional total cost, and a human-readable summary and verdict.

## 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": [
      "guests"
     ],
     "properties": {
      "kids": {
       "type": "number",
       "description": "How many of the guests are children (default 0)"
      },
      "guests": {
       "type": "number",
       "description": "Total guests including children (1 to 5000)"
      },
      "diameterIn": {
       "type": "number",
       "description": "Pizza diameter in inches, 6 to 36 (default 16)"
      },
      "extraPercent": {
       "type": "number",
       "description": "Extra to order on top, 0 to 100 (default 0)"
      },
      "pricePerPizza": {
       "type": "number",
       "description": "Price per pizza in dollars, to total the cost"
      },
      "slicesPerAdult": {
       "type": "number",
       "description": "Slices per adult (default 3)"
      },
      "slicesPerChild": {
       "type": "number",
       "description": "Slices per child (default 2)"
      },
      "slicesPerPizza": {
       "type": "number",
       "description": "Slices cut per pizza, 2 to 24 (default 8)"
      },
      "compareDiameterIn": {
       "type": "number",
       "description": "A second size to compare by area (default 12)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "kids": {
       "type": [
        "null",
        "number"
       ]
      },
      "guests": {
       "type": [
        "null",
        "number"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "deg
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/party-event-planner-pizza-order-calculator-91f24e43/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)
