Vai al contenuto
GET /v1/fees

Live fee estimates in sat/vB by confirmation target

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/liquid-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "note": "Live Liquid fee estimates in sat/vB, keyed by the number of blocks you are willing to wait. fastest_1_block confirms in the next block (~1 minute on Liquid).",
        "unit": "sat/vB",
        "source": "Blockstream esplora (Liquid)",
        "estimates": {
            "target_1_blocks": 0.1,
            "target_2_blocks": 0.1,
            "target_3_blocks": 0.1,
            "target_6_blocks": 0.1,
            "target_10_blocks": 0.1,
            "target_25_blocks": 0.1,
            "target_144_blocks": 0.1,
            "target_504_blocks": 0.1,
            "target_1008_blocks": 0.1
        },
        "hour_6_blocks": 0.1,
        "fastest_1_block": 0.1,
        "half_hour_3_blocks": 0.1
    },
    "meta": {
        "timestamp": "2026-06-14T17:04:30.955Z",
        "request_id": "92362cf7-fe54-4616-bad9-0e800b407c1b"
    },
    "status": "ok",
    "message": "Fees retrieved successfully",
    "success": true
}