Aller au contenu
GET /v1/asic

Daily revenue/cost/profit for popular ASIC miners

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/hashprice-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/hashprice-api/v1/asic" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/hashprice-api/v1/asic", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/hashprice-api/v1/asic");
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/hashprice-api/v1/asic",
    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": "Daily mining economics for today's popular Bitcoin ASIC miners at the live hashprice and your electricity cost (power_cost in USD per kWh, default 0.05), ranked by profit — each machine's daily revenue (its TH/s × the hashprice), its daily power cost (its draw × 24h × power_cost) and the resulting profit. Specs are nominal manufacturer figures. Live, cached ~5m.",
        "count": 6,
        "miners": [
            {
                "model": "Antminer S21 Pro",
                "profitable": true,
                "power_watts": 3531,
                "hashrate_ths": 234,
                "daily_profit_usd": 3.31,
                "daily_revenue_usd": 7.55,
                "efficiency_j_per_th": 15.09,
                "daily_power_cost_usd": 4.24
            },
            {
                "model": "Antminer S21",
                "profitable": true,
                "power_watts": 3500,
                "hashrate_ths": 200,
                "daily_profit_usd": 2.25,
                "daily_revenue_usd": 6.45,
                "efficiency_j_per_th": 17.5,
                "daily_power_cost_usd": 4.2
            },
            {
                "model": "Whatsminer M60S",
                "profitable": true,
                "power_watts": 3441,
                "hashrate_ths": 186,
                "daily_profit_usd": 1.87,
                "daily_revenue_usd": 6,
                "efficiency_j_per_th": 18.5,
                "daily_power_cost_usd": 4.13
            },
            {
                "model": "Antminer S19 XP",
                "profitable": true,
                "power_watts": 3010,
                "hashrate_ths": 140,
                "daily_profit_usd": 0.9,
                "daily_revenue_usd": 4.52,
                "efficiency_j_per_th": 21.5,
                "daily_power_cost_usd": 3.61
            },
            {
                "model": "Whatsminer M50",
                "profitable": false,
                "power_watts": 3306,
                "hashrate_ths": 118,
                "daily_profit_usd": -0.16,
                "daily_revenue_usd": 3.81,
                "efficiency_j_per_th": 28.02,
                "daily_power_cost_usd": 3.97
            },
            {
                "model": "Antminer S19j Pro",
                "profitable": false,
                "power_watts": 3068,
                "hashrate_ths": 104,
                "daily_profit_usd": -0.33,
                "daily_revenue_usd": 3.35,
                "efficiency_j_per_th": 29.5,
                "daily_power_cost_usd": 3.68
            }
        ],
        "source": "mempool.space + Yahoo Finance + nominal ASIC specs, keyless",
        "power_cost_usd_per_kwh": 0.05,
        "hashprice_usd_per_ths_day": 0.032253
    },
    "meta": {
        "timestamp": "2026-06-13T04:42:54.133Z",
        "request_id": "5fff408a-98d7-42e4-bfae-0eea926f85f9"
    },
    "status": "ok",
    "message": "ASIC economics retrieved successfully",
    "success": true
}