/v1/balance
Coin balance of an address
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/aptosview-api/v1/balance" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/aptosview-api/v1/balance", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/aptosview-api/v1/balance");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/aptosview-api/v1/balance",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"coin": "0x1::aptos_coin::AptosCoin",
"note": "Coin balance from 0x1::coin::balance. balance is the raw integer (octas for APT); balance_apt is provided for APT (8 decimals).",
"source": "Aptos fullnode REST /view",
"address": "0x1",
"balance": "11120868784",
"balance_apt": 111.20868784
},
"meta": {
"timestamp": "2026-06-14T08:04:05.641Z",
"request_id": "415a5ee1-e072-426c-8044-b85cfcf7597e"
},
"status": "ok",
"message": "Balance retrieved successfully",
"success": true
}