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()
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()
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()
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()
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()
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()
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()
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()
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.
Related guides
Understanding Web3 Wallets with GoldRush How to Get Bitcoin Balances and Transactions Comparing GoldRush’s Token Balances API to RPC ProvidersGet token holders as of any block height (v2)
Operation Identity:- Operation ID:
getTokenHoldersV2ForTokenAddress GET /v1/{chainName}/tokens/{tokenAddress}/token_holders_v2/- SDK:
BalanceService.getTokenHoldersV2ForTokenAddress()
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 pathm/44'/0'/... - BIP49 Nested SegWit, P2SH-P2WPKH: addresses typically start with
3, derived pathm/49'/0'/... - BIP84 Native SegWit, P2WPKH/bech32: addresses typically start with
bc1, derived pathm/84'/0'/... - BIP86 Taproot, P2TR: addresses typically start with
bc1p, derived pathm/86'/0'/...
- BIP44 Legacy, P2PKH: addresses typically start with
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.