Balances API


Returns the native Solana balance (in lamports) and all token balances for a given address.
Use{address}/balances for devnet balances
Oops, something is missing.
We could not find the original source to display this content.

Example Use Cases

Human-readable domain names are great for social applications and tracking purposes. Some example use cases:
  • Portfolio tracking
  • Tax reporting
  • Blockchain explorers
  • Wallets

Code Samples

const axios = require('axios')
const url = "<address>/balances?api-key=<your-key>"
const getBalances = async () => {
const { data } = await axios.get(url)
console.log("balances: ", data)