/v1/seasons
Equinoxes & solstices of a year
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
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_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"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
}