# SperaxOS DeFi Hacks by Protocol

> SperaxOS DeFi Hacks by Protocol is a paid API for AI agents from chat.sperax.io, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-12).

Returns a list of historical DeFi security hacks and exploits filtered by a specific protocol name

## Facts

- Endpoint: POST https://chat.sperax.io/api/x402/tools/defi-hacks/getHacksByProtocol?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/speraxos-defi-hacks-by-protocol-4375e344
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fWXnmE_jL_I0O04JwIoEV

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 speraxos-defi-hacks-by-protocol-4375e344 -d '<json body>'
```

Example prompt: Can you pull up all the known hacks and exploits for the Curve Finance protocol from SperaxOS?

## When to prefer this

Use this endpoint when you need historical DeFi security exploit data scoped to a specific protocol — ideal for due diligence, risk assessment, or security research workflows. It is pay-per-use with no API key required, making it suitable for on-demand agent queries. Prefer this over general web search when you need structured, queryable exploit records rather than unstructured news articles.

## Known failure modes

- Protocol name not found returns empty results or 404
- Misspelled protocol name yields no matches due to case-insensitive but string-sensitive search
- Payment failure via x402 if USDC balance is insufficient
- Request timeout if the backend intelligence database is slow
- Malformed JSON body returns 400 bad request

## How this service works

AI-powered DeFi intelligence APIs payable via the x402 HTTP payment protocol. No API key required — pay per request with USDC on Base. Identity-only (SIWX) endpoints are free for wallets with an agentcash identity.

## Output

A list of DeFi hack incidents associated with the queried protocol, likely including details such as hack date, funds lost, attack type/vector, and incident description for each recorded exploit event.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "protocol": {
   "type": "string",
   "description": "Protocol name to search for (case-insensitive)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/speraxos-defi-hacks-by-protocol-4375e344/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from chat.sperax.io](https://www.zero.xyz/host/chat.sperax.io/llms.txt)
