Api Endpoint

Wallet & Token Balances (ERC20, SPL)

Wallet balance and token balances (ERC20 balance, SPL): token balances and USD portfolio value for any wallet, read live onchain. EVM (Ethereum, Base, Arbitrum, Polygon in one call; ENS names work) or Solana (SOL + SPL tokens). Use to check a wallet before paying, trading or airdrops. Pass address, optional chain and tokens. Returns per-chain native + ERC-20/SPL balances, prices and total USD. 0.003 USDC/call; failed calls are free.

Open interactive test console

Offering

Provider
x402-seller-pmlm.onrender.com
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-seller-pmlm.onrender.com/balance
MIME type
application/json
First seen
2026-10-16T01:50:38.788Z
Last seen
Tags
wallet balance, ERC20 balance, token balances, portfolio value, solana wallet

Payment pricing

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

Payment option 1
0.003 USDC
Atomic price: 3000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.003 USDC
Atomic price: 3000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Payment option 3
0.003 USDC
Atomic price: 3000 · Network: eip155:42161 · Asset: USDC · Scheme: exact
Payment option 4
0.003 USDC
Atomic price: 3000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Payment option 5
0.003 USDC
Atomic price: 3000 · Network: eip155:43114 · Asset: USDC · Scheme: exact
Payment option 6
3000 atomic units
Atomic price: 3000 · Network: eip155:1329 · Asset: 0xe15fC38F6D8c56aF07bbCBe3BAf5708A2Bf42392 · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "3000",
    "payTo": "0x079471E6F43b6feeF80895E19cBFcBB496904852"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "3000",
    "payTo": "0x079471E6F43b6feeF80895E19cBFcBB496904852"
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "3000",
    "payTo": "0x079471E6F43b6feeF80895E19cBFcBB496904852"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "3000",
    "payTo": "787RZwDGpjmRsG5wgnyBeWQHBuARax8Qo6P7dmDuqKeW"
  },
  {
    "scheme": "exact",
    "network": "eip155:43114",
    "asset": "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E",
    "amount": "3000",
    "payTo": "0x079471E6F43b6feeF80895E19cBFcBB496904852"
  },
  {
    "scheme": "exact",
    "network": "eip155:1329",
    "asset": "0xe15fC38F6D8c56aF07bbCBe3BAf5708A2Bf42392",
    "amount": "3000",
    "payTo": "0x079471E6F43b6feeF80895E19cBFcBB496904852"
  }
]

Observed health

Status
Healthy
Latest latency
355 ms
Average latency
393 ms
HTTP status
402
Last checked
Reachability
100% over 10 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",
          "minLength": 3,
          "maxLength": 64,
          "description": "0x EVM address, ENS name (name.eth) or Solana address"
        },
        "chain": {
          "type": "string",
          "enum": [
            "all",
            "ethereum",
            "base",
            "arbitrum",
            "polygon",
            "solana"
          ],
          "description": "EVM: one chain or all (default). Solana addresses are detected automatically"
        },
        "tokens": {
          "type": "string",
          "description": "Optional extra token contracts (EVM, single chain) or SPL mints, comma-separated, max 20"
        }
      },
      "required": [
        "address"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "properties": {
            "address": {
              "description": "0x EVM address, ENS name (name.eth) or Solana address",
              "maxLength": 64,
              "minLength": 3,
              "type": "string"
            },
            "chain": {
              "description": "EVM: one chain or all (default). Solana addresses are detected automatically",
              "enum": [
                "all",
                "ethereum",
                "base",
                "arbitrum",
                "polygon",
                "solana"
              ],
              "type": "string"
            },
            "tokens": {
              "description": "Optional extra token contracts (EVM, single chain) or SPL mints, comma-separated, max 20",
              "type": "string"
            }
          },
          "required": [
            "address"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "address": {
              "type": "string"
            },
            "chains": {
              "items": {
                "properties": {
                  "chain": {
                    "type": "string"
                  },
                  "native": {
                    "type": "object"
                  },
                  "tokens": {
                    "items": {
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "totalUsd": {
                    "type": "number"
                  }
                },
                "type": "object"
              },
              "type": "array"
            },
            "ens": {
              "type": "string"
            },
            "generatedAt": {
              "type": "string"
            },
            "totalUsd": {
              "type": "number"
            }
          },
          "required": [
            "address",
            "chains",
            "totalUsd"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}