DeFi Hacks Database API
Crypto and DeFi hack and exploit incidents from DefiLlama: date, name, classification, technique, amount stolen in USD, chains, bridge flag, target type and a short description. Filter by chain, classification, date and size.
$0.50 per 1,000 records
You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.
Data from api.llama.fi/hacks
Get this data
Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.
Try it
Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key
For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
curl -X POST "https://pullrow.dev/v1/apis/defillama-hacks-database/run" \
-H "Authorization: Bearer $PULLROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"chain":"Ethereum"},"max_items":50}'Inputs
Send them as input in the request body. Leave one out to use its default.
What's in each record
10 fields: 9 here, 1 technical one under Technical details.
Basics
- Name
Name of the affected project.
Example Hydration Lending
- Classification
Kind of weakness, such as Key Compromise or Reentrancy.
Example Access Control
- Technique
How the attack worked, in a few words.
Example Caller Impersonation
- Chains involved
Example Hydration
- Bridge hack
Yes when a cross-chain bridge was hit.
Example No
- Target type
What was hit, such as DeFi Protocol, CEX or Wallet.
Example DeFi Protocol
- Description
Short account of what happened.
Example On December 3, 2026, an attacker exploited a vulnerability in Hydration's EVM runtime that allowed impersonation of…
Prices
- Amount (USD)
Amount lost, in USD.
Example 2,230,000
Dates
- Date
Day of the incident.
Example Dec 3, 2026
Technical detailsField names and types for developers, and the 1 field hidden above
Hidden by default
This field comes with each record too. It is an internal code, a note about how the record was read or a copy of what was searched for, so the lists above leave it out.
- ID
idIdentifier made from DefiLlama's id, the date and the amount.
Field names and types
The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.
| Field name | Type | Shown on this page as | Filled |
|---|---|---|---|
id | text | ID (hidden) | 3 of 3 |
date | date | Date | 3 of 3 |
name | text | Name | 3 of 3 |
classification | text | Classification | 3 of 3 |
technique | text | Technique | 3 of 3 |
amount_usd | number | Amount (USD) | 3 of 3 |
chains | list | Chains involved | 3 of 3 |
is_bridge_hack | yes or no | Bridge hack | 3 of 3 |
target_type | text | Target type | 3 of 3 |
description | text | Description | 3 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Name | Classification | Technique | Chains involved | Bridge hack | Target type | Description | Amount (USD) | Date |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Hydration Lending | Access Control | Caller Impersonation | Hydration | No | DeFi Protocol | On December 3, 2026, an attacker exploited a vulnerability in Hydration's EVM runtime that allowed impersonation of address(0), gaining unauthorized administrative access to the SPY oracle receiver. The attacker authorized a malicious Wormhole price emitter and submitted a… | 2,230,000 | Dec 3, 2026 |
| 2 | ApeChain Bridge | Token & Share Accounting | Unbacked Mint | ApeChain, Ethereum | Yes | DeFi Protocol | On December 2, 2026, an attacker exploited an apparent native APE accounting vulnerability on ApeChain, using a CREATE2/SELFDESTRUCT loop to inflate approximately 1 APE into roughly 268 million APE. The attacker transferred 138 million of the unbacked tokens through ApeCoin's… | 9,870,000 | Dec 2, 2026 |
| 3 | POTS Money | Key Compromise | Private Key Compromised | BSC | No | DeFi Protocol | An attacker used POTS Money's privileged governance account to exploit its IBS stabilization system on BSC, minting approximately 101 billion IBS tokens and selling them into the IBS/USDT PancakeSwap pool. Two mint-and-sell transactions drained approximately $5.72M in USDT,… | 5,724,519 | Nov 29, 2026 |
Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.
Reliability
Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.
Incidents and repairs
How it is kept working What a repair can't do
A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.
- You pay only for records returned. A run that returns none costs nothing.
- Data is DefiLlama's list of known incidents, about 1,400 since 2011, updated as new hacks are reported; recent entries can be revised.
- amount_usd is the loss as DefiLlama records it and is empty for incidents where no figure is known.
- The source's own source link and returned-funds fields are empty for every incident today, so they are not offered.
- classification and target_type are matched as DefiLlama writes them (such as Key Compromise, Bridge & Cross-Chain, DeFi Protocol, CEX), ignoring upper and lower case; the older labels Protocol and Infrastructure are not used any more.
- Results are sorted newest first. One incident can list several chains.
- Data from DefiLlama's open API: credit DefiLlama (defillama.com) when you publish it.
Version history
A run uses the live version unless the request names another one with version.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.