Ir al contenido
GET /v1/asset

Asset stats: supply, holders, flags, contract id

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/stellarasset-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

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

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "data": {
        "note": "On-chain stats for the issued asset from Horizon. supply is the total authorized balance; holders is the number of authorized accounts. flags show how the issuer controls the asset.",
        "flags": {
            "auth_required": false,
            "auth_immutable": false,
            "auth_revocable": true,
            "auth_clawback_enabled": false
        },
        "source": "Stellar Horizon",
        "supply": "237989931.6834145",
        "holders": 2232017,
        "asset_code": "USDC",
        "asset_type": "credit_alphanum4",
        "contract_id": "CCW67TSZV3SSS2HXMBQ5JFGCKJNXKZM7UQUWUZPUTHXSTZLEO7SJMI75",
        "asset_issuer": "GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN",
        "num_contracts": 31411,
        "liquidity_pools": "2552155.8032734",
        "contracts_amount": "42090356.8184738",
        "claimable_balances": "21796.2979538",
        "num_liquidity_pools": 1008
    },
    "meta": {
        "timestamp": "2026-06-14T08:04:02.187Z",
        "request_id": "a04a51b0-b82b-43aa-930b-90dbfdb2a71a"
    },
    "status": "ok",
    "message": "Asset retrieved successfully",
    "success": true
}