Api Endpoint

hcrb.in

Raw and formatted ERC-20 balanceOf for an address on Base, with decimals read from the token. Result carries a signed receipt.

Open interactive test console

Offering

Provider
hcrb.in
Method
POST
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://hcrb.in/v1/tools/erc20-balance/call
MIME type
application/json
First seen
2026-10-16T01:51:40.954Z
Last seen
Tags
None supplied

Payment pricing

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

Payment option 1
0.005 USDC
Atomic price: 5000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
5000 atomic units
Atomic price: 5000 · Network: eip155:8453 · Asset: 0x60a3E35Cc302bFA44Cb288Bc5a4F316Fdb1adb42 · 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:43114 · Asset: USDC · Scheme: exact
Payment option 5
5000 atomic units
Atomic price: 5000 · Network: eip155:43114 · Asset: 0xC891EB4cbdEFf6e073e859e987815Ed1505c2ACD · Scheme: exact
Payment option 6
0.005 USDC
Atomic price: 5000 · Network: eip155:42161 · Asset: USDC · Scheme: exact
Payment option 7
0.005 USDC
Atomic price: 5000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "5000",
    "payTo": "0xc59c85e661d34084a7769f955d17fd38254a6235"
  },
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x60a3E35Cc302bFA44Cb288Bc5a4F316Fdb1adb42",
    "amount": "5000",
    "payTo": "0xc59c85e661d34084a7769f955d17fd38254a6235"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "5000",
    "payTo": "0xc59c85e661d34084a7769f955d17fd38254a6235"
  },
  {
    "scheme": "exact",
    "network": "eip155:43114",
    "asset": "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E",
    "amount": "5000",
    "payTo": "0xc59c85e661d34084a7769f955d17fd38254a6235"
  },
  {
    "scheme": "exact",
    "network": "eip155:43114",
    "asset": "0xC891EB4cbdEFf6e073e859e987815Ed1505c2ACD",
    "amount": "5000",
    "payTo": "0xc59c85e661d34084a7769f955d17fd38254a6235"
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "5000",
    "payTo": "0xc59c85e661d34084a7769f955d17fd38254a6235"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "5000",
    "payTo": "AY3ZWZ5rEJ2RgMorWguxZ86jjbCxuVgvkoB8ThT3N5uC"
  }
]

Observed health

Status
Healthy
Latest latency
65 ms
Average latency
519 ms
HTTP status
204
Last checked
Reachability
100% over 14 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": [
        "POST",
        "PUT",
        "PATCH"
      ]
    },
    "bodyType": {
      "type": "string",
      "enum": [
        "json",
        "form-data",
        "text"
      ]
    },
    "body": {
      "type": "object",
      "properties": {
        "input": {
          "type": "object",
          "required": [
            "address",
            "token_address"
          ],
          "properties": {
            "address": {
              "type": "string",
              "description": "Holder EVM address, 0x-prefixed."
            },
            "token_address": {
              "type": "string",
              "description": "ERC-20 token contract address, 0x-prefixed."
            },
            "decimals": {
              "type": "number",
              "description": "Token decimals override (optional)."
            }
          }
        }
      },
      "required": [
        "input"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "additionalProperties": false,
          "properties": {
            "input": {
              "properties": {
                "address": {
                  "description": "Holder EVM address, 0x-prefixed.",
                  "type": "string"
                },
                "decimals": {
                  "description": "Token decimals override (optional).",
                  "type": "number"
                },
                "token_address": {
                  "description": "ERC-20 token contract address, 0x-prefixed.",
                  "type": "string"
                }
              },
              "required": [
                "address",
                "token_address"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST",
            "PUT",
            "PATCH"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "address": {
              "type": "string"
            },
            "balance": {
              "type": "number"
            },
            "balance_raw": {
              "type": "string"
            },
            "decimals": {
              "type": "number"
            },
            "decimals_source": {
              "type": "string"
            },
            "reason": {
              "type": "string"
            },
            "retryable": {
              "type": "boolean"
            },
            "scope": {
              "type": "string"
            },
            "token_address": {
              "type": "string"
            },
            "tool": {
              "type": "string"
            },
            "valid": {
              "type": "boolean"
            }
          },
          "required": [
            "valid",
            "address",
            "token_address"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}