Skip to content
GET /v1/hawking

Hawking temperature

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/schwarzschild-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

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

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "note": "Hawking temperature T = ħc³/(8πGMk_B) — smaller black holes are hotter. Evaporation time scales as M³; a solar-mass black hole would take ~10^67 years to evaporate.",
        "inputs": {
            "mass_kg": 1.98892e+30,
            "solar_masses": 1
        },
        "evaporation_time_s": 6.617961757605733e+74,
        "hawking_temperature_k": 6.168677824358303e-8,
        "evaporation_time_years": 2.0971055332489585e+67
    },
    "meta": {
        "timestamp": "2026-06-05T19:50:33.596Z",
        "request_id": "a0aca178-bc8a-43b9-b94a-d3b6f7a1f13b"
    },
    "status": "ok",
    "message": "Hawking temperature",
    "success": true
}