Naar de inhoud
GET /v1/meta

Service metadata

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/whattomine-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "note": "profitability is WhatToMine's relative profitability index (higher = more profitable to mine right now); btc_revenue is the estimated 24h BTC revenue at the reference hashrate; btc_exchange_rate is the coin's price in BTC. Stats are cached briefly and refresh every few minutes.",
        "source": "WhatToMine (whattomine.com/coins.json, live)",
        "service": "whattomine-api",
        "endpoints": {
            "GET /v1/coin": "Full mining stats for one coin (tag=RVN or name=Ravencoin).",
            "GET /v1/meta": "This document.",
            "GET /v1/coins": "All mineable coins with mining stats, ranked by profitability (algorithm=, limit=100).",
            "GET /v1/algorithm": "Coins for a mining algorithm (algorithm=KawPow); no param lists all algorithms with counts."
        },
        "coin_count": 45,
        "description": "Live multi-coin crypto mining economics from WhatToMine. The coins endpoint lists every mineable coin with algorithm, network difficulty and hashrate, block reward and time, BTC exchange rate, market cap, relative profitability and 24h BTC revenue; the coin endpoint returns one coin by ticker or name; the algorithm endpoint lists the coins for a mining algorithm (or all algorithms with coin counts). Live, no key, nothing stored. Mining-economics data across the GPU/ASIC coin complex, distinct from the Bitcoin-only mining API and the exchange-ticker and on-chain APIs.",
        "upstream_status": "ok"
    },
    "meta": {
        "timestamp": "2026-06-11T16:47:01.843Z",
        "request_id": "24039710-79d5-45d8-924b-42faf262f681"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}