Vai al contenuto
GET /v1/meta

Service metadata

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/cryptohacks-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/cryptohacks-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/cryptohacks-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/cryptohacks-api/v1/meta");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/cryptohacks-api/v1/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "note": "Amounts are US dollars; dates are ISO (YYYY-MM-DD). chains is a list. Filter hacks by chain=Ethereum, technique=reentrancy, target_type='DeFi Protocol', classification, year=2026 or min_amount=1000000.",
        "source": "DeFiLlama hacks (api.llama.fi/hacks, live)",
        "service": "cryptohacks-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/hacks": "Incident list, newest first (filters: chain, technique, target_type, classification, year, min_amount, limit=50).",
            "GET /v1/stats": "Aggregate totals and breakdowns by technique, chain, target type and year.",
            "GET /v1/biggest": "Largest exploits of all time ranked by USD stolen (limit=25, min_amount optional)."
        },
        "description": "A live database of cryptocurrency and DeFi hacks, exploits and thefts, from DeFiLlama. Every record carries the victim, the amount stolen in USD, the date, the attack technique, a classification, the chain(s), the target type and any funds returned. The hacks endpoint returns the incident list newest-first, filterable by chain, technique, target type, classification, year and minimum loss; the biggest endpoint ranks the largest exploits of all time; the stats endpoint aggregates total stolen, count, funds returned and breakdowns by technique, chain, target type and year. Live, no key, nothing stored. The crypto-security / exploit-history cut — distinct from the price, market, TVL, fees and on-chain APIs.",
        "incident_count": 551,
        "upstream_status": "ok",
        "total_stolen_usd": 16603869134
    },
    "meta": {
        "timestamp": "2026-06-11T16:46:55.641Z",
        "request_id": "9001dba8-8448-4889-b88d-cf5e3a500823"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}