Vai al contenuto
GET /v1/account

An address available, stacked and total STX

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/stacks-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo 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
}