SnowSure Images API

Auto-updating PNG share cards

GitHub OpenAPI

Operations 11

GET /api/og Generic share image #
GET /api/og/leaderboard/best-powder-this-week Best Powder This Week share image #
GET /api/og/leaderboard/most-powder-days Most Powder Days share image #
GET /api/og/leaderboard/most-bluebird-days Most Bluebird Days share image #
GET /api/og/leaderboard/most-accurate-model Most Accurate Forecast Model share image #
GET /api/og/resort/{slug}/rank Resort rank share image #
GET /api/og/map-share/{region} Map share card #
GET /api/og/snow-summary/{slug} Snow Summary share card #
GET /api/og/station/{country}/{slug} Snow station share card #
GET /api/og/powder-trip/{id}/{slide} Powder Trip carousel slide #
GET /api/og/powder-trip/{id}/package Powder Trip package card #

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/snowsure-ai:snowsure-ai-images-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

snowsure-ai-images-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SnowSure Images 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: Images
  description: Auto-updating PNG share cards
paths:
  /api/og:
    get:
      summary: Generic share image
      description: 'A 1200×630 PNG that prints what you pass; it fetches no data (`type=app` is the one exception: the App Store card for /app, drawn with one static screenshot from this origin). `score` draws the dial in that score''s band colour, so pass SnowSure''s own `score` and `rating` verbatim.


        **Auth:** none.


        **Caching:** `Cache-Control: public, max-age=86400, s-maxage=86400, stale-while-revalidate=604800, no-transform`. The image prints only its query parameters, but the score-band colour and card design are code, so a deploy can change it at the same URL; a day bounds that. Never `immutable`, so browsers, social scrapers and the CDN fetch a fresh render once the window passes. A changing query parameter (e.g. `&d=2026-09-15`) still forces a fresh render; unknown parameters are ignored.'
      operationId: getOgImage
      tags:
      - Images
      security: []
      parameters:
      - name: title
        in: query
        required: false
        schema:
          type: string
          default: SnowSure
      - name: subtitle
        in: query
        required: false
        schema:
          type: string
          default: AI-Powered Snow Forecasts
      - name: score
        in: query
        required: false
        description: SnowSure Score, 0–100.
        schema:
          type: string
      - name: rating
        in: query
        required: false
        description: Rating label printed with the score.
        schema:
          type: string
      - name: snow24h
        in: query
        required: false
        description: 24-hour snowfall in cm, printed as `+{snow24h}cm`.
        schema:
          type: string
      - name: forecast
        in: query
        required: false
        description: Forecast snowfall in cm, printed as `{forecast}cm`.
        schema:
          type: string
      - name: type
        in: query
        required: false
        schema:
          type: string
          enum:
          - resort
          - report
          - default
          - app
          default: default
      responses:
        '200':
          description: PNG image
          content:
            image/png:
              schema:
                type: string
                contentMediaType: image/png
  /api/og/leaderboard/best-powder-this-week:
    get:
      summary: Best Powder This Week share image
      description: 'PNG of the Best Powder This Week leaderboard (3 rows for `og`, 5 for `square`, 10 for `story`), carrying the snowsure.ai wordmark.


        **Auth:** none.


        **Caching:** `Cache-Control: public, max-age=1800, s-maxage=1800, stale-while-revalidate=3600, no-transform`. Matches the leaderboard''s 30-minute refresh. Never `immutable`, so browsers, social scrapers and the CDN fetch a fresh render once the window passes. A changing query parameter (e.g. `&d=2026-09-15`) still forces a fresh render; unknown parameters are ignored.'
      operationId: getBestPowderThisWeekImage
      tags:
      - Images
      security: []
      parameters:
      - name: region
        in: query
        required: false
        description: Unrecognised values fall back to `global`.
        schema:
          type: string
          enum:
          - global
          - europe
          - north-america
          - asia
          - oceania
          - south-america
          default: global
      - name: format
        in: query
        required: false
        description: '`og` 1200×630 · `square` 1080×1080 · `story` 1080×1920. Unrecognised values render `og`.'
        schema:
          type: string
          enum:
          - og
          - square
          - story
          default: og
      - name: units
        in: query
        required: false
        description: Units the snow figures are drawn in. `imperial` draws inches; any other value draws centimetres. When absent, a request from the United States, Liberia or Myanmar (by Vercel's IP country) is drawn in inches and every other request in centimetres; each is cached at its own URL. Pass `units` to pin the units regardless of where the request comes from.
        schema:
          type: string
          enum:
          - metric
          - imperial
      responses:
        '200':
          description: PNG image
          content:
            image/png:
              schema:
                type: string
                contentMediaType: image/png
  /api/og/leaderboard/most-powder-days:
    get:
      summary: Most Powder Days share image
      description: 'PNG of the season powder-day leaders (3 / 5 / 10 rows by format).


        **Auth:** none.


        **Caching:** `Cache-Control: public, max-age=1800, s-maxage=1800, stale-while-revalidate=3600, no-transform`. Matches the leaderboard''s 30-minute refresh. Never `immutable`, so browsers, social scrapers and the CDN fetch a fresh render once the window passes. A changing query parameter (e.g. `&d=2026-09-15`) still forces a fresh render; unknown parameters are ignored.'
      operationId: getMostPowderDaysImage
      tags:
      - Images
      security: []
      parameters:
      - name: format
        in: query
        required: false
        description: '`og` 1200×630 · `square` 1080×1080 · `story` 1080×1920. Unrecognised values render `og`.'
        schema:
          type: string
          enum:
          - og
          - square
          - story
          default: og
      - name: units
        in: query
        required: false
        description: Units the snow figures are drawn in. `imperial` draws inches; any other value draws centimetres. When absent, a request from the United States, Liberia or Myanmar (by Vercel's IP country) is drawn in inches and every other request in centimetres; each is cached at its own URL. Pass `units` to pin the units regardless of where the request comes from.
        schema:
          type: string
          enum:
          - metric
          - imperial
      responses:
        '200':
          description: PNG image
          content:
            image/png:
              schema:
                type: string
                contentMediaType: image/png
  /api/og/leaderboard/most-bluebird-days:
    get:
      summary: Most Bluebird Days share image
      description: 'PNG of the season bluebird-day leaders (3 / 5 / 10 rows by format).


        **Auth:** none.


        **Caching:** `Cache-Control: public, max-age=1800, s-maxage=1800, stale-while-revalidate=3600, no-transform`. Matches the leaderboard''s 30-minute refresh. Never `immutable`, so browsers, social scrapers and the CDN fetch a fresh render once the window passes. A changing query parameter (e.g. `&d=2026-09-15`) still forces a fresh render; unknown parameters are ignored.'
      operationId: getMostBluebirdDaysImage
      tags:
      - Images
      security: []
      parameters:
      - name: format
        in: query
        required: false
        description: '`og` 1200×630 · `square` 1080×1080 · `story` 1080×1920. Unrecognised values render `og`.'
        schema:
          type: string
          enum:
          - og
          - square
          - story
          default: og
      responses:
        '200':
          description: PNG image
          content:
            image/png:
              schema:
                type: string
                contentMediaType: image/png
  /api/og/leaderboard/most-accurate-model:
    get:
      summary: Most Accurate Forecast Model share image
      description: 'PNG ranking weather models by error against measured snowfall this season.


        **Auth:** none.


        **Caching:** `Cache-Control: public, max-age=3600, s-maxage=3600, stale-while-revalidate=7200, no-transform`. Matches the leaderboard''s hourly refresh. Never `immutable`, so browsers, social scrapers and the CDN fetch a fresh render once the window passes. A changing query parameter (e.g. `&d=2026-09-15`) still forces a fresh render; unknown parameters are ignored.'
      operationId: getMostAccurateModelImage
      tags:
      - Images
      security: []
      parameters:
      - name: scope
        in: query
        required: false
        description: Lead-time bucket. Unrecognised values fall back to `overall`.
        schema:
          type: string
          enum:
          - overall
          - day_1_3
          - day_4_7
          - day_8_14
          default: overall
      - name: format
        in: query
        required: false
        description: '`og` 1200×630 · `square` 1080×1080 · `story` 1080×1920. Unrecognised values render `og`.'
        schema:
          type: string
          enum:
          - og
          - square
          - story
          default: og
      - name: units
        in: query
        required: false
        description: Units the snow figures are drawn in. `imperial` draws inches; any other value draws centimetres. When absent, a request from the United States, Liberia or Myanmar (by Vercel's IP country) is drawn in inches and every other request in centimetres; each is cached at its own URL. Pass `units` to pin the units regardless of where the request comes from.
        schema:
          type: string
          enum:
          - metric
          - imperial
      responses:
        '200':
          description: PNG image
          content:
            image/png:
              schema:
                type: string
                contentMediaType: image/png
  /api/og/resort/{slug}/rank:
    get:
      summary: Resort rank share image
      description: 'PNG for one resort: its powder rank this week, 7-day fresh snow and the sharpest model this season, each shown only when known. An unknown slug still renders (a generic SnowSure card).


        **Auth:** none.


        **Caching:** `Cache-Control: public, max-age=1800, s-maxage=1800, stale-while-revalidate=3600, no-transform`. Matches the 30-minute refresh of the powder rank it prints. Never `immutable`, so browsers, social scrapers and the CDN fetch a fresh render once the window passes. A changing query parameter (e.g. `&d=2026-09-15`) still forces a fresh render; unknown parameters are ignored.'
      operationId: getResortRankImage
      tags:
      - Images
      security: []
      parameters:
      - name: slug
        in: path
        required: true
        description: Resort slug (URL-friendly identifier). Common-name aliases resolve to the canonical slug — e.g. "zermatt" → "matterhorn-ski-paradise".
        schema:
          type: string
        example: vail
      - name: format
        in: query
        required: false
        description: '`og` 1200×630 · `square` 1080×1080 · `story` 1080×1920. Unrecognised values render `og`.'
        schema:
          type: string
          enum:
          - og
          - square
          - story
          default: og
      - name: units
        in: query
        required: false
        description: Units the snow figures are drawn in. `imperial` draws inches; any other value draws centimetres. When absent, a request from the United States, Liberia or Myanmar (by Vercel's IP country) is drawn in inches and every other request in centimetres; each is cached at its own URL. Pass `units` to pin the units regardless of where the request comes from.
        schema:
          type: string
          enum:
          - metric
          - imperial
      responses:
        '200':
          description: PNG image
          content:
            image/png:
              schema:
                type: string
                contentMediaType: image/png
  /api/og/map-share/{region}:
    get:
      summary: Map share card
      description: 'PNG of a region''s published snow forecast map laid out to share: a 4:5 post or a 9:16 story, in the map reel''s type, with the snow key, the Mapbox credit and the region''s link printed (`snowsure.ai/map/{region}`). The same card the app shares. An unknown region is a 404.


        **Auth:** none.


        **Caching:** `Cache-Control: public, max-age=3600, s-maxage=3600, stale-while-revalidate=21600, no-transform`. The map it draws is regenerated twice a day; an hour keeps its date line current. Never `immutable`, so browsers, social scrapers and the CDN fetch a fresh render once the window passes. A changing query parameter (e.g. `&d=2026-09-15`) still forces a fresh render; unknown parameters are ignored.'
      operationId: getMapShareCard
      tags:
      - Images
      security: []
      parameters:
      - name: region
        in: path
        required: true
        description: Map region id (one of the thirty `/map/{region}` regions).
        schema:
          type: string
        example: alps
      - name: period
        in: query
        required: false
        description: The forecast window drawn. Unrecognised values draw `7d`.
        schema:
          type: string
          enum:
          - 24h
          - 72h
          - 7d
          - 14d
          default: 7d
      - name: format
        in: query
        required: false
        description: '`post` 1080×1350 · `story` 1080×1920. Unrecognised values render `post`.'
        schema:
          type: string
          enum:
          - post
          - story
          default: post
      responses:
        '200':
          description: PNG image
          content:
            image/png:
              schema:
                type: string
                contentMediaType: image/png
        '404':
          description: Unknown region
  /api/og/snow-summary/{slug}:
    get:
      summary: Snow Summary share card
      description: 'PNG of a mountain''s Snow Summary laid out to share: a 4:5 post or a 9:16 story, in the map reel''s type over the resort''s hero photo. It prints the totals for the past 10 days, 48H, 24H, the next 7 days and the next 14 days, the past ten days and the coming fortnight as bars in the snow map''s key, and the resort''s link (`snowsure.ai/resorts/{slug}`). The card the My Mountains share button shares, on the website and in the app. An unknown resort is a 404.


        **Auth:** none.


        **Caching:** `Cache-Control: public, max-age=1800, s-maxage=1800, stale-while-revalidate=3600, no-transform`. The resort snapshot it draws refreshes hourly; half an hour keeps a snow day current. Never `immutable`, so browsers, social scrapers and the CDN fetch a fresh render once the window passes. A changing query parameter (e.g. `&d=2026-09-15`) still forces a fresh render; unknown parameters are ignored.'
      operationId: getSnowSummaryShareCard
      tags:
      - Images
      security: []
      parameters:
      - name: slug
        in: path
        required: true
        description: Resort slug.
        schema:
          type: string
        example: snowbird
      - name: format
        in: query
        required: false
        description: '`post` 1080×1350 · `story` 1080×1920. Unrecognised values render `post`.'
        schema:
          type: string
          enum:
          - post
          - story
          default: post
      - name: units
        in: query
        required: false
        description: Snow and elevation units printed. Unrecognised values render `metric`.
        schema:
          type: string
          enum:
          - metric
          - imperial
          default: metric
      responses:
        '200':
          description: PNG image
          content:
            image/png:
              schema:
                type: string
                contentMediaType: image/png
        '404':
          description: Unknown resort
  /api/og/station/{country}/{slug}:
    get:
      summary: Snow station share card
      description: 'Square PNG (1080×1080) of one public snow station, the image the station page (`/stations/{country}/{slug}`) shares. It prints the station''s measured snow depth with its elevation beside it, the 24-hour change, the last seven days as a line, a standing figure with the snow drawn to the depth ("Knee deep"), the time of the reading (and "no update in N h" once the network''s own threshold passes), the network''s credit verbatim from the station registry (SLF''s with its slf.ch link printed as text) and "Data by SnowSure.com". Units are the station''s country''s: inches and feet in the United States, centimetres and metres elsewhere. A private station, a station of a network whose terms bar republishing, or an unknown station is a 404; an unreadable archive is a 503 and is not cached.


        **Auth:** none.


        **Caching:** `Cache-Control: public, max-age=3600, s-maxage=3600, stale-while-revalidate=7200, no-transform`. The station page it belongs to is ISR an hour, and its readings reach the read model once a sweep. Never `immutable`, so browsers, social scrapers and the CDN fetch a fresh render once the window passes. A changing query parameter (e.g. `&d=2026-11-10`) still forces a fresh render; unknown parameters are ignored.'
      operationId: getStationShareCard
      tags:
      - Images
      security: []
      parameters:
      - name: country
        in: path
        required: true
        description: ISO 3166-1 alpha-2 country code, lower case.
        schema:
          type: string
        example: ch
      - name: slug
        in: path
        required: true
        description: Station slug, as on `/stations/{country}`.
        schema:
          type: string
        example: imis-weissfluhjoch
      responses:
        '200':
          description: PNG image
          content:
            image/png:
              schema:
                type: string
                contentMediaType: image/png
        '404':
          description: Unknown or non-public station
        '503':
          description: Station archive unreadable
  /api/og/powder-trip/{id}/{slide}:
    get:
      summary: Powder Trip carousel slide
      description: 'One 1080×1350 (Instagram 4:5) slide of a Powder Trip carousel.


        **Auth:** none.


        **Caching:** `Cache-Control: public, max-age=300, s-maxage=300, stale-while-revalidate=600, no-transform`. Rendered from the live trip row (stays, rates, forecast), which can change every 5 minutes. Never `immutable`, so browsers, social scrapers and the CDN fetch a fresh render once the window passes. A changing query parameter (e.g. `&d=2026-09-15`) still forces a fresh render; unknown parameters are ignored.'
      operationId: getPowderTripSlideImage
      tags:
      - Images
      security: []
      parameters:
      - name: id
        in: path
        required: true
        description: Powder Trip id
        schema:
          type: string
      - name: slide
        in: path
        required: true
        description: '`cover`, `forecast`, `plan`, `book`, or `stay-N` (zero-based pick index).'
        schema:
          type: string
          pattern: ^(cover|forecast|plan|book|stay-[0-9]+)$
        example: cover
      responses:
        '200':
          description: PNG image
          content:
            image/png:
              schema:
                type: string
                contentMediaType: image/png
        '404':
          description: Unknown trip, slide, or stay index
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /api/og/powder-trip/{id}/package:
    get:
      summary: Powder Trip package card
      description: 'A 1200×720 PNG summarising a Powder Trip: the snow read, the forecast and the stay.


        **Auth:** none.


        **Caching:** `Cache-Control: public, max-age=300, s-maxage=300, stale-while-revalidate=600, no-transform`. Rendered from the live trip row (stays, rates, forecast), which can change every 5 minutes. Never `immutable`, so browsers, social scrapers and the CDN fetch a fresh render once the window passes. A changing query parameter (e.g. `&d=2026-09-15`) still forces a fresh render; unknown parameters are ignored.'
      operationId: getPowderTripPackageImage
      tags:
      - Images
      security: []
      parameters:
      - name: id
        in: path
        required: true
        description: Powder Trip id
        schema:
          type: string
      responses:
        '200':
          description: PNG image
          content:
            image/png:
              schema:
                type: string
                contentMediaType: image/png
        '404':
          description: Unknown trip
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
          description: Error message
        details:
          type: string
          description: Additional error details
  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