# The Legacy Weather API stops working

Calls to /VisualCrossingWebServices/rest/services/weatherdata/* on Visual Crossing Weather API stop working on December 31, 2026.

On December 31, 2026, the Legacy Weather API will be retired. This change affects calls to /VisualCrossingWebServices/rest/services/weatherdata/*. After that day, requests sent to these endpoints will fail.

## What to use instead

Call the Timeline Weather API instead using GET /VisualCrossingWebServices/rest/services/timeline/{location}/{date1}/{date2} for forecast, history, and summaries from one endpoint.

- API: Visual Crossing Weather API (weather.visualcrossing.com)
- Kind: Removal
- Announced: March 2, 2026
- Takes effect: December 31, 2026
- Calls after that day: fail
- Calls it hits: `/VisualCrossingWebServices/rest/services/weatherdata/*`
- Source: [Announcement](https://www.visualcrossing.com/resources/documentation/weather-api/weather-api-documentation/)
- Verified: November 6, 2026, against Visual Crossing Weather API's own pages
- Page: https://www.okapi.bot/providers/visual-crossing-weather-api/breaking-changes/the-legacy-weather-api-stops-working/

## Visual Crossing Weather API's words

> The Legacy Weather API is scheduled to be retired on December 31, 2026

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
