/v1/radial-velocity
Velocity from a redshift
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/doppler-api/v1/radial-velocity" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/doppler-api/v1/radial-velocity", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/doppler-api/v1/radial-velocity");
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/doppler-api/v1/radial-velocity",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"note": "Positive z (red-shift) means receding; negative (blue-shift) means approaching.",
"formula": "β = ((1+z)² − 1) / ((1+z)² + 1); v = β·c. Non-relativistic: v ≈ z·c.",
"direction": "receding",
"redshift_z": 0.1,
"velocity_m_s": 28487066.14,
"velocity_km_s": 28487.0661,
"velocity_fraction_c": 0.09502262,
"non_relativistic_estimate_km_s": 29979.2458
},
"meta": {
"timestamp": "2026-06-04T10:18:56.440Z",
"request_id": "cfab36cd-b52e-4404-bf50-c77ecbeabca8"
},
"status": "ok",
"message": "Velocity from a redshift",
"success": true
}