GET /v1/hashprice

Current Bitcoin hashprice (USD/PH/s/day) + inputs

Pruébalo en vivo

Una llamada gratuita por sesión: sin registro ni clave API. Pasa por la puerta de entrada de oanor.

Encabezados personalizados (opcional)
api.oanor.com/hashprice-api

Fragmentos de código

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