Resorts

Historical snow odds for specific trip dates

History for a trip window, not a forecast. Blends the resort's ERA5 monthly snow grid across the months the window touches: the share of days with snowfall (the headline), window-scaled expected snowfall, typical base depth, the last five individual seasons, and the best nearby month. status: "insufficient" (still 200) means too few tracked seasons cover the window to state odds.

Auth: none.

Caching: Cache-Control: public, s-maxage=3600, stale-while-revalidate=7200 — historical norms move once a season.

get/api/v1/resorts/{slug}/trip-window

Request

  • Base URL: https://www.snowsure.ai
  • URL: https://www.snowsure.ai/api/v1/resorts/{slug}/trip-window
  • Auth: none required

Path parameters

slugstring required

Resort slug (URL-friendly identifier). Common-name aliases resolve to the canonical slug — e.g. "zermatt" → "matterhorn-ski-paradise".

Query parameters

startstring date required

First day of the trip (YYYY-MM-DD).

endstring date

Last day of the trip, inclusive (YYYY-MM-DD). Defaults to start. The window may span at most 31 days.

Response

Trip-window odds, or an insufficient-history notice

OR

Example response

{
  "provenance": {
    "basis": "ERA5 monthly grid, 31 seasons"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.