{
  "x402Version": 2,
  "id": 29305,
  "slug": "29305",
  "resource": "https://api.agentstools.dev/contract/source",
  "description": "Fetch a verified smart-contract's full source, ABI, compiler settings and NatSpec docs for an EVM address, and automatically resolve a proxy to its implementation so the response also carries the implementation ABI. One call returns everything an audit or integration agent needs to understand the contract, keyless and pay-per-call. Unverified contracts are reported honestly.",
  "type": "http",
  "serviceName": "evm-contract-source",
  "resourceType": "Security",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xF22e558a00D91Ee12A1F50C52186FecB8dDFf493",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "20000",
      "amountUsd": 0.02,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
            "network": "base"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "abi_len": 12,
            "attribution": "Verified source / ABI / NatSpec / proxy-resolution via Sourcify (https://sourcify.dev), a public decentralized verified-contract store.",
            "chain_id": 8453,
            "compilation": {
              "compiler_version": "0.6.12",
              "language": "Solidity",
              "name": "FiatTokenProxy"
            },
            "network": "base",
            "proxy": {
              "impl_abi_len": 72,
              "impl_address": "0x2Ce6311d...",
              "impl_name": "FiatTokenV2_2",
              "is_proxy": true,
              "proxy_type": "ZeppelinOSProxy"
            },
            "source_file_count": 1,
            "verified": true
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET",
                  "HEAD",
                  "DELETE"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "address": {
                    "description": "Contract address, 0x + 40 hex",
                    "type": "string"
                  },
                  "network": {
                    "description": "EVM network (default base)",
                    "enum": [
                      "base",
                      "ethereum",
                      "arbitrum",
                      "optimism",
                      "polygon",
                      "bnb"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "address"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "evm",
    "contract",
    "source-code",
    "abi",
    "verified",
    "bazaar"
  ],
  "sourceHost": "api.agentstools.dev",
  "lastUpdated": "2026-10-13T08:00:23.994Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-13T08:00:23.751Z"
  },
  "metadata": {
    "serviceName": "evm-contract-source",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
              "network": "base"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "abi_len": 12,
              "attribution": "Verified source / ABI / NatSpec / proxy-resolution via Sourcify (https://sourcify.dev), a public decentralized verified-contract store.",
              "chain_id": 8453,
              "compilation": {
                "compiler_version": "0.6.12",
                "language": "Solidity",
                "name": "FiatTokenProxy"
              },
              "network": "base",
              "proxy": {
                "impl_abi_len": 72,
                "impl_address": "0x2Ce6311d...",
                "impl_name": "FiatTokenV2_2",
                "is_proxy": true,
                "proxy_type": "ZeppelinOSProxy"
              },
              "source_file_count": 1,
              "verified": true
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET",
                    "HEAD",
                    "DELETE"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {
                    "address": {
                      "description": "Contract address, 0x + 40 hex",
                      "type": "string"
                    },
                    "network": {
                      "description": "EVM network (default base)",
                      "enum": [
                        "base",
                        "ethereum",
                        "arbitrum",
                        "optimism",
                        "polygon",
                        "bnb"
                      ],
                      "type": "string"
                    }
                  },
                  "required": [
                    "address"
                  ],
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.agentstools.dev",
    "manifest_name": "api.agentstools.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "abi_len": 12,
    "attribution": "Verified source / ABI / NatSpec / proxy-resolution via Sourcify (https://sourcify.dev), a public decentralized verified-contract store.",
    "chain_id": 8453,
    "compilation": {
      "compiler_version": "0.6.12",
      "language": "Solidity",
      "name": "FiatTokenProxy"
    },
    "network": "base",
    "proxy": {
      "impl_abi_len": 72,
      "impl_address": "0x2Ce6311d...",
      "impl_name": "FiatTokenV2_2",
      "is_proxy": true,
      "proxy_type": "ZeppelinOSProxy"
    },
    "source_file_count": 1,
    "verified": true
  }
}