Stellar Address API
Look up Stellar wallet balances — native XLM, token holdings, asset codes, and issuer details — using the Bitquery GraphQL API.
Get Stellar Wallet Balance
Get the native XLM balance plus every token balance held by a Stellar wallet, including each asset's type, issuer, and code. Run the query on the IDE.
Variations: Replace the address to inspect a different wallet. Pair with the Stellar payments API to correlate holdings with recent payment activity.
query MyQuery {
stellar(network: stellar) {
address(address: {is: "GA5Q3UHRKBBZFUQBFF3CEEPY322UIEALGUA7KS7LKGMAK7WJ4NF3W742"}) {
balance
tokenBalances {
balance
assetType
assetIssuer
assetCode
}
}
}
}