Zum Inhalt springen
GET /v1/supply

Total supply of a coin

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/aptosview-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/aptosview-api/v1/supply" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/aptosview-api/v1/supply", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/aptosview-api/v1/supply");
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/aptosview-api/v1/supply",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "coin": "0x1::aptos_coin::AptosCoin",
        "note": "Total supply from 0x1::coin::supply (an Option — null when the coin tracks no aggregated supply). Raw integer.",
        "source": "Aptos fullnode REST /view",
        "supply": "120417204337589432"
    },
    "meta": {
        "timestamp": "2026-06-14T08:04:05.765Z",
        "request_id": "c6b112b8-10f6-4bdc-aa28-fcb3b2cc0a10"
    },
    "status": "ok",
    "message": "Supply retrieved successfully",
    "success": true
}