Equinoxes, solstices, perihelion and day length over a year
seasonsEquinoxes and solstices of a year, Earth's perihelion and aphelion, and optionally the Sun day by day (sunrise, sunset, day length, declination, equation of time) for a place. E.g. {year: 2026}. For calendars, almanacs, education and solar apps: the March and September equinoxes and the June and December solstices (UTC, and local with a place), Earth's perihelion and aphelion with their distances, and with daily=true a row per day: solar noon, the Sun's apparent declination, the equation of time and, for a place, sunrise, sunset and day length, plus the longest and shortest days. Matches the published 2026 times to the minute. Deterministic (JPL DE440, no LLM); every result carries meta.result_sha256. Price $0.01 per call via REST POST https://astro-agent.dev/v1/astronomy/seasons (x402 or MPP); each client gets 1 free call on the $0.01-0.02 tools, this one included.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"year": "<year>"
},
"name": "seasons"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | Calendar year. | |
| daily | No | Add one row per day: solar noon, the Sun's declination, the equation of time and, with a place, sunrise, sunset and day length. | |
| latitude | No | Optional: local times, and with daily=true the day-by-day sunrise, sunset and day length at this place. | |
| timezone | No | IANA zone for local times, e.g. 'Europe/Paris'. Optional: resolved from the coordinates (with its historical DST rules). | |
| longitude | No | Optional, with latitude. | |
| elevation_m | No | Height above the WGS84 ellipsoid, metres (no terrain or horizon dip is modelled). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | No | Provenance of the result. | |
| error | No | x402 offer only: why payment is required. | |
| result | No | The calculation result. | |
| accepts | No | x402 offer only: the payment options (scheme, network, amount, asset, payTo, ...). | |
| endpoint | No | The REST route that computed it, e.g. 'astronomy/rise-set'. | |
| resource | No | x402 offer only: the resource being paid for. | |
| extensions | No | x402 offer only: protocol extensions (bazaar). | |
| x402Version | No | x402 offer only: protocol version (2). |