API & MCP

Everything a person can do on DeFi Liquidation Explorer, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

DeFi Liquidation Explorer

Reads Aave V3 LiquidationCall events from the official Pool contract over a recent block window (Ethereum, Base, Arbitrum, OP Mainnet, Polygon, Avalanche, BNB Chain), resolves token symbols and decimals on-chain, values each liquidation at current DefiLlama prices, ranks liquidators and borrowers, and checks any address's current health factor with getUserAccountData — so you can see how close a position is to liquidation.

Inputs of DeFi Liquidation Explorer
FieldTypeDefaultDescription
modeselect (lookup, logs)"lookup"What do you have?
chainselect (ethereum, base, arbitrum, optimism, polygon, avalanche, bsc)"ethereum"Aave V3 market
blocksinteger2000Blocks to scan back from the latest. Ethereum ≈ 12 s/block, Base/OP ≈ 2 s, Arbitrum ≈ 0.25 s. Public nodes cap log ranges; the window shrinks automatically if refused.
usertext—Check a borrower's health factor (optional). Without it, the most recently liquidated borrower is checked.
logstextarea—LiquidationCall logs JSON (offline)

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

{
  "mcpServers": {
    "defi-liquidation-explorer": { "type": "http", "url": "https://defiliquidationexplorer.usefulweb.site/mcp" }
  }
}