---
title: 'Mountain XML feed'
description: '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

| Parameter | Type   | Required | Default | Description                                               |
| --------- | ------ | -------- | ------- | --------------------------------------------------------- |
| `slug`    | string | Yes      | —       | 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

::code-group

```bash [cURL]
curl 'https://api.icecoast.us/api/v1/feeds/mountains/killington.xml'
```

```js [JavaScript]
const response = await fetch('https://api.icecoast.us/api/v1/feeds/mountains/killington.xml');
if (!response.ok) throw new Error(`HTTP ${response.status}`);
const result = await response.text();
console.log(result);
```

```python [Python]
import os
import requests

response = requests.get(
    'https://api.icecoast.us/api/v1/feeds/mountains/killington.xml',
    timeout=30,
)
response.raise_for_status()
print(response.text)
```

::

## 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
<?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

| Element               | Meaning                                                                                                                                                   |
| --------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `mountain_feeds/feed` | Directory identity and canonical feed URLs.                                                                                                               |
| `mountain_feed`       | Mountain identity, location, optional aggregate trails/lifts, conditions, freshness and attribution.                                                      |
| `trails`, `lifts`     | Optional total/open counts; unknown status can omit open.                                                                                                 |
| `conditions`          | Optional operational_status, surface_conditions, snow_conditions, snowfall and base_depth. Snow measurements carry unit="in" and snowfall carries period. |
| `freshness`           | status, observed_at, accepted_at, timestamp_basis, metadata_updated_at and expected_interval_seconds when available.                                      |
| `attribution`         | Icecoast 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](/docs/concepts/data-model).

## Errors

| HTTP status | Meaning                                     |
| ----------- | ------------------------------------------- |
| 400         | Invalid request parameters where validated. |
| 404         | Mountain not found                          |
| 503         | Feed temporarily unavailable.               |

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

## Related resources

- [Mountain XML feed directory](/docs/reference/feeds/directory)

- [Data freshness](/docs/concepts/freshness)
- [OpenAPI specification](/openapi.json){external}
