/v1/coin
Coin metadata + total supply
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/sui-api/v1/coin" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/sui-api/v1/coin", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/sui-api/v1/coin");
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/sui-api/v1/coin",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"name": "Sui",
"source": "Sui",
"symbol": "SUI",
"decimals": 9,
"icon_url": null,
"coin_type": "0x2::sui::SUI",
"description": null,
"total_supply": 10000000000,
"total_supply_raw": "10000000000000000000"
},
"meta": {
"timestamp": "2026-06-10T14:02:38.417Z",
"request_id": "d5968c89-110a-40c3-97e4-e0a8a0fad9c5"
},
"status": "ok",
"message": "Coin retrieved successfully",
"success": true
}