{
  "x402Version": 2,
  "id": 28355,
  "slug": "28355",
  "resource": "https://x402-echo-service.onrender.com/chain/erc20-balance",
  "description": "Read an ERC-20 token balance on Base. POST {\"address\":\"0x...\",\"token\":\"0x...\"} and receive the raw balance, the token decimals and the human-readable amount. Defaults to USDC when token is omitted. Live chain state, no indexer lag.",
  "type": "http",
  "serviceName": "ERC-20 Balance",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1787754105/bazaar-icons/222b7a4262b684da.png",
  "resourceType": "Beauty & Personal Care",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x9Cc774A8eD49d89cBA1A288F4a050B8F7FbA77EE",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000",
      "amountUsd": 0.001,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "address": {
            "type": "string"
          },
          "amount": {
            "type": "string"
          },
          "decimals": {
            "type": "integer"
          },
          "raw": {
            "type": "string"
          },
          "token": {
            "type": "string"
          }
        },
        "required": [
          "address",
          "token",
          "raw",
          "decimals",
          "amount"
        ],
        "type": "object"
      },
      "type": {
        "const": "json"
      }
    },
    "required": [
      "type",
      "example"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "category": "Infra",
      "coverImage": "https://x402-echo-service.onrender.com/icon.png",
      "info": {
        "input": {
          "body": {
            "address": "0x9Cc774A8eD49d89cBA1A288F4a050B8F7FbA77EE"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "address": "0x9Cc774A8eD49d89cBA1A288F4a050B8F7FbA77EE",
            "amount": "4.111",
            "decimals": 6,
            "raw": "4111000",
            "token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "address": {
                    "description": "Account to read.",
                    "type": "string"
                  },
                  "token": {
                    "description": "ERC-20 contract. Defaults to USDC on Base.",
                    "type": "string"
                  }
                },
                "required": [
                  "address"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json"
                ]
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http"
              }
            },
            "required": [
              "type",
              "bodyType",
              "body",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "address": {
                    "type": "string"
                  },
                  "amount": {
                    "type": "string"
                  },
                  "decimals": {
                    "type": "integer"
                  },
                  "raw": {
                    "type": "string"
                  },
                  "token": {
                    "type": "string"
                  }
                },
                "required": [
                  "address",
                  "token",
                  "raw",
                  "decimals",
                  "amount"
                ],
                "type": "object"
              },
              "type": {
                "const": "json"
              }
            },
            "required": [
              "type",
              "example"
            ],
            "type": "object"
          }
        },
        "required": [
          "input",
          "output"
        ],
        "type": "object"
      },
      "serviceName": "ERC-20 Balance",
      "summary": "Token balance for any address on Base, decimals applied.",
      "tags": [
        "erc20",
        "balance",
        "base",
        "onchain",
        "token"
      ]
    }
  },
  "tags": [
    "erc20",
    "balance",
    "base",
    "onchain",
    "token",
    "bazaar"
  ],
  "sourceHost": "x402-echo-service.onrender.com",
  "lastUpdated": "2026-10-09T13:29:04.146Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-09T13:29:03.926Z"
  },
  "metadata": {
    "serviceName": "ERC-20 Balance",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1787754105/bazaar-icons/222b7a4262b684da.png",
    "extensions": {
      "bazaar": {
        "category": "Infra",
        "coverImage": "https://x402-echo-service.onrender.com/icon.png",
        "info": {
          "input": {
            "body": {
              "address": "0x9Cc774A8eD49d89cBA1A288F4a050B8F7FbA77EE"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "address": "0x9Cc774A8eD49d89cBA1A288F4a050B8F7FbA77EE",
              "amount": "4.111",
              "decimals": 6,
              "raw": "4111000",
              "token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "address": {
                      "description": "Account to read.",
                      "type": "string"
                    },
                    "token": {
                      "description": "ERC-20 contract. Defaults to USDC on Base.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "address"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json"
                  ]
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http"
                }
              },
              "required": [
                "type",
                "bodyType",
                "body",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "address": {
                      "type": "string"
                    },
                    "amount": {
                      "type": "string"
                    },
                    "decimals": {
                      "type": "integer"
                    },
                    "raw": {
                      "type": "string"
                    },
                    "token": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "address",
                    "token",
                    "raw",
                    "decimals",
                    "amount"
                  ],
                  "type": "object"
                },
                "type": {
                  "const": "json"
                }
              },
              "required": [
                "type",
                "example"
              ],
              "type": "object"
            }
          },
          "required": [
            "input",
            "output"
          ],
          "type": "object"
        },
        "serviceName": "ERC-20 Balance",
        "summary": "Token balance for any address on Base, decimals applied.",
        "tags": [
          "erc20",
          "balance",
          "base",
          "onchain",
          "token"
        ]
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402-echo-service.onrender.com",
    "manifest_name": "x402-echo-service.onrender.com",
    "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": {
    "address": "0x9Cc774A8eD49d89cBA1A288F4a050B8F7FbA77EE",
    "amount": "4.111",
    "decimals": 6,
    "raw": "4111000",
    "token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
  }
}