/v1/seasons
Equinoxes & solstices of a year
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/astronomy-api/v1/seasons" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/astronomy-api/v1/seasons", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/astronomy-api/v1/seasons");
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/astronomy-api/v1/seasons",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"year": 2026,
"june_solstice": "2026-06-21T08:25:00.316Z",
"march_equinox": "2026-03-20T14:45:36.044Z",
"december_solstice": "2026-12-21T20:50:22.187Z",
"september_equinox": "2026-09-23T00:05:38.617Z"
},
"meta": {
"timestamp": "2026-05-30T22:48:45.677Z",
"request_id": "a931d2e7-84ac-4007-8a27-85e3ccadf621"
},
"status": "ok",
"message": "OK",
"success": true
}