/v1/account
Account balance + delegations
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/cosmos-api/v1/account" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/cosmos-api/v1/account", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/cosmos-api/v1/account");
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/cosmos-api/v1/account",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"source": "Cosmos Hub",
"address": "cosmos1qr5dk7g8grg80wgveww88fuwut9ry8wmjvnsad",
"delegations": [
{
"validator": "cosmosvaloper10sjr8xv2yr83agmzw7acf6xxqrw8e3q6wvh5ne",
"amount_atom": 20395.43348
}
],
"staked_atom": 20395.43348,
"available_atom": 0.135466,
"delegation_count": 1
},
"meta": {
"timestamp": "2026-06-10T05:17:38.456Z",
"request_id": "09c5a801-7347-4cf5-a2d0-c59f68712c9f"
},
"status": "ok",
"message": "Account retrieved successfully",
"success": true
}