/v1/account
An account by public key: MINA balance, nonce, delegate
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/mina-api/v1/account" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/mina-api/v1/account", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/mina-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/mina-api/v1/account",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"note": "A Mina account by public key: its MINA balance (total and liquid), transaction nonce and the staking delegate it has assigned its stake to. Omit publicKey for the current block producer.",
"nonce": 21,
"source": "Mina GraphQL",
"delegate": "B62qpsyB3gCndt8sNz4GRwusBtg9U72TNiL4mxmcQfWKZ5noa9fFnWr",
"public_key": "B62qpge4uMq4Vv5Rvc8Gw9qSquUYd6xoW1pz7HQkMSHm6h1o7pvLPAN",
"voting_for": "2mzWc7ZF8hRKvLyoLpKLZ3TSm8XSjfxZq67dphJpnjhYmU5Vja5Q",
"liquid_mina": 4.011908569,
"balance_mina": 4.011908569
},
"meta": {
"timestamp": "2026-06-14T17:04:32.435Z",
"request_id": "6c258331-ce36-4a64-a7a5-17788121ae31"
},
"status": "ok",
"message": "Account retrieved successfully",
"success": true
}