# SperaxOS DeFi Hacks Summary API

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

Returns an AI-generated summary of DeFi hacks and exploits for a given year

## Facts

- Endpoint: POST https://chat.sperax.io/api/x402/tools/defi-hacks/getHackSummary?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/speraxos-defi-hacks-summary-api-d51675ee
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pdQtGH3XB00zMmNkRrRNI

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-summary-api-d51675ee -d '<json body>'
```

Example prompt: Give me an AI-generated summary of all the major DeFi hacks and exploits that happened in 2024, including total losses and notable incidents.

## When to prefer this

Choose this endpoint when you need a natural-language AI summary of DeFi security incidents for a specific year, rather than raw data or individual hack records. Ideal for generating reports, briefings, or trend analysis without needing to aggregate multiple data sources manually. Best when paying per-use is acceptable and no persistent API key management is desired.

## Known failure modes

- Invalid or future year returns empty or error response
- Payment failure via x402 protocol results in 402 Payment Required with payment details
- Year with no recorded hacks may return empty summary
- Network or upstream data unavailability may cause 5xx errors
- Malformed request 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

An AI-generated narrative summary of DeFi hacks and exploits for the specified year, including notable incidents, affected protocols, estimated total losses, and key security trends observed during that period.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "year": {
   "type": "number",
   "description": "Year to summarize (defaults to current year)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/speraxos-defi-hacks-summary-api-d51675ee/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)
