SnowSure Stations API
The Stations API from SnowSure — 4 operation(s) for stations.
The Stations API from SnowSure — 4 operation(s) for stations.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/snowsure-ai:snowsure-ai-stations-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: SnowSure Stations API
description: 'SnowSure provides verified ski resort snow data: live conditions, 7-day multi-model forecasts (14-day with Pro), forecast accuracy verification, and the SnowSure Score (0–100).
For conversational Q&A, prefer POST /api/v1/ask (askSnowSure) — grounded answers from SnowSure intelligence, not stitched guesses. Use GET endpoints for ranked lists and structured JSON.
Use when users ask: best snow right now; resort snowfall; compare forecasts; forecast accuracy or which model to trust; season history; Japan/Europe/North America rankings.
Seven weather models (ECMWF, GFS, GEM, JMA, ICON, Météo-France, Met Norway); hourly ingest; 30-year verification archive. Public read on snowsure.ai. MCP: https://www.snowsure.ai/mcp (ask_snowdata). GPT instructions: https://www.snowsure.ai/gpt-instructions.md
Versioning & deprecation: /api/v1 is stable and evolves additively only. Any breaking change gets at least 12 months'' notice via Sunset (RFC 8594) and Deprecation (RFC 9745) response headers plus a changelog announcement before anything is retired — see https://www.snowsure.ai/developers/deprecation-policy. No endpoint is deprecated today.
Attribution: reuse of SnowSure data requires the credit "Data by SnowSure.ai" with a visible link to https://www.snowsure.ai, plus the upstream credits the data carries (Open-Meteo, the national weather models, Copernicus ERA5, SLF, Varsom). Every response on /api/v1, /api/v2 and /api/el-nino sends `Link` (rel="author", rel="license") and `X-Attribution` headers, and successful data responses carry a top-level `credits` object (schema: Credits) listing exactly which credits apply. Terms: https://www.snowsure.ai/terms.
Rate limits: public endpoints publish X-RateLimit-Limit / X-RateLimit-Remaining / X-RateLimit-Reset and RateLimit-Policy response headers (documented budget: 120 requests/min per IP per endpoint).
Idempotency: POST /api/v1/ask supports an optional Idempotency-Key request header; a repeat POST with the same key within 24h replays the stored response body with Idempotency-Replayed: true.
Version numbering: `info.version` versions this OpenAPI document (additive revisions to the described surface) and is independent of the `schemaVersion` field carried inside individual payloads — e.g. the conditions envelope is at schemaVersion 1.10.0. Payload contracts version on their own cadence and are pinned by their published JSON Schema (`/.well-known/schemas/…`); pin against `schemaVersion` plus the schema URL when you need a stable payload shape, not against `info.version`.'
version: 1.6.0
contact:
name: SnowSure Support
email: info@snowsure.ai
url: https://www.snowsure.ai
license:
name: Proprietary
url: https://www.snowsure.ai/terms
servers:
- url: https://www.snowsure.ai
description: Production server
tags:
- name: Stations
paths:
/api/v1/stations:
get:
summary: List public snow stations with their current measured depth
description: 'Every public measured snow station SnowSure reads, optionally one country''s (`?country=ch`), with the newest depth, its 24 h and 72 h change, elevation, network and seven-day history, from the hourly read model (never the raw observation archive). Readings only: nothing in this payload maps a station to a resort, a band or a weight. Elevation is beside every depth; a station without one is never listed. `credits` lists the networks present with the credit line each requires, verbatim. Edge-cached fifteen minutes; 60 requests a minute per IP, 429 with Retry-After past that. Introduced in 1.6.0 (SS-W-2789).'
operationId: listStations
tags:
- Stations
parameters:
- name: country
in: query
required: false
description: ISO 3166-1 alpha-2 (case-insensitive). Omit for every country.
schema:
type: string
minLength: 2
maxLength: 2
example: ch
responses:
'200':
description: The stations, with credits.
content:
application/json:
schema:
$ref: '#/components/schemas/StationsResponse'
'400':
description: '`country` is not a two-letter code.'
'429':
description: Over the per-IP budget. `Retry-After` says when to try again.
headers:
Retry-After:
schema:
type: integer
'503':
description: The catalog or read model could not be read. Retry; never a statement about snow.
/api/v1/stations/map:
get:
summary: Public snow stations inside a bounding box, as a map layer draws them
description: 'Every public station inside `bbox` with the fields a map point needs — id, slug, country, position, elevation, network, depth, 24 h change, observation time and staleness — and nothing else. `meta.credits` is the legend: every network present with its credit line. From the read model only. 120 requests a minute per IP, 429 with Retry-After past that. Introduced in 1.6.0 (SS-W-2789).'
operationId: getStationsMap
tags:
- Stations
parameters:
- name: bbox
in: query
required: true
description: '`west,south,east,north` in degrees.'
schema:
type: string
example: 5,45,11,48
responses:
'200':
description: Map points and the legend.
content:
application/json:
schema:
$ref: '#/components/schemas/StationMapResponse'
'400':
description: '`bbox` is malformed.'
'429':
description: Over the per-IP budget. `Retry-After` says when to try again.
headers:
Retry-After:
schema:
type: integer
'503':
description: The catalog or read model could not be read. Retry; never a statement about snow.
/api/v1/stations/snowing-now:
get:
summary: 'Where snow is falling right now: public stations whose measured depth rose in…'
description: 'The public stations whose snow depth rose in the last `hours` (1, 3, 6 or 24; default 6) — the newest reading against the one nearest `hours` earlier (±30 min), so a sensor that dipped and recovered has gained nothing — with the biggest gain, the strip''s counts (stations reporting today, stations gaining), the deepest public station and the biggest 24 h gain, each with its elevation. `count` 0 is a dry spell, and `deepest` still names the deepest station. Served from one document the hourly archive sweep writes, never from the observation archive. Station fields only: no resort, band, weight or QC key at any depth. 120 requests a minute per IP, 429 with Retry-After past that. `Cache-Control: public, s-maxage=900, stale-while-revalidate=1800`. Introduced in 1.6.0 (SS-W-2861).'
operationId: getStationsSnowingNow
tags:
- Stations
parameters:
- name: hours
in: query
required: false
description: 'The window a rise must fall in: 1, 3, 6 or 24 hours (default 6; SS-W-3264). Each window is its own document written by the same hourly sweep; `hours` in the body echoes it. Any other value is a 400 listing `allowed_hours`. 12 h is not offered: the sweep holds no readings 8–21 h back to measure it from.'
schema:
type: integer
enum:
- 1
- 3
- 6
- 24
default: 6
responses:
'200':
description: The snowing-now document.
content:
application/json:
schema:
$ref: '#/components/schemas/StationSnowingNowResponse'
'429':
description: Over the per-IP budget. `Retry-After` says when to try again.
headers:
Retry-After:
schema:
type: integer
'503':
description: The document has not been written or could not be read. Retry; never a statement about snow.
/api/v1/stations/{country}/{station}:
get:
summary: One public snow station with its current season, day by day
description: The station's current reading and the current season's daily depth series (1 Oct – 30 Sep north of the equator, 1 Jun – 31 May south of it). A null day is a day the station did not report. Prior seasons are a Pro feature on the website and are not served here. Introduced in 1.6.0 (SS-W-2789).
operationId: getStation
tags:
- Stations
parameters:
- name: country
in: path
required: true
schema:
type: string
example: ch
- name: station
in: path
required: true
description: The station's slug, as /api/v1/stations lists it.
schema:
type: string
example: imis-weissfluhjoch
responses:
'200':
description: The station and its season.
content:
application/json:
schema:
$ref: '#/components/schemas/StationResponse'
'404':
description: No public station by that slug in that country.
'429':
description: Over the per-IP budget. `Retry-After` says when to try again.
headers:
Retry-After:
schema:
type: integer
'503':
description: The catalog or read model could not be read. Retry; never a statement about snow.
components:
schemas:
Credits:
type: object
description: Who to credit when showing this data (SS-W-1469). `provider` is SnowSure's own credit, which reuse requires with a visible link back; `upstream` lists the sources whose licences require a credit wherever their data, or data derived from it, is shown.
required:
- provider
- required
- terms
- upstream
properties:
provider:
type: object
required:
- name
- url
- text
properties:
name:
type: string
const: SnowSure
url:
type: string
format: uri
text:
type: string
example: Data by SnowSure.ai
required:
type: string
description: The attribution requirement in one sentence.
terms:
type: string
format: uri
upstream:
type: array
items:
type: object
required:
- name
- text
- url
properties:
name:
type: string
text:
type: string
description: The credit line to display, in the licensor's required wording where it has one.
example: Weather data by Open-Meteo.com (modified by SnowSure)
url:
type: string
format: uri
license:
type: string
example: CC BY 4.0
StationListItem:
type: object
description: 'One public snow station with its current reading (SS-W-2789). Readings only: no field here maps a station to a resort, a band or a weight. `elevation` is always present — a station without one is never public. `depth`, `d24` and `d72` are centimetres whatever `units` says the country reads in; a null is a gap, never a zero.'
required:
- id
- slug
- name
- country
- region
- lat
- lon
- elevation
- network
- network_name
- depth
- d24
- d72
- observed_at
- is_stale
- units
- spark
properties:
id:
type: string
description: The network's own station id, prefixed by the network key, e.g. `snotel:766:UT:SNTL`.
slug:
type: string
description: URL segment under /stations/{country}/.
name:
type: string
country:
type: string
description: ISO 3166-1 alpha-2, lower-case.
region:
type:
- string
- 'null'
lat:
type:
- number
- 'null'
lon:
type:
- number
- 'null'
elevation:
type: number
description: Metres above sea level — the height the depth was measured at.
network:
type: string
description: Network key (see `credits`).
network_name:
type: string
depth:
type:
- number
- 'null'
description: Newest snow depth, cm.
d24:
type:
- number
- 'null'
description: Change against the reading nearest 24 h earlier (±3 h), cm; null across a gap.
d72:
type:
- number
- 'null'
description: Change against the reading nearest 72 h earlier (±3 h), cm; null across a gap.
observed_at:
type:
- string
- 'null'
format: date-time
is_stale:
type: boolean
description: True when the reading is older than the network's own threshold.
units:
type: string
enum:
- cm
- in
description: How the country reads depth; the numbers stay in cm.
spark:
type: array
items:
type:
- number
- 'null'
description: The last seven UTC days' depths, oldest first, null where no row.
StationMapResponse:
type: object
required:
- data
- meta
properties:
data:
type: array
items:
$ref: '#/components/schemas/StationMapPoint'
meta:
type: object
required:
- bbox
- count
- generated_at
- credits
properties:
bbox:
type: array
items:
type: number
minItems: 4
maxItems: 4
description: west, south, east, north
count:
type: integer
generated_at:
type: string
format: date-time
credits:
type: array
items:
$ref: '#/components/schemas/StationCredit'
description: 'The legend: every network present in the tile.'
StationResponse:
type: object
required:
- station
- season
- generated_at
- credits
properties:
station:
$ref: '#/components/schemas/StationListItem'
season:
type: object
required:
- window
- readings
- points
properties:
window:
type: object
properties:
start:
type: string
format: date
end:
type: string
format: date
label:
type: string
hemisphere:
type: string
enum:
- north
- south
readings:
type: integer
points:
type: array
items:
type: object
required:
- date
- depth
properties:
date:
type: string
format: date
depth:
type:
- number
- 'null'
description: One point per UTC day of the season so far; null is a day without a reading.
generated_at:
type: string
format: date-time
credits:
type: array
items:
$ref: '#/components/schemas/StationCredit'
StationSnowingNowStation:
type: object
description: 'One public station whose depth rose in the window (SS-W-2861): exactly these keys and no other.'
required:
- id
- slug
- country
- name
- lat
- lon
- elevation
- network
- gain_cm
- observed_at
additionalProperties: false
properties:
id:
type: string
description: network:station id.
slug:
type: string
country:
type: string
name:
type: string
lat:
type: number
lon:
type: number
elevation:
type: number
description: Metres.
network:
type: string
gain_cm:
type: number
description: Newest depth minus the reading nearest `hours` earlier, cm; always > 0.
observed_at:
type: string
format: date-time
StationSnowingNowResponse:
type: object
description: The snowing-now document (SS-W-2861), plus `credits`.
required:
- as_of
- hours
- count
- reporting
- biggest
- biggest_24h
- deepest
- stations
- attribution
properties:
as_of:
type: string
format: date-time
description: When the sweep wrote the document.
hours:
type: integer
description: The window a rise must fall in.
count:
type: integer
description: Stations whose depth rose in the window.
reporting:
type: integer
description: Public stations with a reading today.
biggest:
type:
- object
- 'null'
required:
- slug
- country
- name
- elevation
- network
- gain_cm
- hours
- observed_at
additionalProperties: false
properties:
slug:
type: string
country:
type: string
description: ISO 3166-1 alpha-2, lower-case.
name:
type: string
elevation:
type: number
description: Metres.
network:
type: string
gain_cm:
type: number
hours:
type: integer
observed_at:
type: string
format: date-time
biggest_24h:
type:
- object
- 'null'
required:
- slug
- country
- name
- elevation
- network
- gain_cm
- observed_at
additionalProperties: false
properties:
slug:
type: string
country:
type: string
description: ISO 3166-1 alpha-2, lower-case.
name:
type: string
elevation:
type: number
description: Metres.
network:
type: string
gain_cm:
type: number
observed_at:
type: string
format: date-time
deepest:
type:
- object
- 'null'
required:
- slug
- country
- name
- elevation
- network
- depth_cm
- observed_at
additionalProperties: false
properties:
slug:
type: string
country:
type: string
description: ISO 3166-1 alpha-2, lower-case.
name:
type: string
elevation:
type: number
description: Metres.
network:
type: string
depth_cm:
type: number
observed_at:
type: string
format: date-time
stations:
type: array
items:
$ref: '#/components/schemas/StationSnowingNowStation'
attribution:
type: array
description: The networks the document names, credited verbatim.
items:
type: object
required:
- source
- name
- credit
- url
properties:
source:
type: string
name:
type: string
credit:
type: string
url:
type: string
credits:
$ref: '#/components/schemas/Credits'
StationMapPoint:
type: object
description: 'One station as the map layer draws it (SS-W-2789): exactly these keys and no other.'
required:
- id
- slug
- country
- lat
- lon
- elevation
- network
- depth
- d24
- observed_at
- is_stale
additionalProperties: false
properties:
id:
type: string
slug:
type: string
country:
type: string
lat:
type: number
lon:
type: number
elevation:
type: number
network:
type: string
depth:
type:
- number
- 'null'
d24:
type:
- number
- 'null'
observed_at:
type:
- string
- 'null'
format: date-time
is_stale:
type: boolean
StationCredit:
type: object
description: A network's credit line, to be shown verbatim wherever its readings appear.
required:
- source
- name
- credit
- url
- licence
properties:
source:
type: string
name:
type: string
credit:
type: string
url:
type: string
format: uri
licence:
type: string
enum:
- cc-by-4.0
- open-attribution
- public-domain
- restricted
StationsResponse:
type: object
required:
- country
- count
- generated_at
- credits
- data
properties:
country:
type:
- string
- 'null'
count:
type: integer
generated_at:
type: string
format: date-time
credits:
type: array
items:
$ref: '#/components/schemas/StationCredit'
data:
type: array
items:
$ref: '#/components/schemas/StationListItem'
securitySchemes:
webhookSecret:
type: http
scheme: bearer
description: The subscription secret returned by POST /api/v1/webhooks
externalDocs:
description: SnowSure Documentation
url: https://www.snowsure.ai/developers