# Attack Speed Converter

> Attack Speed Converter 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).

Converts a weapon's attack interval (seconds per attack) into attacks per second and attacks per minute.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/attack-speed-converter?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/attack-speed-converter-457a6afc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_We3z80XIq34Kl53SLhccY

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 attack-speed-converter-457a6afc -d '<json body>'
```

Example prompt: My character attacks every 0.8 seconds — what is that in attacks per second and attacks per minute?

## When to prefer this

Use this endpoint when you need a quick, stateless conversion of an attack interval (cooldown in seconds) into human-readable attack rate metrics (APS/APM) for game design, balancing, or UI display — no math library or custom code required.

## Known failure modes

- Zero or negative seconds_per_attack causes division by zero or nonsensical results
- Non-numeric input for seconds_per_attack returns a validation error
- Missing seconds_per_attack defaults to 0.8 seconds, which may not match the caller's intent if not explicitly set

## How this service works

Attack speed converter: Convert seconds-per-attack into attacks per second and per minute.

## Output

Returns the converted attack rate expressed as attacks per second (1 / seconds_per_attack) and attacks per minute (60 / seconds_per_attack), based on the provided seconds_per_attack value.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "seconds_per_attack": {
   "type": "number",
   "default": 0.8
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/attack-speed-converter-457a6afc/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)
