Skip to main content

Balance Endpoints

Get Bitcoin balance for non-HD address

Operation Identity:
  • Operation ID: getBitcoinBalanceForWalletAddress
  • GET /v1/btc-mainnet/address/{walletAddress}/balances_v2/
  • SDK: BitcoinService.getBitcoinNonHdWalletBalances()
Role: specialized | Credit Cost: 1 per call | API Type: REST Chains: btc-mainnet

Path Parameters

Query Parameters

Response Fields

Item Fields

Credit Cost: 1 per call Processing: Realtime
Tip: Estimate your monthly cost for this API using the Pricing Calculator.

Get Bitcoin balances for HD address

Operation Identity:
  • Operation ID: getBitcoinHdWalletBalances
  • GET /v1/btc-mainnet/address/{walletAddress}/hd_wallets/
  • SDK: BitcoinService.getBitcoinHdWalletBalances()
Role: specialized | Credit Cost: 0.1 per item | API Type: REST Use Cases: wallets, accounting-tax-reporting, portfolio-tracking Chains: btc-mainnet

Path Parameters

Query Parameters

Response Fields

Item Fields

Credit Cost: 0.1 per item Processing: Realtime
Tip: Estimate your monthly cost for this API using the Pricing Calculator.
Note: Requests that return status 200 and no data cost 0.1 credits.

Get ERC20 token transfers for address

Operation Identity:
  • Operation ID: getErc20TransfersForWalletAddress
  • GET /v1/{chainName}/address/{walletAddress}/transfers_v2/
  • SDK: BalanceService.getErc20TransfersForWalletAddress()
Role: primary | Credit Cost: 0.05 per item | API Type: REST Chains: All supported chains

Path Parameters

Query Parameters

Response Fields

Item Fields

Pagination Fields

Credit Cost: 0.05 per item Processing: Realtime
Tip: Estimate your monthly cost for this API using the Pricing Calculator.

Get historical Bitcoin balance for non-HD address

Operation Identity:
  • Operation ID: getHistoricalBitcoinBalanceForWalletAddress
  • GET /v1/btc-mainnet/address/{walletAddress}/historical_balances/
  • SDK: BitcoinService.getBitcoinNonHdWalletBalances()
Role: specialized | Credit Cost: 1 per call | API Type: REST Use Cases: accounting-tax-reporting, audit-compliance-forensics, portfolio-tracking Chains: btc-mainnet

Path Parameters

Query Parameters

Response Fields

Item Fields

Credit Cost: 1 per call Processing: Realtime
Tip: Estimate your monthly cost for this API using the Pricing Calculator.

Get historical portfolio value over time

Operation Identity:
  • Operation ID: getHistoricalPortfolioForWalletAddress
  • GET /v1/{chainName}/address/{walletAddress}/portfolio_v2/
  • SDK: BalanceService.getHistoricalPortfolioForWalletAddress()
Role: primary | Credit Cost: 2 per 30 days | API Type: REST Use Cases: portfolio-tracking, accounting-tax-reporting Chains: All supported chains

Path Parameters

Query Parameters

Response Fields

Item Fields

Credit Cost: 2 per 30 days Processing: Realtime
Tip: Estimate your monthly cost for this API using the Pricing Calculator.
Note: Rebasing tokens (e.g. stETH, aTokens, cTokens) are supported on Foundational Chains.

Get historical token balances for address

Operation Identity:
  • Operation ID: getHistoricalTokenBalancesForWalletAddress
  • GET /v1/{chainName}/address/{walletAddress}/historical_balances/
  • SDK: BalanceService.getHistoricalTokenBalancesForWalletAddress()
Role: specialized | Credit Cost: 1 per call | API Type: REST Chains: eth-mainnet, matic-mainnet, bsc-mainnet, base-mainnet, optimism-mainnet, gnosis-mainnet

Path Parameters

Query Parameters

Response Fields

Item Fields

Credit Cost: 1 per call Processing: Realtime
Tip: Estimate your monthly cost for this API using the Pricing Calculator.
Note: Endpoint only supported on all Foundational Chains.
Rebasing tokens (e.g. stETH, aTokens, cTokens) also supported on Foundational Chains.

Get native token balance for address

Operation Identity:
  • Operation ID: getNativeTokenBalance
  • GET /v1/{chainName}/address/{walletAddress}/balances_native/
  • SDK: BalanceService.getNativeTokenBalance()
Role: primary | Credit Cost: 0.5 per call | API Type: REST Use Cases: wallets, accounting-tax-reporting, portfolio-tracking Chains: All supported chains

