/v1/light
Relativistic light Doppler / redshift
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
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_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"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
}