{
  "x402Version": 2,
  "id": 4532,
  "slug": "4532",
  "resource": "https://anywaypossible.com/api/base-balance",
  "description": "Live Base wallet balance for AI agents. Returns native ETH and Circle USDC balances, atomic values, block height, contract address, and observation time for any EVM address. Includes a machine-readable upgrade path to treasury readiness for spend, gas-reserve, and wallet-health decisions. No API key.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xe5690D37805107C56f6195E65A262b234E0E5e75",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000",
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "address": "0x0000000000000000000000000000000000000000"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "address": "0x0000000000000000000000000000000000000000",
            "blockNumber": 12345678,
            "chainId": 8453,
            "eth": "0",
            "ethAtomic": "0",
            "network": "Base",
            "observedAt": "2026-01-01T00:00:00.000Z",
            "recommendedNext": {
              "endpoint": "https://anywaypossible.com/api/treasury",
              "priceUsd": "0.02",
              "reason": "Check spend readiness, gas reserve, and exact funding shortfalls."
            },
            "usdc": "0",
            "usdcAtomic": "0"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "address": {
                    "description": "EVM wallet address on Base",
                    "pattern": "^0x[a-fA-F0-9]{40}$",
                    "type": "string"
                  }
                },
                "required": [
                  "address"
                ],
                "type": "object"
              },
              "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"
                  },
                  "blockNumber": {
                    "type": "integer"
                  },
                  "chainId": {
                    "type": "integer"
                  },
                  "eth": {
                    "type": "string"
                  },
                  "ethAtomic": {
                    "type": "string"
                  },
                  "network": {
                    "type": "string"
                  },
                  "observedAt": {
                    "format": "date-time",
                    "type": "string"
                  },
                  "recommendedNext": {
                    "type": "object"
                  },
                  "usdc": {
                    "type": "string"
                  },
                  "usdcAtomic": {
                    "type": "string"
                  }
                },
                "required": [
                  "address",
                  "network",
                  "chainId",
                  "eth",
                  "usdc",
                  "ethAtomic",
                  "usdcAtomic",
                  "blockNumber",
                  "observedAt"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "builder-code": {
      "info": {
        "a": "anyway_possible",
        "s": [
          "cdp_sdk_server"
        ]
      },
      "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"
      }
    },
    "eip2612GasSponsoring": {},
    "erc20ApprovalGasSponsoring": {}
  },
  "tags": [
    "bazaar",
    "builder-code",
    "eip2612GasSponsoring",
    "erc20ApprovalGasSponsoring"
  ],
  "sourceHost": "anywaypossible.com",
  "lastUpdated": "2026-09-05T01:16:04.053Z",
  "quality": {
    "calls30d": 4,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-09-05T01:16:03.207Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "anywaypossible.com",
    "manifest_name": "anywaypossible.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}