/v1/account
A ledger account ICP balance and transaction count
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode 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_..."}
)
Example response
A real response from this endpoint, captured by the latest 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
}