Returns verified source code and ABI for any deployed contract on Ethereum, Base
Returns verified source code and ABI for any deployed contract on Ethereum, Base, Optimism, Arbitrum, or Polygon. Includes is_verified, contract name, compiler version, parsed ABI, full source, license, optimizer settings, constructor args, and proxy implementation address. Use it as an Etherscan source lookup, contract ABI fetcher, or Solidity source lookup.
Answeringour last check, 2026-10-18
1 of 1checks answered this week
19 msmedian answer time
$0.01listed price per call
$0.01price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://x402.agentutility.ai/contract-source
| Category | Code and developer |
|---|---|
| Provider host | x402.agentutility.ai |
| Networks | eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 2 from 2 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-10-18 | valid payment request | 402 | $0.01 | 19 ms |
Example input (from the provider)
{
"body": {
"address": "0x4200000000000000000000000000000000000006",
"chain": "base"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"address": {
"description": "0x-prefixed 20-byte EVM contract address.",
"type": "string"
},
"chain": {
"description": "EVM chain. Default 'base'. Other supported: 'ethereum', 'polygon', 'arbitrum', 'optimism'.",
"enum": [
"base",
"ethereum",
"polygon",
"arbitrum",
"optimism"
],
"type": "string"
}
},
"required": [
"address"
]
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"abi": {
"items": {
"properties": {
"inputs": {
"type": "array"
},
"name": {
"type": "string"
},
"outputs": {
"type": "array"
},
"stateMutability": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"address": {
"type": "string"
},
"chain": {
"type": "string"
},
"compiler_version": {
"type": "string"
},
"constructor_arguments": {
"type": "string"
},
"is_verified": {
"type": "boolean"
},
"license": {
"type": "string"
},
"name": {
"type": "string"
},
"optimization": {
"properties": {
"enabled": {
"type": "boolean"
},
"runs": {
"type": "integer"
}
},
"type": "object"
},
"proxy": {
"type": "boolean"
},
"source": {
"type": "string"
},
"source_code": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}