Zum Inhalt springen
GET /v1/account

A ledger account ICP balance and transaction count

Live testen

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

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

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

API-Key holen

Code-Snippets

curl "https://api.oanor.com/icp-api/v1/account" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/icp-api/v1/account", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/icp-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/icp-api/v1/account",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "source": "Internet Computer",
        "account": "e7a879ea563d273c46dd28c1584eaa132fad6f3e316615b3eb657d067f3519b5",
        "suspicious": false,
        "updated_at": "2025-05-06T03:27:44.000Z",
        "balance_e8s": 12000010000,
        "balance_icp": 120.0001,
        "transaction_count": 212647
    },
    "meta": {
        "timestamp": "2026-06-10T13:59:50.323Z",
        "request_id": "798254fd-e1b6-42c4-bd9d-497ac5a96751"
    },
    "status": "ok",
    "message": "Account retrieved successfully",
    "success": true
}