API & MCP

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

HTTP API

MEV Explorer

Fetches one recent block and all of its receipts from a public node and looks for maximal-extractable-value patterns: sandwich attacks on Uniswap V2/V3-style pools (an actor trading right before and after a victim in the same pool), cyclic arbitrage (a transaction whose sender or contract ends with more of a token and less of none), Aave V3 liquidations, the block builder (fee recipient and extraData tag, plus the builder→proposer payment) and a priority-fee ranking.

Inputs of MEV Explorer
FieldTypeDefaultDescription
modeselect (lookup, pasted)"lookup"What do you have?
chainselect (ethereum, base, arbitrum, optimism, polygon, avalanche, bsc)"ethereum"Chain
blocktext"latest"Block number. Public nodes only serve recent blocks (roughly the last day); older blocks need your own node (RPC_URL_<CHAIN>).
blockJsontextarea—Block JSON (offline). {"block": {number, miner, extraData, baseFeePerGas, timestamp}, "transactions": [...], "receipts": [...]} as returned by eth_getBlockByNumber(…, true) and eth_getBlockReceipts.

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": {
    "mev-explorer": { "type": "http", "url": "https://mevexplorer.usefulweb.site/mcp" }
  }
}