# Fall Damage Calculator

> Fall Damage Calculator is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-03).

Estimates fall damage for a character falling from a given height, applying damage only above a configurable safe height threshold at a specified damage-per-unit rate.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/fall-damage-calculator?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fall-damage-calculator-2742160c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TSo4akQv5pmWAJQWRAqgV

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 fall-damage-calculator-2742160c -d '<json body>'
```

Example prompt: Calculate the fall damage for a character dropping from 25 units high, where anything under 3 units is safe and each unit above that deals 8 damage.

## When to prefer this

Use this endpoint when you need a quick, parameterized fall damage calculation for game design, RPG mechanics, or simulation purposes — especially when you want to tune the safe height threshold and per-unit damage rate without implementing the formula yourself. Ideal for game AI agents, dungeon design tools, or procedural content generators that need consistent fall damage values on the fly.

## Known failure modes

- Missing or non-numeric height values may return an error or default to the schema defaults
- Negative height values may produce zero or unexpected results
- If safe_height exceeds height, damage should be zero — verify the API handles this edge case correctly
- Network or payment authorization failure may return a 402 or 4xx error

## How this service works

Fall damage calculator: Estimate fall damage after a configurable safe height.

## Output

Returns a numeric fall damage value calculated as: max(0, height - safe_height) * damage_per_unit. The result reflects how much damage is dealt after subtracting the safe height from the total fall distance and multiplying by the damage rate per unit.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "height": {
   "type": "number",
   "default": 12
  },
  "safe_height": {
   "type": "number",
   "default": 3
  },
  "damage_per_unit": {
   "type": "number",
   "default": 8
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fall-damage-calculator-2742160c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
