Peak Cam Resorts Forecast API
Blended multi-model snow forecast and its verification.
Blended multi-model snow forecast and its verification.
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/peakcam-io:peakcam-io-forecast-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: PeakCam Public Forecast API
version: 1.1.0
summary: Live ski-resort snow conditions and webcams with per-field provenance.
description: 'Read-only JSON for the resorts PeakCam tracks across North and South America: latest snow report (base depth, 24/48 h new snow, SWE, percent of the 30-year normal, 7-day trend), season status, and webcams with a still image where one exists.
Every snow number carries its own `source` and `measuredAt`. `snotel` values are NRCS SNOTEL/SCAN station telemetry, quality-controlled by PeakCam and synced every six hours; `open_meteo` values are weather-model estimates for resorts without a station. A station sits at one elevation, so its numbers can differ from a resort''s own marketing report.
No authentication. Rate limit: 60 requests per minute per IP across /api/v1 and /api/mcp, enforced at the edge (a plain-text 403, see each operation). Responses are cacheable for 900 s. When you quote a value, cite the resort''s `canonicalUrl` and keep the attribution line.
Agents: `GET /ask?q=` answers a question deterministically (one tool call, a dated sentence, citations; never a guess); `POST /batch` runs up to 10 reads in one request; `GET /resorts/search-index` is the name-to-slug table. The same data is an MCP server at https://www.peakcam.io/api/mcp (setup: https://www.peakcam.io/connect). An NLWeb-shaped form of the answer endpoint is at https://www.peakcam.io/ask (outside this server''s base path).
Methodology: https://www.peakcam.io/methodology. Short and long agent guides: https://www.peakcam.io/llms.txt, https://www.peakcam.io/llms-full.txt. Standalone JSON Schemas for every shape below: https://www.peakcam.io/.well-known/schemas.
Versioning and deprecation: the base path carries the major version (/api/v1); within it, PeakCam only adds fields, enum values and operations, never renames or removes them without notice. A removal is announced at least 12 months ahead: the affected operation starts answering with a `Deprecation` header (RFC 9745, the announcement date) and a `Sunset` header (RFC 8594, the earliest removal date) plus `Link: ; rel="sunset"`, its summary in this document gains "Deprecated:" with the replacement, and the same notice appears in https://www.peakcam.io/llms-full.txt and on https://www.peakcam.io/connect. Current operations carry neither header. A new major version is published at its own base path (/api/v2) and the previous one keeps answering for the full notice period after the new one is announced. The MCP server (https://www.peakcam.io/api/mcp) follows the same rule for tool names and argument shapes: a renamed tool keeps its old name registered, marked deprecated in its description, for 12 months.'
contact:
name: PeakCam
url: https://www.peakcam.io
license:
name: PeakCam Terms of Service
url: https://www.peakcam.io/about#terms
x-attribution: 'PeakCam (https://www.peakcam.io) - SNOTEL data: USDA NRCS; forecasts: NWS/Open-Meteo; cams: their operators'
x-mcp-endpoint: https://www.peakcam.io/api/mcp
x-nlweb-endpoint: https://www.peakcam.io/ask
x-json-schemas: https://www.peakcam.io/.well-known/schemas
x-deprecation-policy:
noticeMonths: 12
announcedAt:
- /llms-full.txt
- /connect
- /api/v1/openapi.json
headers:
- Deprecation
- Sunset
- Link rel=sunset
rfcs:
- RFC 9745 (Deprecation)
- RFC 8594 (Sunset)
x-stdio-package: npx -y peakcam-mcp
servers:
- url: https://www.peakcam.io/api/v1
description: Production
security: []
tags:
- name: Forecast
description: Blended multi-model snow forecast and its verification.
paths:
/resorts/{slug}/forecast:
get:
operationId: getResortForecast
tags:
- Forecast
summary: Blended 14-day snow forecast with every model run
description: 'Per day, the median snowfall across the models that reach that day (ECMWF IFS, GFS, GEM, ICON, JMA, Météo-France, UKMO; NBM and HRRR added for US points), with the 25th/75th percentile across models as `snowfallLoIn`/`snowfallHiIn` and `modelCount` per day. `summary` carries next 48 h, 7- and 14-day totals and the peak day; `byModel` is the newest run per model in the provider''s units (cm, °C, km/h). Runs are stored every 6 hours from Open-Meteo at the resort''s summit and base elevations. `available: false` with empty arrays when no run is current. Weather data by Open-Meteo.com (CC BY 4.0): carry the `credits` line with any reuse.'
parameters:
- name: slug
in: path
required: true
description: The resort slug, as in `https://www.peakcam.io/resorts/{slug}`.
schema:
type: string
pattern: ^[a-z0-9-]+$
example: breckenridge
- name: point
in: query
description: Which elevation's blend to return. Falls back to the other point with a `note` when the asked one has no runs.
schema:
type: string
enum:
- summit
- base
default: summit
responses:
'200':
description: The forecast document.
headers:
X-Attribution:
description: Attribution line to carry with any reuse of the data.
schema:
type: string
const: 'PeakCam (https://www.peakcam.io) - SNOTEL data: USDA NRCS; forecasts: NWS/Open-Meteo; cams: their operators'
Link:
description: 'Web links: `rel="author"` (PeakCam) and `rel="license"` (terms of reuse).'
schema:
type: string
Cache-Control:
description: public, s-maxage=900, stale-while-revalidate=3600 — data refreshes on a 15-minute ISR window; the sync jobs write new reports every 6 hours.
schema:
type: string
Deprecation:
description: 'RFC 9745. Present only on a deprecated operation: the moment the deprecation was announced, as an RFC 9651 Date (`@` + Unix seconds, e.g. `@1767225600`). Absent on every current operation.'
schema:
type: string
pattern: ^@[0-9]+$
required: false
Sunset:
description: 'RFC 8594. Present only on a deprecated operation: the HTTP-date after which it may stop answering, at least 12 months after `Deprecation`. A `Link: <...>; rel="sunset"` points at the changelog entry that names the replacement.'
schema:
type: string
required: false
content:
application/json:
schema:
$ref: '#/components/schemas/Forecast'
'400':
description: A query parameter failed validation.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: 'Rate limit exceeded: 60 requests per minute per IP across /api/v1 and /api/mcp. The edge answers a plain-text `Forbidden` with `x-vercel-mitigated: deny` and no Retry-After; the window resets within a minute.'
content:
text/plain:
schema:
type: string
example: Forbidden
'404':
description: No active resort with that slug.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/resorts/{slug}/forecast-accuracy:
get:
operationId: getResortForecastAccuracy
tags:
- Forecast
summary: How each model has verified at this resort over 90 days
description: One row per model plus `blend`, ranked by day-1 mean absolute error (cm), with day-3 and day-7 MAE, a bias ratio (total forecast over total measured; above 1 over-forecasts) and `samples` (measured days graded). `truthBasis` says what the forecasts were graded against — `snotel` means NRCS station depth change clipped at zero, measured, not modelled — and `measuredDays` how many days of the window had a measurement. Empty `models` until the scorer has measured days for the resort.
parameters:
- name: slug
in: path
required: true
description: The resort slug, as in `https://www.peakcam.io/resorts/{slug}`.
schema:
type: string
pattern: ^[a-z0-9-]+$
example: breckenridge
responses:
'200':
description: The accuracy document.
headers:
X-Attribution:
description: Attribution line to carry with any reuse of the data.
schema:
type: string
const: 'PeakCam (https://www.peakcam.io) - SNOTEL data: USDA NRCS; forecasts: NWS/Open-Meteo; cams: their operators'
Link:
description: 'Web links: `rel="author"` (PeakCam) and `rel="license"` (terms of reuse).'
schema:
type: string
Cache-Control:
description: public, s-maxage=900, stale-while-revalidate=3600 — data refreshes on a 15-minute ISR window; the sync jobs write new reports every 6 hours.
schema:
type: string
Deprecation:
description: 'RFC 9745. Present only on a deprecated operation: the moment the deprecation was announced, as an RFC 9651 Date (`@` + Unix seconds, e.g. `@1767225600`). Absent on every current operation.'
schema:
type: string
pattern: ^@[0-9]+$
required: false
Sunset:
description: 'RFC 8594. Present only on a deprecated operation: the HTTP-date after which it may stop answering, at least 12 months after `Deprecation`. A `Link: <...>; rel="sunset"` points at the changelog entry that names the replacement.'
schema:
type: string
required: false
content:
application/json:
schema:
$ref: '#/components/schemas/ForecastAccuracy'
'403':
description: 'Rate limit exceeded: 60 requests per minute per IP across /api/v1 and /api/mcp. The edge answers a plain-text `Forbidden` with `x-vercel-mitigated: deny` and no Retry-After; the window resets within a minute.'
content:
text/plain:
schema:
type: string
example: Forbidden
'404':
description: No active resort with that slug.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
components:
schemas:
ForecastRun:
type: object
properties:
id:
type: string
point:
type: string
enum:
- summit
- base
model:
type: string
description: Model id as the provider names it, or `blend` for PeakCam's skill-weighted blend.
issuedAt:
type: string
horizonDays:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
days:
type: array
items:
$ref: '#/components/schemas/ForecastDaily'
required:
- id
- point
- model
- issuedAt
- horizonDays
- days
additionalProperties: false
Forecast:
type: object
properties:
slug:
type: string
name:
type: string
canonicalUrl:
type: string
available:
type: boolean
description: False when no stored run is current for this resort; `daily` and `byModel` are then empty.
note:
anyOf:
- type: string
- type: 'null'
point:
type: string
enum:
- summit
- base
points:
type: array
items:
type: string
enum:
- summit
- base
description: Points with current runs; pass `?point=` to pick one.
summary:
anyOf:
- $ref: '#/components/schemas/ForecastSummary'
- type: 'null'
daily:
type: array
items:
$ref: '#/components/schemas/ForecastBlendDay'
description: Up to 14 blended days.
byModel:
type: array
items:
$ref: '#/components/schemas/ForecastRun'
description: The newest run per model for the chosen point, in the provider's units (cm, °C, km/h).
method:
type: string
description: How the blend is built, in one sentence.
credits:
type: array
items:
$ref: '#/components/schemas/ForecastCredit'
attribution:
type: string
license:
type: string
generatedAt:
type: string
required:
- slug
- name
- canonicalUrl
- available
- note
- point
- points
- summary
- daily
- byModel
- method
- credits
- attribution
- license
- generatedAt
additionalProperties: false
ForecastDaily:
type: object
properties:
date:
type: string
description: YYYY-MM-DD, local to the resort.
snowfallCm:
anyOf:
- type: number
- type: 'null'
snowfallLo:
anyOf:
- type: number
- type: 'null'
description: Low end of the spread across models / members; null for a single model.
snowfallHi:
anyOf:
- type: number
- type: 'null'
tempMax:
anyOf:
- type: number
- type: 'null'
description: °C as the models report it.
tempMin:
anyOf:
- type: number
- type: 'null'
precipProb:
anyOf:
- type: number
- type: 'null'
description: 0–100.
windGust:
anyOf:
- type: number
- type: 'null'
description: km/h.
weatherCode:
anyOf:
- type: integer
minimum: -9007199254740991
maximum: 9007199254740991
- type: 'null'
description: WMO weather interpretation code.
required:
- date
- snowfallCm
- snowfallLo
- snowfallHi
- tempMax
- tempMin
- precipProb
- windGust
- weatherCode
additionalProperties: false
ForecastScore:
type: object
properties:
model:
type: string
periodDays:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
description: Trailing verification window, days.
day1Mae:
anyOf:
- type: number
- type: 'null'
description: Mean absolute error of the day-1 snowfall forecast, cm.
day3Mae:
anyOf:
- type: number
- type: 'null'
day7Mae:
anyOf:
- type: number
- type: 'null'
samples:
anyOf:
- type: integer
minimum: -9007199254740991
maximum: 9007199254740991
- type: 'null'
biasRatio:
anyOf:
- type: number
- type: 'null'
description: Sum(forecast) / sum(observed); above 1 means the model over-forecasts snow.
computedAt:
type: string
rank:
anyOf:
- type: integer
minimum: -9007199254740991
maximum: 9007199254740991
- type: 'null'
description: 1 = lowest day-1 MAE among the models scored at this resort (the blend is ranked too). Null before the first scoring run.
required:
- model
- periodDays
- day1Mae
- day3Mae
- day7Mae
- samples
- biasRatio
- computedAt
- rank
additionalProperties: false
ForecastCredit:
type: object
properties:
name:
type: string
text:
type: string
description: The attribution line to carry with any reuse, e.g. `Weather data by Open-Meteo.com`.
license:
type: string
description: Licence of the source data, e.g. `CC BY 4.0`.
url:
type: string
required:
- name
- text
- license
- url
additionalProperties: false
ForecastBlendDay:
type: object
properties:
date:
type: string
description: YYYY-MM-DD, local to the resort.
snowfallIn:
type: number
description: Median across the models that reach this day, inches.
snowfallLoIn:
type: number
description: 25th percentile across models, inches. Equals the median when one model reaches the day.
snowfallHiIn:
type: number
description: 75th percentile across models, inches.
snowfallCm:
type: number
snowfallLoCm:
type: number
snowfallHiCm:
type: number
tempMaxF:
anyOf:
- type: number
- type: 'null'
tempMinF:
anyOf:
- type: number
- type: 'null'
precipProb:
anyOf:
- type: number
- type: 'null'
description: 0–100, median of the models that publish one.
windGustMph:
anyOf:
- type: number
- type: 'null'
weatherCode:
anyOf:
- type: integer
minimum: -9007199254740991
maximum: 9007199254740991
- type: 'null'
description: Modal WMO code across models; ties go to the more severe code.
condition:
type: string
description: PeakCam icon slug for the weather code (`heavy-snow`, `clear`, ...).
modelCount:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
description: Models contributing to this day. Falls with lead time as shorter-range models drop out.
models:
type: array
items:
type: string
description: Model ids contributing to this day.
required:
- date
- snowfallIn
- snowfallLoIn
- snowfallHiIn
- snowfallCm
- snowfallLoCm
- snowfallHiCm
- tempMaxF
- tempMinF
- precipProb
- windGustMph
- weatherCode
- condition
- modelCount
- models
additionalProperties: false
ForecastAccuracy:
type: object
properties:
slug:
type: string
name:
type: string
canonicalUrl:
type: string
periodDays:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
description: Trailing window the scores cover.
truthBasis:
$ref: '#/components/schemas/ForecastTruthBasis'
station:
anyOf:
- $ref: '#/components/schemas/Station'
- type: 'null'
description: The station behind the measured series, when it is an NRCS one.
measuredDays:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
description: Days inside the window with a usable measured value. Scores need measured days; a resort with none has no scores.
scoredPoint:
anyOf:
- type: string
enum:
- summit
- base
- type: 'null'
description: The forecast point the measured series was graded against (the one nearest the station's elevation).
models:
type: array
items:
$ref: '#/components/schemas/ForecastScore'
description: One row per model plus `blend`, ranked. Empty until the scorer has run with measured days.
bestModel:
anyOf:
- type: string
- type: 'null'
description: Model id with rank 1.
computedAt:
anyOf:
- type: string
- type: 'null'
method:
type: string
credits:
type: array
items:
$ref: '#/components/schemas/ForecastCredit'
attribution:
type: string
license:
type: string
generatedAt:
type: string
required:
- slug
- name
- canonicalUrl
- periodDays
- truthBasis
- station
- measuredDays
- scoredPoint
- models
- bestModel
- computedAt
- method
- credits
- attribution
- license
- generatedAt
additionalProperties: false
Error:
type: object
properties:
error:
type: string
detail:
type: string
status:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
required:
- error
- status
additionalProperties: false
ForecastTruthBasis:
type: string
enum:
- snotel
- ghcn
- none
Station:
type: object
properties:
id:
type: string
description: NRCS station triplet, e.g. `602:CO:SNTL`.
name:
anyOf:
- type: string
- type: 'null'
description: NRCS station name.
elevationFt:
anyOf:
- type: number
- type: 'null'
description: Station elevation in feet. Measurements describe this elevation, not the resort's summit.
required:
- id
- name
- elevationFt
additionalProperties: false
ForecastSummary:
type: object
properties:
point:
type: string
enum:
- summit
- base
description: 'The elevation the summary is for: summit when the resort has a summit point, else base.'
issuedAt:
type: string
description: Newest model issue instant among the runs blended.
modelCount:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
description: Models contributing to the first day.
models:
type: array
items:
type: string
description: Every model id that contributed to any day.
next48hIn:
type: number
next48hCm:
type: number
total7dIn:
type: number
total7dCm:
type: number
total14dIn:
type: number
total14dCm:
type: number
peak:
anyOf:
- $ref: '#/components/schemas/ForecastPeak'
- type: 'null'
description: Null when no day has any blended snow.
required:
- point
- issuedAt
- modelCount
- models
- next48hIn
- next48hCm
- total7dIn
- total7dCm
- total14dIn
- total14dCm
- peak
additionalProperties: false
ForecastPeak:
type: object
properties:
date:
type: string
description: The day with the most blended snowfall.
in:
type: number
cm:
type: number
windowDays:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
description: Consecutive days around the peak with at least 1 cm (the storm window).
required:
- date
- in
- cm
- windowDays
additionalProperties: false
externalDocs:
description: How the numbers are measured
url: https://www.peakcam.io/methodology