/v1/fees
Live fee estimates in sat/vB by confirmation target
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/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_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"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
}