Api Endpoint

x402.ochinimus.app

ERC20 and native ETH wallet balance on Base or Ethereum mainnet, for a 0x address or an ENS name. decimals() and symbol() are read from the contract at request time rather than assumed, because assuming 18 reports a USDC balance a trillion times too large. ENS is resolved through two independent resolvers and the answer is used only when they agree, so a wrong address can never produce a confident balance for the wrong wallet. An unsupported chain is refused rather than silently answered from the wrong one.

Open interactive test console

Offering

Provider
x402.ochinimus.app
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Blockchain And Crypto
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://x402.ochinimus.app/api/base-balance
MIME type
application/json
First seen
2026-10-16T01:50:32.458Z
Last seen
Tags
Base, Ethereum, Wallet, balance, ERC20, EVM, ENS

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.005 USDC
Atomic price: 5000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Payment option 2
0.005 USDC
Atomic price: 5000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 3
0.005 USDC
Atomic price: 5000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Payment option 4
0.005 USDC
Atomic price: 5000 · Network: eip155:42161 · Asset: USDC · Scheme: exact
Payment option 5
5000 atomic units
Atomic price: 5000 · Network: eip155:5042 · Asset: 0x3600000000000000000000000000000000000000 · Scheme: exact
Payment option 6
0.0025 USDC
Atomic price: 2500 · Network: eip155:8453 · Asset: USDC · Scheme: batch-settlement
Payment option 7
0.0025 USDC
Atomic price: 2500 · Network: eip155:137 · Asset: USDC · Scheme: batch-settlement
Payment option 8
0.0025 USDC
Atomic price: 2500 · Network: eip155:42161 · Asset: USDC · Scheme: batch-settlement
Payment option 9
2500 atomic units
Atomic price: 2500 · Network: eip155:5042 · Asset: 0x3600000000000000000000000000000000000000 · Scheme: exact
Payment option 10
0.005 USDC
Atomic price: 5000 · Network: eip155:10 · Asset: USDC · Scheme: exact
Payment option 11
0.005 USDC
Atomic price: 5000 · Network: eip155:143 · Asset: USDC · Scheme: exact
Payment option 12
0.005 USDC
Atomic price: 5000 · Network: eip155:43114 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "5000",
    "payTo": "4a8o45skRPcyjAdyR8yES215Swvh8uTpZD6KLarhxCJ7"
  },
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "5000",
    "payTo": "0x22DB3A9686EE5261e7Bf3ed4f91277232E8076e6"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "5000",
    "payTo": "0x22DB3A9686EE5261e7Bf3ed4f91277232E8076e6"
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "5000",
    "payTo": "0x22DB3A9686EE5261e7Bf3ed4f91277232E8076e6"
  },
  {
    "scheme": "exact",
    "network": "eip155:5042",
    "asset": "0x3600000000000000000000000000000000000000",
    "amount": "5000",
    "payTo": "0x0Cf44185564F2b72E291050DC79E578429E52f83"
  },
  {
    "scheme": "batch-settlement",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "2500",
    "payTo": "0x22DB3A9686EE5261e7Bf3ed4f91277232E8076e6"
  },
  {
    "scheme": "batch-settlement",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "2500",
    "payTo": "0x22DB3A9686EE5261e7Bf3ed4f91277232E8076e6"
  },
  {
    "scheme": "batch-settlement",
    "network": "eip155:42161",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "2500",
    "payTo": "0x22DB3A9686EE5261e7Bf3ed4f91277232E8076e6"
  },
  {
    "scheme": "exact",
    "network": "eip155:5042",
    "asset": "0x3600000000000000000000000000000000000000",
    "amount": "2500",
    "payTo": "0xA853129ACF56A851f9d51CD8cb47619465260Fa9"
  },
  {
    "scheme": "exact",
    "network": "eip155:10",
    "asset": "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85",
    "amount": "5000",
    "payTo": "0x22DB3A9686EE5261e7Bf3ed4f91277232E8076e6"
  },
  {
    "scheme": "exact",
    "network": "eip155:143",
    "asset": "0x754704Bc059F8C67012fEd69BC8A327a5aafb603",
    "amount": "5000",
    "payTo": "0x22DB3A9686EE5261e7Bf3ed4f91277232E8076e6"
  },
  {
    "scheme": "exact",
    "network": "eip155:43114",
    "asset": "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E",
    "amount": "5000",
    "payTo": "0x22DB3A9686EE5261e7Bf3ed4f91277232E8076e6"
  }
]

Observed health

Status
Healthy
Latest latency
332 ms
Average latency
422 ms
HTTP status
402
Last checked
Reachability
100% over 22 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "address": {
          "type": "string",
          "description": "0x address (40 hex) or an ENS name ending .eth"
        },
        "token": {
          "description": "ERC20 contract address, or a known ticker: USDC, WETH, DAI, CBBTC, USDBC, CBETH, AERO, EURC. Omit for the native ETH balance",
          "type": "string"
        },
        "chain": {
          "description": "base (default) or ethereum",
          "type": "string"
        }
      },
      "required": [
        "address"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "input": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "const": "http"
        },
        "method": {
          "type": "string",
          "enum": [
            "GET"
          ]
        },
        "queryParams": {
          "type": "object",
          "properties": {
            "address": {
              "type": "string",
              "description": "0x address (40 hex) or an ENS name ending .eth"
            },
            "token": {
              "description": "ERC20 contract address, or a known ticker: USDC, WETH, DAI, CBBTC, USDBC, CBETH, AERO, EURC. Omit for the native ETH balance",
              "type": "string"
            },
            "chain": {
              "description": "base (default) or ethereum",
              "type": "string"
            }
          },
          "required": [
            "address"
          ]
        }
      },
      "required": [
        "type",
        "method"
      ],
      "additionalProperties": false
    },
    "output": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string"
        },
        "example": {
          "type": "object",
          "properties": {
            "tool": {
              "type": "string"
            },
            "data": {
              "type": "object",
              "properties": {
                "chain": {
                  "type": "string"
                },
                "chain_id": {
                  "type": "number"
                },
                "address": {
                  "type": "string"
                },
                "asset": {
                  "type": "string"
                },
                "balance": {
                  "type": "number"
                },
                "balance_wei": {
                  "type": "string"
                },
                "source": {
                  "type": "string"
                }
              }
            },
            "paid": {
              "type": "boolean"
            }
          }
        }
      },
      "required": [
        "type"
      ]
    }
  },
  "required": [
    "input"
  ]
}