Getting started

Quickstart

Create a key, find a resort and retrieve your first mountain response.

Create credentials

Sign in and open API credentials. Create credentials and save the secret key in a server environment variable named ICECOAST_API_KEY. Do not put a secret key in a client bundle or public repository.

The examples below use cURL and a server-side secret key. Python examples in the reference use the requests package. JavaScript examples use Node.js with built-in fetch.

Find a mountain

curl -H "X-API-Key: $ICECOAST_API_KEY" \
  'https://api.icecoast.us/api/v1/mountains/search?q=Killington&limit=5'

Check the HTTP status, then inspect the data array. Copy a returned slug or mountain UUID; do not derive IDs from resort names.

Retrieve details

curl -H "X-API-Key: $ICECOAST_API_KEY" \
  'https://api.icecoast.us/api/v1/mountains/slug/killington?includeTrails=true&includeLifts=true'

A successful detail response has success: true, a mountain in data, optional included relations, cached and meta.version. A missing mountain returns 404. Actual fields and reporting availability vary by resort.

Inspect status and freshness

curl 'https://api.icecoast.us/api/v1/status/mountains/killington'

This anonymous endpoint describes data verification. A healthy source does not mean the resort is open. Keep trail/lift unknowns separate from closed and show the available verification timestamp.

Continue

Use the playground for interactive requests. Read response structure, pagination and the conditions dashboard guide before displaying operational counts.