# Weather Seasons API

> Weather Seasons calculates astronomical solstice and equinox dates for any target year. It provides exact timestamps and reference timezones for the March and September equinoxes and the June and December solstices.

**Endpoint:** `GET https://api.apiverve.com/v1/weatherseasons`  
**Category:** Weather  
**Cost:** 2 credits per call  
**Canonical page:** https://apiverve.com/marketplace/weatherseasons

## Overview

Weather Seasons works by calculating the dates of the solstice and equinox for a given year. It uses advanced algorithms to determine the dates of the solstice and equinox and returns the dates.

## Authentication

Every call carries your key in an `x-api-key` header. The same key works across the whole
APIVerve catalog — there are no per-API subscriptions. Responses always use the same three
top-level keys: `status`, `error`, and `data`.

## Example request

```bash
curl "https://api.apiverve.com/v1/weatherseasons?year=2024" \
  -H "x-api-key: YOUR_API_KEY"
```

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `year` | integer | No | The year to get the dates of the solstice and equinox; defaults to the current year (UTC). range 1900-2100 |

## Response fields

- `year` — number · The year for solstice and equinox dates requested
- `timezone` — string · Timezone reference for all seasonal date calculations
- `march_equinox` — string · Spring equinox date and time for northern hemisphere
- `june_solstice` — string · Summer solstice date and time for northern hemisphere
- `september_equinox` — string · Fall equinox date and time for northern hemisphere
- `december_solstice` — string · Winter solstice date and time for northern hemisphere

## Sample response

```json
{
  "status": "ok",
  "error": null,
  "data": {
    "year": 2024,
    "timezone": "UTC",
    "march_equinox": "2024-03-20 03:06:24",
    "june_solstice": "2024-06-20 20:50:58",
    "september_equinox": "2024-09-22 12:43:55",
    "december_solstice": "2024-12-21 09:20:18"
  }
}
```

## Use cases

- **Astronomical Calendar Events** — Calendar apps populate official seasonal change markers across subscriber devices using exact equinox and solstice timestamps for upcoming years.
- **Agricultural Planting Schedules** — To calculate frost risk windows and growing cycles, farming platforms align crop milestones with astronomical spring and fall equinox timings.
- **Seasonal Storefront Scheduling** — Trigger seasonal storefront themes, banners, and promotional product categories automatically when astronomical solstice or equinox dates arrive.
- **Educational Planetarium Displays** — Science museums query seasonal transition timestamps to synchronize interactive planetary orbit models with historical and future astronomical events.

## SDKs

- **npm** — `npm install @apiverve/weatherseasons` (https://www.npmjs.com/package/@apiverve/weatherseasons)
- **PyPI** — `pip install apiverve-weatherseasons` (https://pypi.org/project/apiverve-weatherseasons/)
- **NuGet** — `dotnet add package APIVerve.API.WeatherSeasons` (https://www.nuget.org/packages/APIVerve.API.WeatherSeasons)
- **Source** — https://github.com/apiverve/weatherseasons-api

## More

- Full reference: https://docs.apiverve.com/ref/weatherseasons
- Get an API key: https://dashboard.apiverve.com
- Full catalog: https://apiverve.com/marketplace