Path Parameters

Query Parameters

Response Fields

Item Fields

Credit Cost: 0.5 per call Processing: Realtime
Tip: Estimate your monthly cost for this API using the Pricing Calculator.
Note: Not supported on non-EVM chains such as Bitcoin and Solana.

Get token balances for address

Operation Identity:
  • Operation ID: getTokenBalancesForWalletAddress
  • GET /v1/{chainName}/address/{walletAddress}/balances_v2/
  • SDK: BalanceService.getTokenBalancesForWalletAddress()
Role: primary | Credit Cost: 1 per call | API Type: REST Use Cases: wallets, portfolio-tracking, accounting-tax-reporting Chains: All supported chains

Path Parameters

Query Parameters

Response Fields

Item Fields

Credit Cost: 1 per call Processing: Realtime
Tip: Estimate your monthly cost for this API using the Pricing Calculator.
Note: Rebasing tokens (e.g. stETH, aTokens, cTokens) are supported on Foundational Chains.
Understanding Web3 Wallets with GoldRush How to Get Bitcoin Balances and Transactions Comparing GoldRush’s Token Balances API to RPC Providers

Get token holders as of any block height (v2)

Operation Identity:
  • Operation ID: getTokenHoldersV2ForTokenAddress
  • GET /v1/{chainName}/tokens/{tokenAddress}/token_holders_v2/
  • SDK: BalanceService.getTokenHoldersV2ForTokenAddress()
Role: specialized | Credit Cost: 0.02 per item | API Type: REST Chains: eth-mainnet, matic-mainnet, bsc-mainnet, base-mainnet, optimism-mainnet, gnosis-mainnet, arbitrum-mainnet, linea-mainnet, mantle-mainnet, plasma-mainnet (+6 more)

Path Parameters

Query Parameters

Response Fields

Item Fields

Pagination Fields

Credit Cost: 0.02 per item Processing: Realtime
Tip: Estimate your monthly cost for this API using the Pricing Calculator.
Note: The endpoint returns the latest token holders snapshot for: Ethereum, Polygon, BSC, Optimism, Base, Gnosis, ApeChain, Arbitrum, Avalanche, Berachain, Linea, Mantle, Plasma, Taiko, Unichain, and World Chain.
Querying historical snapshots via block-height or date is supported only on the Foundational Chains. On other chains, supplying these parameters returns a 400 error. Page size is either 100 (default) or 1000.

Enhanced Bitcoin Support

GoldRush offers production-grade Bitcoin data for wallets, tax tools, explorers, and analytics. We operate dedicated Bitcoin node infrastructure and index the chain from the genesis block to ensure complete, accurate balance and transaction history.

Key Concepts

  • Hierarchical Deterministic (HD) Wallet refers to a wallet that generates all of its keys and addresses from a single source (e.g. a seed phrase). These keys and addresses can be organized into a tree (hierarchial) and are always generated the same way (deterministic).
  • Extended public keys (e.g., xpub..., ypub..., zpub...) are HD address-level public keys used to derive many child receive addresses.
  • Non-HD addresses or child addresses follow different standards:
    • BIP44 Legacy, P2PKH: addresses typically start with 1, derived path m/44'/0'/...
    • BIP49 Nested SegWit, P2SH-P2WPKH: addresses typically start with 3, derived path m/49'/0'/...
    • BIP84 Native SegWit, P2WPKH/bech32: addresses typically start with bc1, derived path m/84'/0'/...
    • BIP86 Taproot, P2TR: addresses typically start with bc1p, derived path m/86'/0'/...
For an excellent resource to understand HD wallets and derivation paths, see: Learn Me A Bitcoin - HD Wallets

Capabilities

  • Full-chain ingestion: Dedicated node and indexers ingest all Bitcoin transactions from genesis for complete historical coverage.
  • Extensive HD wallet derivation scans (gap limit 20): We continue to derive child addresses until encountering 20 consecutive child addresses with zero balance and no transaction history.
  • Support multiple child address formats: Includes BIP44 Legacy, BIP49 Nested SegWit, BIP84 Native SegWit.
  • Spot and historical balances for non-HD/child addresses: Includes current and historical fiat price conversions.
  • Spot balances for derived child addresses from HD wallet addresses (xpub/ypub/zpub): Includes spot balances, fiat prices and 24hr deltas.
  • Historical transactions for non-HD addresses: Retrieve time-ordered transactions for a Bitcoin address for statements, tax, and activity feed workflows.

API endpoints