---
title: 'Mountain XML feed directory'
description: 'GET /api/v1/feeds/mountains.xml — Mountain XML feed directory.'
---

`GET /api/v1/feeds/mountains.xml`

Discover canonical aggregate XML feed URLs for available published mountains.

## Authentication

No API key is required.

## Parameters

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.xml'
```

```js [JavaScript]
const response = await fetch('https://api.icecoast.us/api/v1/feeds/mountains.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.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_feeds version="1"><feed><id>00000000-0000-4000-8000-000000000001</id><name>Example Mountain</name><url>https://icecoast.us/mountains/example-mountain/feed.xml</url></feed></mountain_feeds>
```

### 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. |
| 503         | Feed temporarily unavailable.               |

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

## Related resources

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

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