Peak Cam Resorts Leaderboards API

Season rankings: 7-day snow, powder days, deepest base, season snowfall.

GitHub OpenAPI

Operations 1

GET /leaderboards/{kind} One of the four season leaderboards #

Work with this as data

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-leaderboards-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 Specification

peakcam-io-leaderboards-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PeakCam Public Leaderboards 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: Leaderboards
  description: 'Season rankings: 7-day snow, powder days, deepest base, season snowfall.'
paths:
  /leaderboards/{kind}:
    get:
      operationId: getLeaderboard
      tags:
      - Leaderboards
      summary: One of the four season leaderboards
      description: '`best-powder-this-week` (measured new snow in the last 7 days), `season-powder-days` (days with 8 in or more since Oct 1), `deepest-base` (latest station or model depth) and `season-snowfall` (measured new snow since Oct 1). The two season-bound boards cover the Northern hemisphere only. Each answers a dated sentence, the rule in words and ranked rows with source and station. Same data as https://www.peakcam.io/snow-report/{kind}.'
      parameters:
      - name: kind
        in: path
        required: true
        schema:
          $ref: '#/components/schemas/LeaderboardKind'
        example: season-snowfall
      - name: state
        in: query
        description: State/province code or country name as stored, case-insensitive (`CO`, `BC`, `Chile`).
        schema:
          type: string
      - name: source
        in: query
        description: Keep only rows from this source (`snotel` = measured only).
        schema:
          $ref: '#/components/schemas/MeasurementSource'
      - name: limit
        in: query
        schema:
          type: integer
          minimum: 1
          maximum: 200
          default: 25
      responses:
        '200':
          description: The leaderboard.
          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/Leaderboard'
        '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: Unknown leaderboard kind.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    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
    MeasurementSource:
      type: string
      enum:
      - snotel
      - open_meteo
      - pipeline
      - manual
      - resort
    LeaderboardKind:
      type: string
      enum:
      - best-powder-this-week
      - season-powder-days
      - deepest-base
      - season-snowfall
    LeaderboardEntry:
      type: object
      properties:
        rank:
          type: integer
          minimum: -9007199254740991
          maximum: 9007199254740991
        slug:
          type: string
        name:
          type: string
        canonicalUrl:
          type: string
        state:
          type: string
        country:
          type: string
        value:
          type: number
          description: The ranked number.
        unit:
          type: string
          enum:
          - in
          - days
        source:
          $ref: '#/components/schemas/MeasurementSource'
        station:
          anyOf:
          - $ref: '#/components/schemas/Station'
          - type: 'null'
        measuredAt:
          anyOf:
          - type: string
          - type: 'null'
          description: ISO instant the value is dated to.
        detail:
          anyOf:
          - type: object
            properties:
              label:
                type: string
              value:
                type: string
            required:
            - label
            - value
            additionalProperties: false
          - type: 'null'
          description: A second number for context (base, season total, powder days).
      required:
      - rank
      - slug
      - name
      - canonicalUrl
      - state
      - country
      - value
      - unit
      - source
      - station
      - measuredAt
      - detail
      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
    Leaderboard:
      type: object
      properties:
        kind:
          $ref: '#/components/schemas/LeaderboardKind'
        title:
          type: string
        description:
          type: string
        rule:
          type: string
          description: The ranking rule in words.
        season:
          description: The Northern-hemisphere season the season-bound boards count from.
          $ref: '#/components/schemas/SeasonRef'
        weekStart:
          type: string
          description: YYYY-MM-DD the 7-day window starts (best-powder-this-week).
        filters:
          type: object
          properties:
            state:
              anyOf:
              - type: string
              - type: 'null'
            source:
              anyOf:
              - $ref: '#/components/schemas/MeasurementSource'
              - type: 'null'
          required:
          - state
          - source
          additionalProperties: false
        count:
          type: integer
          minimum: -9007199254740991
          maximum: 9007199254740991
        totalMatching:
          type: integer
          minimum: -9007199254740991
          maximum: 9007199254740991
        pool:
          type: integer
          minimum: -9007199254740991
          maximum: 9007199254740991
          description: Resorts considered after the filters.
        asOf:
          anyOf:
          - type: string
          - type: 'null'
        sentence:
          type: string
          description: The dated, quotable summary sentence.
        unavailable:
          type: boolean
          description: True when the season aggregates could not be read; `results` is then empty.
        results:
          type: array
          items:
            $ref: '#/components/schemas/LeaderboardEntry'
        pageUrl:
          type: string
        attribution:
          type: string
        license:
          type: string
        generatedAt:
          type: string
      required:
      - kind
      - title
      - description
      - rule
      - season
      - weekStart
      - filters
      - count
      - totalMatching
      - pool
      - asOf
      - sentence
      - unavailable
      - results
      - pageUrl
      - attribution
      - license
      - generatedAt
      additionalProperties: false
externalDocs:
  description: How the numbers are measured
  url: https://www.peakcam.io/methodology