Peak Cam Resorts History API
Season history, season-to-date stats and monthly climatology per resort.
Season history, season-to-date stats and monthly climatology per resort.
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-history-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 History 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: History
description: Season history, season-to-date stats and monthly climatology per resort.
paths:
/resorts/{slug}/history:
get:
operationId: getResortHistory
tags:
- History
summary: Season snowfall curve vs the station's normal band, plus ten past seasons
description: The current season's cumulative measured snowfall by day (daily new snow = the positive change in station depth, a floor on what fell) against the station's 30-winter normal band (mean, p25, p75, with the recent-decade mean), and up to ten past seasons with totals, snow and powder days, the biggest storm, the deepest base, weekly cumulative totals and the winter's ENSO phase. Resorts without a station get the curve without a band. Backs https://www.peakcam.io/resorts/{slug}/history.
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 history 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/ResortHistory'
'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}/season-stats:
get:
operationId: getResortSeasonStats
tags:
- History
summary: Season-to-date snowfall, powder days, base and percent of normal on two…
description: Season-to-date measured snowfall, days measured, snow days, powder days (8 in or more, the alert threshold), current and deepest base, percent of the 30-winter normal to this day and of the recent decade (with a `baselineNote` when the two differ by more than 10 %), the same day last year, a 7-day trend and a dated sentence to quote.
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 season stats.
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/SeasonStats'
'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}/monthly:
get:
operationId: getResortMonthly
tags:
- History
summary: Monthly climatology at the resort's station
description: 'Average snowfall, snow days, depth and the biggest storm per calendar month over the 30 most recent complete winters and, separately, the 10 most recent, with the recent decade as a percent of the 30-winter figure. `available: false` for resorts without a station normal.'
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 monthly climatology.
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/MonthlyClimatology'
'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:
SeasonCurve:
type: object
properties:
points:
type: array
items:
$ref: '#/components/schemas/SeasonCurvePoint'
description: One per day from the season start through `asOf`.
band:
type: array
items:
$ref: '#/components/schemas/NormalBandPoint'
description: Days 1–273 (through June 30); empty for resorts without a station normal.
normalYears:
anyOf:
- type: integer
minimum: -9007199254740991
maximum: 9007199254740991
- type: 'null'
description: Winters behind the 30-winter band.
recentYears:
anyOf:
- type: integer
minimum: -9007199254740991
maximum: 9007199254740991
- type: 'null'
required:
- points
- band
- normalYears
- recentYears
additionalProperties: false
ResortHistory:
type: object
properties:
slug:
type: string
name:
type: string
canonicalUrl:
type: string
description: The resort's PeakCam page.
pageUrl:
type: string
description: The history page this document backs.
apiUrl:
type: string
source:
anyOf:
- type: string
enum:
- snotel
- open_meteo
description: '`snotel`: daily NRCS station readings, quality-controlled. `open_meteo`: weather-model daily values for resorts without a station.'
- type: 'null'
station:
anyOf:
- $ref: '#/components/schemas/Station'
- type: 'null'
hemisphere:
type: string
enum:
- north
- south
season:
description: The season in progress.
$ref: '#/components/schemas/SeasonRef'
asOf:
anyOf:
- type: string
- type: 'null'
description: YYYY-MM-DD of the newest daily reading this season; null before the first.
powderDayThresholdIn:
type: number
curve:
$ref: '#/components/schemas/SeasonCurve'
pastSeasons:
type: array
items:
$ref: '#/components/schemas/PastSeason'
description: Up to ten seasons before the current one, newest first; seasons with no rows are omitted.
attribution:
type: string
license:
type: string
generatedAt:
type: string
required:
- slug
- name
- canonicalUrl
- pageUrl
- apiUrl
- source
- station
- hemisphere
- season
- asOf
- powderDayThresholdIn
- curve
- pastSeasons
- attribution
- license
- generatedAt
additionalProperties: false
SeasonRef:
type: object
properties:
key:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
description: Water year for the Northern hemisphere (Oct 2026 → 2027); calendar year for the Southern.
label:
type: string
description: '`2026-27` (North) or `2026` (South).'
startDate:
type: string
description: 'YYYY-MM-DD the season starts: Oct 1 (North) or Apr 1 (South).'
required:
- key
- label
- startDate
additionalProperties: false
MonthlyClimatology:
type: object
properties:
slug:
type: string
name:
type: string
canonicalUrl:
type: string
pageUrl:
type: string
apiUrl:
type: string
station:
anyOf:
- $ref: '#/components/schemas/Station'
- type: 'null'
available:
type: boolean
description: False for resorts without a station normal; `months` is then empty.
note:
type: string
months:
type: array
items:
$ref: '#/components/schemas/MonthClimatology'
description: In season order (October first in the North).
attribution:
type: string
license:
type: string
generatedAt:
type: string
required:
- slug
- name
- canonicalUrl
- pageUrl
- apiUrl
- station
- available
- note
- months
- attribution
- license
- generatedAt
additionalProperties: false
NormalBandPoint:
type: object
properties:
dayOfSeason:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
meanIn:
type: number
description: Mean cumulative new snow by this day over the 30 most recent complete winters.
p25In:
type: number
p75In:
type: number
recentMeanIn:
anyOf:
- type: number
- type: 'null'
description: The same mean over the 10 most recent complete winters.
required:
- dayOfSeason
- meanIn
- p25In
- p75In
- recentMeanIn
additionalProperties: false
SeasonTrend:
type: object
properties:
last7In:
type: number
prior7In:
type: number
direction:
type: string
enum:
- rising
- falling
- steady
required:
- last7In
- prior7In
- direction
additionalProperties: false
DeepestBase:
type: object
properties:
depthIn:
type: number
date:
type: string
description: YYYY-MM-DD the depth was first reached.
required:
- depthIn
- date
additionalProperties: false
MonthClimatology:
type: object
properties:
month:
type: integer
minimum: 1
maximum: 12
label:
type: string
thirtyYear:
description: The 30 most recent complete winters.
$ref: '#/components/schemas/MonthWindowStats'
recentDecade:
description: The 10 most recent complete winters.
$ref: '#/components/schemas/MonthWindowStats'
recentVsThirtyPct:
anyOf:
- type: number
- type: 'null'
description: Recent-decade average snowfall as a percent of the 30-winter average.
baselineNote:
anyOf:
- type: string
- type: 'null'
required:
- month
- label
- thirtyYear
- recentDecade
- recentVsThirtyPct
- baselineNote
additionalProperties: false
SeasonCurvePoint:
type: object
properties:
dayOfSeason:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
description: 1 = the season's first day.
date:
type: string
description: YYYY-MM-DD.
cumulativeIn:
type: number
description: Measured new snow since the season start, inches; days with no reading add nothing.
snowDepthIn:
anyOf:
- type: number
- type: 'null'
description: Depth at the station that day; null when not measured.
required:
- dayOfSeason
- date
- cumulativeIn
- snowDepthIn
additionalProperties: false
PastSeason:
type: object
properties:
season:
$ref: '#/components/schemas/SeasonRef'
totalIn:
type: number
description: Measured new snow over the season (through June 30 in the North).
snowDays:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
description: Days with at least 1 in.
powderDays:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
description: Days at or above `powderDayThresholdIn`.
daysMeasured:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
maxStorm:
anyOf:
- $ref: '#/components/schemas/Storm'
- type: 'null'
deepestBase:
anyOf:
- $ref: '#/components/schemas/DeepestBase'
- type: 'null'
weeklyCumulativeIn:
type: array
items:
type: number
description: Cumulative new snow at the end of each 7-day week from the season start; 52 entries.
percentOfNormal:
anyOf:
- type: number
- type: 'null'
description: Season total as a percent of the 30-winter mean season; null without a normal.
enso:
anyOf:
- $ref: '#/components/schemas/EnsoSeason'
- type: 'null'
required:
- season
- totalIn
- snowDays
- powderDays
- daysMeasured
- maxStorm
- deepestBase
- weeklyCumulativeIn
- percentOfNormal
- enso
additionalProperties: false
LastYearComparison:
type: object
properties:
season:
$ref: '#/components/schemas/SeasonRef'
seasonToDateIn:
type: number
description: Cumulative snowfall by the same day of season last year.
baseOnSameDayIn:
anyOf:
- type: number
- type: 'null'
powderDays:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
diffIn:
type: number
description: This season minus last season, inches.
pctOfLastYear:
anyOf:
- type: number
- type: 'null'
required:
- season
- seasonToDateIn
- baseOnSameDayIn
- powderDays
- diffIn
- pctOfLastYear
additionalProperties: false
SeasonStats:
type: object
properties:
slug:
type: string
name:
type: string
canonicalUrl:
type: string
pageUrl:
type: string
apiUrl:
type: string
source:
anyOf:
- type: string
enum:
- snotel
- open_meteo
description: '`snotel`: daily NRCS station readings, quality-controlled. `open_meteo`: weather-model daily values for resorts without a station.'
- type: 'null'
station:
anyOf:
- $ref: '#/components/schemas/Station'
- type: 'null'
hemisphere:
type: string
enum:
- north
- south
season:
$ref: '#/components/schemas/SeasonRef'
dayOfSeason:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
asOf:
anyOf:
- type: string
- type: 'null'
description: YYYY-MM-DD of the newest daily reading this season.
seasonToDateIn:
type: number
daysMeasured:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
snowDays:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
powderDays:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
powderDayThresholdIn:
type: number
currentBaseIn:
anyOf:
- type: number
- type: 'null'
deepestBase:
anyOf:
- $ref: '#/components/schemas/DeepestBase'
- type: 'null'
percentOfNormal:
$ref: '#/components/schemas/PercentOfNormalToDate'
lastYear:
anyOf:
- $ref: '#/components/schemas/LastYearComparison'
- type: 'null'
trend:
$ref: '#/components/schemas/SeasonTrend'
sentence:
type: string
description: A dated sentence that can be quoted verbatim.
attribution:
type: string
license:
type: string
generatedAt:
type: string
required:
- slug
- name
- canonicalUrl
- pageUrl
- apiUrl
- source
- station
- hemisphere
- season
- dayOfSeason
- asOf
- seasonToDateIn
- daysMeasured
- snowDays
- powderDays
- powderDayThresholdIn
- currentBaseIn
- deepestBase
- percentOfNormal
- lastYear
- trend
- sentence
- attribution
- license
- generatedAt
additionalProperties: false
Storm:
type: object
properties:
totalIn:
type: number
start:
type: string
description: YYYY-MM-DD.
end:
type: string
days:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
description: Consecutive days with at least 1 in of new snow.
required:
- totalIn
- start
- end
- days
additionalProperties: false
EnsoSeason:
type: object
properties:
phase:
type: string
enum:
- el-nino
- la-nina
- neutral
oni:
type: number
description: NOAA Oceanic Niño Index, DJF anomaly in °C.
label:
type: string
required:
- phase
- oni
- label
additionalProperties: false
Error:
type: object
properties:
error:
type: string
detail:
type: string
status:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
required:
- error
- status
additionalProperties: false
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
MonthWindowStats:
type: object
properties:
avgSnowfallIn:
anyOf:
- type: number
- type: 'null'
avgSnowDays:
anyOf:
- type: number
- type: 'null'
avgDepthIn:
anyOf:
- type: number
- type: 'null'
maxStormIn:
anyOf:
- type: number
- type: 'null'
maxStormStart:
anyOf:
- type: string
- type: 'null'
maxStormEnd:
anyOf:
- type: string
- type: 'null'
yearsTracked:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
required:
- avgSnowfallIn
- avgSnowDays
- avgDepthIn
- maxStormIn
- maxStormStart
- maxStormEnd
- yearsTracked
additionalProperties: false
PercentOfNormalToDate:
type: object
properties:
thirtyYear:
anyOf:
- type: number
- type: 'null'
description: Season-to-date snowfall as a percent of the 30-winter mean by this day; null without a normal.
recentDecade:
anyOf:
- type: number
- type: 'null'
description: The same against the 10 most recent winters.
normalToDateIn:
anyOf:
- type: number
- type: 'null'
recentNormalToDateIn:
anyOf:
- type: number
- type: 'null'
normalYears:
anyOf:
- type: integer
minimum: -9007199254740991
maximum: 9007199254740991
- type: 'null'
recentYears:
anyOf:
- type: integer
minimum: -9007199254740991
maximum: 9007199254740991
- type: 'null'
baselineNote:
anyOf:
- type: string
- type: 'null'
description: Set when the two baselines differ by more than 10 %; quote it with the percent.
required:
- thirtyYear
- recentDecade
- normalToDateIn
- recentNormalToDateIn
- normalYears
- recentYears
- baselineNote
additionalProperties: false
externalDocs:
description: How the numbers are measured
url: https://www.peakcam.io/methodology