# Damage Per Second (DPS) Calculator

> Damage Per Second (DPS) 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-09-30).

Calculates sustained damage per second (DPS) from hit damage, attacks per second, and hit chance probability.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/dps-calculator?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/damage-per-second-dps-calculator-ab607583
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GSJoQmwkKNJ-M5MgEXfln

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 damage-per-second-dps-calculator-ab607583 -d '<json body>'
```

Example prompt: What's the sustained DPS for a weapon that deals 45 damage per hit, fires 2.5 times per second, and has an 85% hit chance?

## When to prefer this

Use this endpoint when you need a quick, reliable DPS formula calculation within a game design or simulation workflow. Prefer it over manual calculation when automating game balance checks, comparing weapon builds, or generating DPS data at scale within an agentic pipeline. It's especially useful as a lightweight computation step that doesn't require a full game engine.

## Known failure modes

- Invalid or missing numeric values for damage, attacks_per_second, or hit_chance may return an error or use schema defaults
- hit_chance values outside 0–1 range may produce nonsensical results
- Very high or negative input values may yield unexpected output without validation
- Network or payment errors (x402 protocol) may prevent the call from completing

## How this service works

Damage per second calculator: Estimate sustained DPS from hit damage, attacks per second, and hit chance.

## Output

Returns the estimated sustained DPS value, computed as damage × attacks_per_second × hit_chance. Provides a numeric output useful for game design, balancing, or combat simulation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "damage": {
   "type": "number",
   "default": 10
  },
  "hit_chance": {
   "type": "number",
   "default": 1
  },
  "attacks_per_second": {
   "type": "number",
   "default": 1
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/damage-per-second-dps-calculator-ab607583/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)
