ZeroDust Balances API

Balance queries

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 3

GET /balances/{address} Get balances for an address across all supported chains #
GET /balances/{address}/{chainId} Get balance for an address on a specific chain #
GET /direct/balances/{address} Native balances on every direct chain #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/zerodust-xyz:zerodust-xyz-balances-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

zerodust-xyz-balances-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ZeroDust Balances API
  description: 'Move a wallet''s entire native gas balance off an EVM chain and leave exactly 0, to any address on the same chain or bridged to another chain. Sign with the wallet''s key (EIP-7702) or through MetaMask Advanced Permissions (ERC-7715, signer=permission). Supported chains change: read GET /chains and GET /direct/chains. Docs: https://zerodust.xyz/docs/api'
  version: 1.0.0
  contact:
    name: ZeroDust
    url: https://zerodust.xyz
servers:
- url: https://api.zerodust.xyz
  description: Production (mainnet)
tags:
- name: Balances
  description: Balance queries
paths:
  /balances/{address}:
    get:
      summary: Get balances for an address across all supported chains
      tags:
      - Balances
      parameters:
      - schema:
          type: boolean
          default: false
        in: query
        name: testnet
        required: false
      - schema:
          type: string
          pattern: ^0x[a-fA-F0-9]{40}$
        in: path
        name: address
        required: true
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  address:
                    type: string
                  chains:
                    type: array
                    items:
                      type: object
                      properties:
                        chainId:
                          type: number
                        name:
                          type: string
                        nativeToken:
                          type: string
                        balance:
                          type: string
                        balanceFormatted:
                          type: string
                        canSweep:
                          type: boolean
                        minBalance:
                          type: string
      operationId: getBalancesByAddress
      x-operation-id-source: derived
  /balances/{address}/{chainId}:
    get:
      summary: Get balance for an address on a specific chain
      tags:
      - Balances
      parameters:
      - schema:
          type: string
          pattern: ^0x[a-fA-F0-9]{40}$
        in: path
        name: address
        required: true
      - schema:
          type: number
        in: path
        name: chainId
        required: true
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  chainId:
                    type: number
                  name:
                    type: string
                  nativeToken:
                    type: string
                  balance:
                    type: string
                  balanceFormatted:
                    type: string
                  canSweep:
                    type: boolean
                  minBalance:
                    type: string
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
      operationId: getBalancesByAddressByChainId
      x-operation-id-source: derived
  /direct/balances/{address}:
    get:
      summary: Native balances on every direct chain
      tags:
      - Balances
      parameters:
      - schema:
          type: string
          pattern: ^0x[a-fA-F0-9]{40}$
        in: path
        name: address
        required: true
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    chainId:
                      type: integer
                    name:
                      type: string
                    token:
                      type: string
                    decimals:
                      type: integer
                    explorerUrl:
                      type: string
                    balance:
                      type: string
      operationId: getDirectBalancesByAddress
      x-operation-id-source: derived
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-API-Key
    bearerAuth:
      type: http
      scheme: bearer