Core concepts
Response structure
Success envelopes, optional records, projections and legacy link behavior.

Most JSON endpoints return an object with success: true, data and meta.version. Collection data is an array; detail data is an object. Paginated lists add pagination metadata. Pass mountain reads also return a top-level pass object.
Mountain/trail/lift catalog reads and cached pass reads may return cached. This describes Icecoast's shared response-payload cache, not the freshness of resort conditions. Search/media and legacy summaries do not use the same envelope fields. Do not require cached everywhere.
Geographic endpoints return a GeoJSON FeatureCollection directly, with no success or data wrapper. Global metadata may add a meta member. XML feeds return UTF-8 XML, not JSON. Always check HTTP status and content type before decoding.
Reference examples are explicitly synthetic excerpts. Optional fields are omitted and counts do not describe live conditions. Record projections differ: standard mountain detail, pass-expanded mountains, standalone terrain and included terrain do not promise identical fields.
Links
Standard standalone mountain/trail/lift links generally point to versioned API paths. Older included trail/lift links can use /api/... without /v1; mountain links.website can use the legacy singular /mountain/ path. Do not treat these legacy link forms as new public endpoints. Construct API requests from the documented /api/v1 routes; public resort pages use /mountains/{slug}.
Tolerant clients
Treat IDs as opaque. Keep null and missing values distinct from false/zero, ignore additional fields you do not use, and do not assume every mountain reports the same relations. See data model and errors.
