# Wave Difficulty Estimator

> Wave Difficulty Estimator 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 a wave threat score for game encounters based on enemy count, average health, and average damage values.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/wave-difficulty-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/wave-difficulty-estimator-51eba939
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vSfj7mhmiJc81e6igbLG7

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 wave-difficulty-estimator-51eba939 -d '<json body>'
```

Example prompt: What's the threat score for a wave with 8 enemies, each with 50 health and 8 average damage?

## When to prefer this

Use this endpoint when you need a fast, lightweight numeric threat score for a single wave configuration in game design or balancing workflows. It is ideal for tower defense, roguelike, or wave-based game systems where you want a quick heuristic difficulty rating without building your own formula.

## Known failure modes

- Missing or invalid numeric inputs may return an error or default values
- Negative or zero values for enemy stats may produce nonsensical scores
- Very large input values may cause unexpected score behavior if not clamped

## How this service works

Wave difficulty estimator: Estimate a wave threat score from count, health, and damage.

## Output

Returns a computed wave threat score derived from the combination of enemy count, average health, and average damage, giving game designers a single numeric difficulty indicator for a wave encounter.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "enemy_count": {
   "type": "number",
   "default": 8
  },
  "average_damage": {
   "type": "number",
   "default": 8
  },
  "average_health": {
   "type": "number",
   "default": 50
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/wave-difficulty-estimator-51eba939/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)
