Images

Resort rank share image

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.

get/api/og/resort/{slug}/rank

Request

  • Base URL: https://www.snowsure.ai
  • URL: https://www.snowsure.ai/api/og/resort/{slug}/rank
  • Auth: none required

Path parameters

slugstring required

Resort slug (URL-friendly identifier). Common-name aliases resolve to the canonical slug — e.g. "zermatt" → "matterhorn-ski-paradise".

Query parameters

format'og' | 'square' | 'story'

og 1200×630 · square 1080×1080 · story 1080×1920. Unrecognised values render og.

units'metric' | 'imperial'

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.

Response

PNG image

Changes

No recorded changes to this operation across all 1 revision of this API.