Feeds

Mountain XML feed

GET /api/v1/feeds/mountains/{slug}.xml — Mountain XML feed.

GET /api/v1/feeds/mountains/{slug}.xml

Retrieve a mountain’s identity, available aggregate terrain counts, current report conditions and freshness as XML for syndication.

Authentication

No API key is required.

Parameters

Path parameters

ParameterTypeRequiredDefaultDescription
slugstringYes—Published mountain slug. Pattern ^[A-Za-z0-9_-]{1,160}$

No resource-specific query parameters.

Aggregate-only UTF-8 XML; no individual terrain statuses or history. Canonical website feeds: https://icecoast.us/feeds/mountains.xml and https://icecoast.us/mountains/{slug}/feed.xml. Unavailable values are omitted. Published mountains with slugs appear in the directory. Cache-Control: public, max-age=60, s-maxage=60. If-None-Match accepts ETag, weak ETag or wildcard and may return 304. Current source evidence is required for conditions; unknown roster statuses suppress open counts. Freshness: fresh, retained, stale or unavailable.

Example request

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

Response

The successful response has content type application/xml; charset=utf-8.

The following is a synthetic response excerpt illustrating the verified structure. Names, IDs, counts and dates are examples, not live resort data. Optional fields are omitted.

<?xml version="1.0" encoding="UTF-8"?>
<mountain_feed version="1"><id>00000000-0000-4000-8000-000000000001</id><name>Example Mountain</name><freshness><status>unavailable</status></freshness></mountain_feed>

Resource fields

ElementMeaning
mountain_feeds/feedDirectory identity and canonical feed URLs.
mountain_feedMountain identity, location, optional aggregate trails/lifts, conditions, freshness and attribution.
trails, liftsOptional total/open counts; unknown status can omit open.
conditionsOptional operational_status, surface_conditions, snow_conditions, snowfall and base_depth. Snow measurements carry unit="in" and snowfall carries period.
freshnessstatus, observed_at, accepted_at, timestamp_basis, metadata_updated_at and expected_interval_seconds when available.
attributionIcecoast name, URL, API link and usage terms.

Record fields may be missing or null. Treat identifiers as opaque and distinguish unavailable values from confirmed false/zero. See data semantics.

Errors

HTTP statusMeaning
400Invalid request parameters where validated.
404Mountain not found
503Feed temporarily unavailable.

Error bodies are XML; conditional 304 responses have no body.