Ski Manager API

A small JSON API, mainly used by the Ski Manager mobile apps. Everything is under https://ski-manager.net, responses are JSON, and cross-origin requests are allowed.

Machine-readable description: /openapi.json (OpenAPI 3.1). API catalog for automated discovery: /.well-known/api-catalog (RFC 9727).

Endpoints

GET/api/resort-data

Trail map segments and sectors, the current season and weather. With a ski-manager.net session cookie it also returns your finances, lifts, slopes and buildings; without one, finances are a demo baseline and the player lists are empty.

GET/api/leaderboard

The top 50 resorts, ranked by cash plus lifetime income.

POST/api/auth

Demo sign-in used by the mobile apps. Returns a random token. It does not check credentials, and no other endpoint needs the token.

POST/api/sync

Acknowledges a sync from the mobile apps and echoes back the cash you send. Nothing is saved.

GET/health

Database and storage checks. Returns 200 when healthy and 503 when something is down.

Example

curl https://ski-manager.net/api/leaderboard

Limits

There are no API keys. Please keep it to a request every few seconds; the game itself only updates once a day, when the nightly tick runs. If you build something with it, tell us.