Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
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.
All 92 tools →
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/peakcam-io:peakcam-io-score-api"
All apis
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.
Get an API 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 Score 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: score
description: 'The 0–100 Snow Score: components, history and the sortable snow-report table.'
paths:
/snow-report:
get:
operationId: getSnowReport
tags:
- score
summary: The snow-report table, sortable by Snow Score, new snow or base
description: 'Every active resort as a light row (the same shape as `/resorts`), ordered by `sort`: `score` ranks by today''s 0–100 Snow Score with unscored resorts last, `newSnow24h` and `baseDepth` rank by the latest report, `name` is alphabetical. `state` keeps one state / province (or `Chile` / `Argentina`). The dated `sentence` names the top three Snow Scores among the rows kept, and `scoredAsOf` is the newest score day among them. Components per resort: `/resorts/{slug}/score-components`.'
parameters:
- name: sort
in: query
schema:
type: string
enum:
- name
- score
- newSnow24h
- baseDepth
default: name
- name: state
in: query
description: 'Case-insensitive `resorts.state` match: `CO`, `BC`, `Chile`.'
schema:
type: string
minLength: 1
maxLength: 40
responses:
'200':
description: The snow-report table.
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/SnowReportList'
'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
/resorts/{slug}/score-components:
get:
operationId: getResortScoreComponents
tags:
- score
summary: Today's Snow Score with its five components and the 30-day history
description: 'PeakCam''s 0–100 Snow Score for one resort: `today` carries the score, its four-tier `rating` (great ≥ 75, good ≥ 55, fair ≥ 35, else poor), a dated `tagline` to quote and the five `components` (depth vs normal 30, new snow over 7 days 25, blended 7-day forecast 20, snow quality 15, operating status 10), each with `points`, `max`, a one-line `basis` and its `source`. `history` is one `{date, score, rating}` per scored day over the trailing 30 days for a sparkline. `scoredBy` is always `algorithmic`: the score is a fixed function of measured and modelled inputs, documented at https://www.peakcam.io/methodology#score. `available: false` before the first scoring run.'
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 score 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/ResortScoreHistory'
'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:
ScoreSource:
type: string
enum:
- snotel
- model
- operator
- profile
- derived
- none
ResortScore:
type: object
properties:
date:
type: string
description: YYYY-MM-DD the score is for (Mountain-time day of the scoring run).
score:
type: integer
minimum: 0
maximum: 100
rating:
type: string
enum:
- great
- good
- fair
- poor
description: 'The score''s four-tier label: great ≥ 75, good ≥ 55, fair ≥ 35, else poor.'
tagline:
type: string
description: 'Dated sentence to quote: the score, its rating and the components strongest first.'
components:
$ref: '#/components/schemas/ScoreComponents'
scoredBy:
type: string
const: algorithmic
description: 'Always `algorithmic`: a fixed function of measured and modelled inputs, never an editorial call.'
version:
type: string
description: Formula version, e.g. `score-v1`; a change re-scores the history.
required:
- date
- score
- rating
- tagline
- components
- scoredBy
- version
additionalProperties: false
ScoreLight:
type: object
properties:
date:
type: string
description: YYYY-MM-DD.
score:
type: integer
minimum: 0
maximum: 100
rating:
type: string
enum:
- great
- good
- fair
- poor
required:
- date
- score
- rating
additionalProperties: false
MeasurementSource:
type: string
enum:
- snotel
- open_meteo
- pipeline
- manual
- resort
ResortScoreHistory:
type: object
properties:
slug:
type: string
name:
type: string
canonicalUrl:
type: string
apiUrl:
type: string
description: This document.
pageUrl:
type: string
description: Where the score ring and sparkline render.
available:
type: boolean
description: False when the scorer has not written a row for this resort yet (or the table is not served).
today:
anyOf:
- $ref: '#/components/schemas/ResortScore'
- type: 'null'
description: The newest score at most 3 days old, else null.
history:
type: array
items:
$ref: '#/components/schemas/ScoreLight'
description: One point per scored day over the trailing window, oldest first.
days:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
description: The history window, days.
weights:
type: object
properties:
depthVsNormal:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
recentSnow7d:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
forecast7d:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
snowQuality:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
operatingStatus:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
required:
- depthVsNormal
- recentSnow7d
- forecast7d
- snowQuality
- operatingStatus
additionalProperties: false
ladder:
type: object
properties:
great:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
good:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
fair:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
required:
- great
- good
- fair
additionalProperties: false
description: Score at or above each cutoff earns the label; below `fair` is `poor`.
sentence:
type: string
description: The dated tagline, or why there is no score.
scoredBy:
type: string
const: algorithmic
version:
type: string
methodologyUrl:
type: string
attribution:
type: string
license:
type: string
generatedAt:
type: string
required:
- slug
- name
- canonicalUrl
- apiUrl
- pageUrl
- available
- today
- history
- days
- weights
- ladder
- sentence
- scoredBy
- version
- methodologyUrl
- attribution
- license
- generatedAt
additionalProperties: false
SnowReportList:
type: object
properties:
sort:
type: string
enum:
- name
- score
- newSnow24h
- baseDepth
description: How the rows are ordered. `score` ranks by today's Snow Score (unscored resorts last); `newSnow24h` and `baseDepth` rank by the report; `name` is alphabetical.
state:
anyOf:
- type: string
- type: 'null'
description: The state filter applied, or null.
scoredAsOf:
anyOf:
- type: string
- type: 'null'
description: YYYY-MM-DD of the newest score among the rows, or null when none is scored.
sentence:
type: string
description: Dated sentence naming the top Snow Scores among the rows, or why there are none.
count:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
resorts:
type: array
items:
$ref: '#/components/schemas/ResortLight'
attribution:
type: string
license:
type: string
generatedAt:
type: string
required:
- sort
- state
- scoredAsOf
- sentence
- count
- resorts
- attribution
- license
- generatedAt
additionalProperties: false
ResortLight:
type: object
properties:
slug:
type: string
name:
type: string
canonicalUrl:
type: string
apiUrl:
type: string
location:
type: object
properties:
state:
type: string
description: US state / CA province code, or the country name for Andes resorts.
region:
type: string
country:
type: string
description: ISO 3166-1 alpha-2.
lat:
type: number
lon:
type: number
required:
- state
- region
- country
- lat
- lon
additionalProperties: false
snow:
anyOf:
- type: object
properties:
baseDepth:
anyOf:
- type: number
- type: 'null'
newSnow24h:
anyOf:
- type: number
- type: 'null'
newSnow48h:
anyOf:
- type: number
- type: 'null'
unit:
type: string
const: in
source:
anyOf:
- $ref: '#/components/schemas/MeasurementSource'
- type: 'null'
measuredAt:
anyOf:
- type: string
- type: 'null'
required:
- baseDepth
- newSnow24h
- newSnow48h
- unit
- source
- measuredAt
additionalProperties: false
- type: 'null'
rating:
anyOf:
- type: string
enum:
- great
- good
- fair
- poor
- type: 'null'
score:
description: Today's Snow Score (P7); null before the first scoring run, absent when the table is not served. Components at `/resorts/{slug}/score-components`.
anyOf:
- $ref: '#/components/schemas/ScoreLight'
- type: 'null'
seasonStatus:
type: string
enum:
- open
- closed
- unknown
camCount:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
liveCamCount:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
description: Cams whose last health check passed.
required:
- slug
- name
- canonicalUrl
- apiUrl
- location
- snow
- rating
- seasonStatus
- camCount
- liveCamCount
additionalProperties: false
ScoreComponent:
type: object
properties:
points:
type: number
minimum: 0
description: Points earned, one decimal.
max:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
description: The component's weight; the five maximums add to 100.
basis:
type: string
description: One line saying what the points rest on, quotable as is.
source:
$ref: '#/components/schemas/ScoreSource'
required:
- points
- max
- basis
- source
additionalProperties: false
Error:
type: object
properties:
error:
type: string
detail:
type: string
status:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
required:
- error
- status
additionalProperties: false
ScoreComponents:
type: object
properties:
depthVsNormal:
description: '30: snowpack against the station''s 1991–2020 median (SWE); without a normal, base depth on a fixed scale capped at 27.'
$ref: '#/components/schemas/ScoreComponent'
recentSnow7d:
description: '25: measured or modelled new snow over the last 7 days (24 in is full marks).'
$ref: '#/components/schemas/ScoreComponent'
forecast7d:
description: '20: the blended next-7-day forecast total (20 in is full marks).'
$ref: '#/components/schemas/ScoreComponent'
snowQuality:
description: '15: days since the last snow day × the 3-day high temperature × the engine''s surface tags.'
$ref: '#/components/schemas/ScoreComponent'
operatingStatus:
description: '10: OPEN full, PRE_SEASON and CLOSED_TODAY half, OFF_SEASON and UNKNOWN none.'
$ref: '#/components/schemas/ScoreComponent'
required:
- depthVsNormal
- recentSnow7d
- forecast7d
- snowQuality
- operatingStatus
additionalProperties: false
externalDocs:
description: How the numbers are measured
url: https://www.peakcam.io/methodology