{"api":{"id":"api_631c133bfdb34f46263c5dc3","slug":"defillama-hacks-database","name":"DeFi Hacks Database API","description":"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.","kind":"ready_made","visibility":"public","domain":"api.llama.fi","source_url":"https://api.llama.fi/hacks","category":"finance","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":10,"created_at":"2026-12-06T04:45:48.348Z","updated_at":"2026-12-06T04:45:48.348Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"id","type":"string","description":"Identifier made from DefiLlama's id, the date and the amount.","required":true,"coverage":1,"example":"6271:2026-12-03:2230000"},{"name":"date","type":"date","description":"Day of the incident.","required":false,"coverage":1,"example":"2026-12-03"},{"name":"name","type":"string","description":"Name of the affected project.","required":false,"coverage":1,"example":"Hydration Lending"},{"name":"classification","type":"string","description":"Kind of weakness, such as Key Compromise or Reentrancy.","required":false,"coverage":1,"example":"Access Control"},{"name":"technique","type":"string","description":"How the attack worked, in a few words.","required":false,"coverage":1,"example":"Caller Impersonation"},{"name":"amount_usd","type":"number","description":"Amount lost, in USD.","required":false,"coverage":1,"example":2230000},{"name":"chains","type":"array","description":"Chains involved.","required":false,"coverage":1,"example":["Hydration"]},{"name":"is_bridge_hack","type":"boolean","description":"True when a cross-chain bridge was hit.","required":false,"coverage":1,"example":false},{"name":"target_type","type":"string","description":"What was hit, such as DeFi Protocol, CEX or Wallet.","required":false,"coverage":1,"example":"DeFi Protocol"},{"name":"description","type":"string","description":"Short account of what happened.","required":false,"coverage":1,"example":"On December 3, 2026, an attacker exploited a vulnerability in Hydration's EVM runtime that allowed impersonation of…"}],"inputs":[{"name":"chain","type":"string","description":"Only incidents on this chain, as DefiLlama names it, such as Ethereum or Solana.","example":"Ethereum"},{"name":"classification","type":"string","description":"Only this classification, such as Key Compromise, Reentrancy, Rugpull or Oracle Manipulation.","example":"Key Compromise"},{"name":"since","type":"string","description":"Only incidents on or after this date (YYYY-MM-DD).","example":"2025-01-01"},{"name":"min_amount_usd","type":"integer","description":"Smallest amount lost in USD.","example":1000000}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"amount_usd":{"description":"Amount lost, in USD.","type":"number"},"chains":{"description":"Chains involved.","type":"array"},"classification":{"description":"Kind of weakness, such as Key Compromise or Reentrancy.","type":"string"},"date":{"description":"Day of the incident.","format":"date","type":"string"},"description":{"description":"Short account of what happened.","type":"string"},"id":{"description":"Identifier made from DefiLlama's id, the date and the amount.","type":"string"},"is_bridge_hack":{"description":"True when a cross-chain bridge was hit.","type":"boolean"},"name":{"description":"Name of the affected project.","type":"string"},"target_type":{"description":"What was hit, such as DeFi Protocol, CEX or Wallet.","type":"string"},"technique":{"description":"How the attack worked, in a few words.","type":"string"}},"required":["id"],"title":"DeFi Hacks Database API","type":"object"},"samples":[{"id":"6271:2026-12-03:2230000","date":"2026-12-03","name":"Hydration Lending","classification":"Access Control","technique":"Caller Impersonation","amount_usd":2230000,"chains":["Hydration"],"is_bridge_hack":false,"target_type":"DeFi Protocol","description":"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…"},{"id":"5461:2026-12-02:9870000","date":"2026-12-02","name":"ApeChain Bridge","classification":"Token & Share Accounting","technique":"Unbacked Mint","amount_usd":9870000,"chains":["ApeChain","Ethereum"],"is_bridge_hack":true,"target_type":"DeFi Protocol","description":"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…"},{"id":"pots money:2026-11-29:5724519","date":"2026-11-29","name":"POTS Money","classification":"Key Compromise","technique":"Private Key Compromised","amount_usd":5724519,"chains":["BSC"],"is_bridge_hack":false,"target_type":"DeFi Protocol","description":"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,…"}],"validation":{"checked_at":"2026-12-06T04:45:48.335Z","field_coverage":{"amount_usd":1,"chains":1,"classification":1,"date":1,"description":1,"id":1,"is_bridge_hack":1,"name":1,"target_type":1,"technique":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"links":{"run":"https://pullrow.dev/v1/apis/api_631c133bfdb34f46263c5dc3/run","openapi":"https://pullrow.dev/v1/apis/api_631c133bfdb34f46263c5dc3/openapi.json","contract":"https://pullrow.dev/v1/apis/api_631c133bfdb34f46263c5dc3/contract.json","page":"https://pullrow.dev/catalog/defillama-hacks-database"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":0.5,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["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."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"id","label":"ID","description":"Identifier made from DefiLlama's id, the date and the amount.","group":"Technical","shown":false,"written":false},{"name":"date","label":"Date","description":"Day of the incident.","group":"Dates","shown":true,"written":false},{"name":"name","label":"Name","description":"Name of the affected project.","group":"Basics","shown":true,"written":false},{"name":"classification","label":"Classification","description":"Kind of weakness, such as Key Compromise or Reentrancy.","group":"Basics","shown":true,"written":false},{"name":"technique","label":"Technique","description":"How the attack worked, in a few words.","group":"Basics","shown":true,"written":false},{"name":"amount_usd","label":"Amount (USD)","description":"Amount lost, in USD.","group":"Pay","shown":true,"written":false},{"name":"chains","label":"Chains involved","description":"","group":"Basics","shown":true,"written":false},{"name":"is_bridge_hack","label":"Bridge hack","description":"Yes when a cross-chain bridge was hit.","group":"Basics","shown":true,"written":false},{"name":"target_type","label":"Target type","description":"What was hit, such as DeFi Protocol, CEX or Wallet.","group":"Basics","shown":true,"written":false},{"name":"description","label":"Description","description":"Short account of what happened.","group":"Basics","shown":true,"written":false}],"inputs":[{"name":"chain","label":"Chain","help":"Only incidents on this chain, as DefiLlama names it, such as Ethereum or Solana.","example":"Ethereum","written":false},{"name":"classification","label":"Classification","help":"Only this classification, such as Key Compromise, Reentrancy, Rugpull or Oracle Manipulation.","example":"Key Compromise","written":false},{"name":"since","label":"Since","help":"Only incidents on or after this date (YYYY-MM-DD).","example":"2025-01-01","written":false},{"name":"min_amount_usd","label":"Minimum amount (USD)","help":"Smallest amount lost in USD.","example":"1000000","written":false}]}},"incidents":[]}