/v1/balance
Wallet token balance
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/tokeninfo-api/v1/balance" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/tokeninfo-api/v1/balance", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/tokeninfo-api/v1/balance");
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/tokeninfo-api/v1/balance",
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": {
"chain": "ethereum",
"owner": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
"token": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"symbol": "USDC",
"balance": "31.127137",
"decimals": 6,
"balance_raw": "31127137"
},
"meta": {
"timestamp": "2026-06-09T03:01:59.364Z",
"request_id": "33d82ed9-f22d-4c7e-960b-8d9cb0b81598"
},
"status": "ok",
"message": "Balance retrieved successfully",
"success": true
}