Zum Inhalt springen
GET /v1/coin

Full mining stats for one coin

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "tag": "RVN",
        "name": "Ravencoin",
        "source": "WhatToMine",
        "nethash": 1954625201458,
        "updated": "2026-06-11T16:44:09.000Z",
        "algorithm": "KawPow",
        "difficulty": 27305.79862546014,
        "last_block": 4406440,
        "market_cap": 68458997,
        "btc_revenue": 5.11e-6,
        "block_reward": 1250,
        "block_time_s": 60,
        "profitability": 370,
        "btc_exchange_rate": 6.704518529569208e-8,
        "estimated_rewards": 76.24668,
        "profitability_24h": 336
    },
    "meta": {
        "timestamp": "2026-06-11T16:47:01.505Z",
        "request_id": "fbaa77fa-7552-4871-bb99-94f044bb4299"
    },
    "status": "ok",
    "message": "Coin retrieved successfully",
    "success": true
}