/v1/declination
Declination & equation of time
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/solarposition-api/v1/declination" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/solarposition-api/v1/declination", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/solarposition-api/v1/declination");
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/solarposition-api/v1/declination",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"note": "Solar declination is the sun's angle north (+) or south (−) of the equator: about +23.44° at the June solstice, −23.44° in December, ~0° at the equinoxes. The equation of time is the apparent-vs-mean solar time difference.",
"inputs": {
"date": "2024-06-20",
"time": "12:00:00"
},
"julian_day": 2460482,
"declination_deg": 23.438149,
"equation_of_time_min": -1.707428
},
"meta": {
"timestamp": "2026-06-05T11:30:36.842Z",
"request_id": "f755e263-3519-4105-96da-39b3d5718dc7"
},
"status": "ok",
"message": "Declination",
"success": true
}