Chia Balance API
Test the balance lookup
We do not store or log any information you enter.
API Documentation
This service provides a REST API for programmatic access:
GET /balance/{publicKey}
Returns balance information for the given master public key in hex format.
Example Usage
cURL:
curl
https://chia-balance-api.fly.dev/balance/YOUR_PUBLIC_KEY_HERE
JavaScript:
fetch('/balance/YOUR_PUBLIC_KEY_HERE')
.then(response => response.json())
.then(data => console.log('Balance:', data.chia, 'XCH'));
Response Format
{
"mojos": 1500000000000,
"chia": 1.5
}