mirrored listing x402 eip155:8453eip155:137eip155:42161eip155:143eip155:43114eip155:1329eip155:10eip155:4663eip155:42220solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpstellar:pubnetalgorand:wGHE2Pwdvd7S12BL5FaOP20EGYesN73ktiC1qzkkit8=

Fetch the verified Solidity source files and compiler metadata for a contract address from

Fetch the verified Solidity source files and compiler metadata for a contract address from Sourcify's open verification repository. Covers 8 EVM mainnets (ethereum, base, polygon, arbitrum, optimism, bsc, gnosis, celo). Contracts that were never verified return a structured {verified:false} miss, not an error. Feed the returned source into /api/solidity-scan for a heuristic pattern check.

Do you run agent402.tools? This listing was mirrored from Coinbase's public Bazaar. Claim it in 30 seconds — no account required — and it becomes verified, permanently overriding the mirrored copy.

Claim this listing
5000 (raw units)
price
4
calls / 30d
1
unique payers
2026-08-31
updated

Provider

agent402.tools · discovered, not yet claimed by its owner

Payment (x402 accepts[])

[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "5000",
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "5000",
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "5000",
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "eip155:143",
    "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
    "asset": "0x754704Bc059F8C67012fEd69BC8A327a5aafb603",
    "amount": "5000",
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "eip155:43114",
    "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
    "asset": "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E",
    "amount": "5000",
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "eip155:1329",
    "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
    "asset": "0xe15fC38F6D8c56aF07bbCBe3BAf5708A2Bf42392",
    "amount": "5000",
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "eip155:10",
    "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
    "asset": "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85",
    "amount": "6000",
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "eip155:4663",
    "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
    "asset": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
    "amount": "5000",
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "eip155:42220",
    "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
    "asset": "0xcebA9300f2b948710d2653dD7B07f33A8B32118C",
    "amount": "5000",
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "upto",
    "network": "eip155:8453",
    "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "5000",
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "payTo": "J7aN3PLJnTCF5qpEnvJHJsnCjcGuqC2rYtEM8Gv3xwg",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "5000",
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "stellar:pubnet",
    "payTo": "GDNJXCKW7ZM7GEEVP674TWPU26YJNBQ2FI4ZIPRKTPTNUEJMDHFJWWRL",
    "asset": "CCW67TSZV3SSS2HXMBQ5JFGCKJNXKZM7UQUWUZPUTHXSTZLEO7SJMI75",
    "amount": "50000",
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "algorand:wGHE2Pwdvd7S12BL5FaOP20EGYesN73ktiC1qzkkit8=",
    "payTo": "C7IIHG7SPLPZ5H7ZT6HW3UV2OQMQQE6Y2HBNGZXSLRJULE42BEE2OY2XIE",
    "asset": "31566704",
    "amount": "5000",
    "maxTimeoutSeconds": 300
  }
]

Output schema

{
  "bazaar": {
    "info": {
      "input": {
        "body": {
          "address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "network": "base"
        },
        "bodyType": "json",
        "method": "POST",
        "type": "http"
      },
      "output": {
        "example": {
          "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
          "chainId": 8453,
          "compiler": {
            "language": "Solidity",
            "version": "0.6.12"
          },
          "match": "exact_match",
          "network": "base",
          "sourceCount": 2,
          "sources": {
            "contracts/FiatTokenProxy.sol": "// SPDX-License-Identifier: MIT …"
          },
          "verified": true,
          "verifiedAt": "2024-08-08T13:59:29Z"
        },
        "type": "json"
      }
    },
    "schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "properties": {
        "input": {
          "additionalProperties": false,
          "properties": {
            "body": {
              "properties": {
                "address": {
                  "description": "0x-prefixed 40-char contract address.",
                  "type": "string"
                },
                "network": {
                  "description": "ethereum / base / polygon / arbitrum / optimism / bsc / gnosis / celo (default base).",
                  "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": {
                "address": {
                  "type": "string"
                },
                "chainId": {
                  "type": "integer"
                },
                "compiler": {
                  "type": "object"
                },
                "match": {
                  "type": "string"
                },
                "network": {
                  "type": "string"
                },
                "sourceCount": {
                  "type": "integer"
                },
                "sources": {
                  "type": "object"
                },
                "verified": {
                  "type": "boolean"
                },
                "verifiedAt": {
                  "type": "string"
                }
              },
              "required": [
                "address",
                "network",
                "chainId",
                "verified",
                "match",
                "verifiedAt",
                "compiler",
                "sourceCount",
                "sources"
              ],
              "type": "object"
            },
            "type": {
              "type": "string"
            }
          },
          "required": [
            "type"
          ],
          "type": "object"
        }
      },
      "required": [
        "input"
      ],
      "type": "object"
    }
  },
  "builder-code": {
    "info": {
      "a": "bc_b4aw4uzd"
    },
    "schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "additionalProperties": false,
      "properties": {
        "a": {
          "description": "App builder code",
          "pattern": "^[a-z0-9_]{1,32}$",
          "type": "string"
        },
        "s": {
          "description": "Service builder codes",
          "items": {
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          },
          "maxItems": 11,
          "type": "array"
        },
        "w": {
          "description": "Wallet builder code",
          "pattern": "^[a-z0-9_]{1,32}$",
          "type": "string"
        }
      },
      "type": "object"
    }
  },
  "payment-identifier": {
    "info": {
      "required": false
    },
    "schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "properties": {
        "id": {
          "maxLength": 128,
          "minLength": 16,
          "pattern": "^[a-zA-Z0-9_-]+$",
          "type": "string"
        },
        "required": {
          "type": "boolean"
        }
      },
      "required": [
        "required"
      ],
      "type": "object"
    }
  }
}

Use it

curl

curl "https://agent402.tools/api/contract-source"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid

JavaScript

const res = await fetch("https://agent402.tools/api/contract-source");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}

Python

import httpx
res = httpx.get("https://agent402.tools/api/contract-source")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Machine-readable

Everything on this page is also available as clean JSON at /resources/1691.json, and this resource appears in /discovery/resources and /discovery/search.