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.

Try it
Ready-made, maintained by usRecords, 10 fieldsv1.0

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

Chainoptional
Only incidents on this chain, as DefiLlama names it, such as Ethereum or Solana.
Example: Ethereum
Classificationoptional
Only this classification, such as Key Compromise, Reentrancy, Rugpull or Oracle Manipulation.
Example: Key Compromise
Sinceoptional
Only incidents on or after this date (YYYY-MM-DD).
Example: 2025-01-01
Minimum amount (USD)optional
Smallest amount lost in USD.
Example: 1000000

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
Endpoint
POSThttps://pullrow.dev/v1/apis/defillama-hacks-database/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
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.

chaintext
Only incidents on this chain, as DefiLlama names it, such as Ethereum or Solana.
example: Ethereum
classificationtext
Only this classification, such as Key Compromise, Reentrancy, Rugpull or Oracle Manipulation.
example: Key Compromise
sincetext
Only incidents on or after this date (YYYY-MM-DD).
example: 2025-01-01
min_amount_usdnumber
Smallest amount lost in USD.
example: 1000000

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 nameTypeShown on this page asFilled
idtextID (hidden)3 of 3
datedateDate3 of 3
nametextName3 of 3
classificationtextClassification3 of 3
techniquetextTechnique3 of 3
amount_usdnumberAmount (USD)3 of 3
chainslistChains involved3 of 3
is_bridge_hackyes or noBridge hack3 of 3
target_typetextTarget type3 of 3
descriptiontextDescription3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordNameClassificationTechniqueChains involvedBridge hackTarget typeDescriptionAmount (USD)Date
1Hydration LendingAccess ControlCaller ImpersonationHydrationNoDeFi ProtocolOn 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,000Dec 3, 2026
2ApeChain BridgeToken & Share AccountingUnbacked MintApeChain, EthereumYesDeFi ProtocolOn 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,000Dec 2, 2026
3POTS MoneyKey CompromisePrivate Key CompromisedBSCNoDeFi ProtocolAn 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,519Nov 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.
Known limits
  • 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.