API & MCP

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

HTTP API

Smart Contract Upgrade Explorer

Reads a contract straight from the chain and identifies its proxy pattern (EIP-1967 transparent, UUPS, beacon, EIP-1167 clone, Safe proxy, legacy ZeppelinOS, EIP-7702 delegated account), the current implementation, who controls upgrades (single key, Safe multisig with threshold, timelock with delay, ProxyAdmin and its owner), the Upgraded/AdminChanged event history, and whether the code is verified on Sourcify. Paste raw bytecode for an offline scan.

Inputs of Smart Contract Upgrade Explorer
FieldTypeDefaultDescription
modeselect (lookup, bytecode)"lookup"What do you have?
chainselect (ethereum, base, arbitrum, optimism, polygon, avalanche, bsc)"ethereum"Chain
addresstext—Contract address
bytecodetextarea—Runtime bytecode

Example request

EIP-1167 minimal proxy clone (offline)

curl -X POST https://contractupgradeexplorer.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"mode":"bytecode","chain":"ethereum","bytecode":"0x363d3d373d3d3d363d73bebebebebebebebebebebebebebebebebebebebe5af43d82803e903d91602b57fd5bf3"}'

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