Zum Inhalt springen
GET /v1/account

Account balance + delegations

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/cosmos-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten 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
}