/v1/account
An address available, stacked and total STX
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/stacks-api/v1/account" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/stacks-api/v1/account", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/stacks-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/stacks-api/v1/account",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"source": "Stacks",
"address": "SPE3481ZKSV7AT33BG20J7ZYMKG61V36W7M987KV",
"balance_stx": 17.898745,
"is_stacking": false,
"available_stx": 17.898745,
"total_sent_stx": 34.114,
"miner_rewards_stx": 0,
"locked_stacked_stx": 0,
"total_received_stx": 60.2447,
"unlock_burn_height": null,
"total_fees_sent_stx": 8.231955
},
"meta": {
"timestamp": "2026-06-10T14:01:25.192Z",
"request_id": "d73dbdd5-d85c-4e39-84d5-3d640ef40b50"
},
"status": "ok",
"message": "Account retrieved successfully",
"success": true
}