# x402toll.com Tip & Bill Splitter

> x402toll.com Tip & Bill Splitter is a paid API for AI agents from x402toll.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Calculates tip amount, total bill with tip, and per-person share for a restaurant check given bill amount, tip percentage, and number of diners.

## Facts

- Endpoint: POST https://x402toll.com/v1/commerce/tip-split
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402toll-com-tip-bill-splitter-b3129248
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rq-YaZIbGxBndmGqWMylU

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 x402toll-com-tip-bill-splitter-b3129248 -d '<json body>'
```

Example prompt: Our dinner bill was $143.50 — can you calculate an 18% tip and split everything evenly among 4 people so I know what each person owes?

## When to prefer this

Use this endpoint when you need a quick, server-side calculation of tip and group split for a restaurant bill — especially useful in agent workflows where you want a verified numeric result rather than relying on LLM arithmetic. Costs $0.01 USDC per call via x402 micropayment.

## Known failure modes

- Missing billAmount field returns a validation error
- Negative or zero values for numPeople may cause division errors or unexpected results
- Non-numeric inputs for any field will fail schema validation
- Very large bill amounts may return floating-point precision artifacts

## How this service works

Tip amount, total, and per-person split for a restaurant bill.

## Output

Returns the tip amount in dollars, the total bill (bill + tip), and the per-person share — all computed from the provided bill amount, tip percentage, and number of diners.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "tipPct": {
   "type": "number",
   "default": 18
  },
  "numPeople": {
   "type": "number",
   "default": 1
  },
  "billAmount": {
   "type": "number"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402toll-com-tip-bill-splitter-b3129248/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402toll.com](https://www.zero.xyz/host/x402toll.com/llms.txt)
