Zum Inhalt springen
GET /v1/light

Relativistic light Doppler / redshift

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/doppler-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "note": "Receding source: light is red-shifted (lower frequency, longer wavelength).",
        "formula": "f' = f·√((1+β)/(1−β)); z = λ_obs/λ_emit − 1.",
        "direction": "receding",
        "redshift_z": 0.1055416,
        "velocity_m_s": 29979245.8,
        "frequency_factor": 0.90453403,
        "velocity_fraction_c": 0.1,
        "emitted_wavelength_nm": 656.3,
        "observed_wavelength_nm": 725.56694997
    },
    "meta": {
        "timestamp": "2026-06-04T10:18:56.339Z",
        "request_id": "e0fb4486-b9c1-442b-863f-9838ac70588d"
    },
    "status": "ok",
    "message": "Relativistic light Doppler / redshift",
    "success": true
}