{
  "id": "6674ad95fd52",
  "name": "Check if an Ethereum address is a contract via eth_getCode",
  "description": "Check if an Ethereum address is a contract via eth_getCode - returns deployed bytecode",
  "url": "https://api.onesource.io/api/chain/code/:address",
  "method": "GET",
  "provider": "api.onesource.io",
  "category": "crypto-data",
  "category_name": "Crypto & onchain data",
  "price_usd": 0.003,
  "price_atomic": "3000",
  "network": "eip155:8453",
  "network_name": "Base",
  "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
  "pay_to": "0x52E29e0d2Aa49bfBfC548C0A9F2196F4aa51f3ea",
  "x402_version": 2,
  "input": {
    "method": "GET",
    "pathParams": {
      "address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"
    },
    "queryParams": {
      "network": "ethereum"
    },
    "type": "http"
  },
  "output_example": {
    "example": {
      "data": {
        "address": "0xdac17f958d2ee523a2206206994597c13d831ec7",
        "code": "0x6080604052600436106101...",
        "code_length": 10234,
        "is_contract": true
      },
      "meta": {
        "cost_usdc": "0.001",
        "endpoint": "/api/chain/code/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
        "payment_chain": "base",
        "payment_token": "USDC",
        "request_id": "00000000abcdef01"
      }
    },
    "type": "json"
  },
  "usage_30d": {
    "calls": 265,
    "unique_payers": 265,
    "last_called_at": "2026-11-13T03:57:13.792Z"
  },
  "health": {
    "status": "ok",
    "http_status": 402,
    "checked_at": "2026-11-23T15:52:27.802Z"
  },
  "listed_since": "2026-11-23T15:49:09.214Z",
  "source": "bazaar",
  "details_url": "https://x402-tools.com/tools/6674ad95fd52"
}