{"slug":"1gateway-dev-v1-onchain-solana-balances-d149b1","title":"Use when an agent needs what a Solana address holds in one call","host":"1gateway.dev","method":"GET","resource":"https://1gateway.dev/v1/onchain/solana/balances","category":"market","description":"Use when an agent needs what a Solana address holds in one call. Input: address. Output: JSON slot, SOL balance, every non-zero token (mint, token account, program, decimals, raw and decimal balance, frozen flag; first 50), counts of token and empty accounts. Chain state only, no prices. Bad input: ","price_listed":0.002,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":2,"reported_payers_30d":1,"networks":["eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"address":"CV8t6fnSsckB3bzJSVRxQjVvTgdB35q11Fu3eaF1nz8u"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"additionalProperties":false,"properties":{"address":{"description":"Wallet address on Solana mainnet (base58, 32 bytes). Bad input → 400 (not charged)","examples":["CV8t6fnSsckB3bzJSVRxQjVvTgdB35q11Fu3eaF1nz8u"],"pattern":"^[1-9A-HJ-NP-Za-km-z]{32,44}$","type":"string"}},"required":["address"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"address":{"type":"string"},"chain":{"type":"string"},"cluster":{"type":"string"},"emptyTokenAccounts":{"type":"integer"},"nonZeroTokens":{"type":"integer"},"notes":{"items":{"type":"string"},"type":"array"},"rpc":{"properties":{"servedBy":{"type":"string"}},"type":"object"},"slot":{"type":"integer"},"sol":{"properties":{"balance":{"type":"string"},"lamports":{"type":"string"}},"type":"object"},"tokenAccounts":{"type":"integer"},"tokens":{"items":{"properties":{"balance":{"type":"string"},"decimals":{"type":"integer"},"frozen":{"type":"boolean"},"mint":{"type":"string"},"program":{"type":"string"},"raw":{"type":"string"},"symbol":{"type":["string","null"]},"tokenAccount":{"type":"string"}},"type":"object"},"type":"array"},"truncated":{"type":"boolean"}},"required":["chain","cluster","address","slot","sol","tokenAccounts","nonZeroTokens","emptyTokenAccounts","tokens","truncated","notes","rpc"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"Use when an agent needs what a Solana address holds in one call. Input: address. Output: JSON slot, SOL balance, every non-zero token (mint, token account, program, decimals, raw and decimal balance, frozen flag; first 50), counts of token and empty accounts. Chain state only, no prices. Bad input: 400, not charged. Example: ?address=CV8t6fnSsckB3bzJSVRxQjVvTgdB35q11Fu3eaF1nz8u","last_updated":"2026-10-24T02:37:34.425Z","schemes":["exact"]}