/v1/lorentz
Lorentz factor
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/relativity-api/v1/lorentz" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/relativity-api/v1/lorentz", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/relativity-api/v1/lorentz");
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/relativity-api/v1/lorentz",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"beta": 0.8,
"note": "γ = 1/√(1−β²). Moving clocks run slow (Δt = γ·Δt₀); moving lengths contract (L = L₀/γ).",
"inputs": {
"beta": 0.8,
"velocity_ms": 239833966.4
},
"velocity_ms": 239833966.4,
"percent_of_c": 80,
"proper_time_s": 1,
"dilated_time_s": 1.666666667,
"lorentz_factor": 1.666666666667,
"proper_length_m": 1,
"contracted_length_m": 0.6
},
"meta": {
"timestamp": "2026-06-04T18:38:05.369Z",
"request_id": "5c1b9385-9cfc-43dd-9a2a-f95369750444"
},
"status": "ok",
"message": "Lorentz factor",
"success": true
}