---
title: 'Mountains on a pass'
description: 'GET /api/v1/passes/{slug}/mountains — Mountains on a pass.'
---

`GET /api/v1/passes/{slug}/mountains`

Retrieve all resorts associated with a pass, including their active terrain. Use this unpaginated expansion for membership views.

## Authentication

An API key is required for external integrations. Send `X-API-Key: YOUR_API_KEY` or `Authorization: Bearer YOUR_API_KEY`. [Authentication](/docs/getting-started/authentication) explains public origin and secret IP restrictions.

## Parameters

### Path parameters

| Parameter | Type   | Required | Default | Description        |
| --------- | ------ | -------- | ------- | ------------------ |
| `slug`    | string | Yes      | —       | Pass slug or UUID. |

No resource-specific query parameters.

Returns all linked mountains and active trails/lifts in data, plus a top-level pass object. Not paginated; list-mountain filters do not apply. Resort rows come from expanded pass membership and differ from the standard mountain projection.

## Example request

::code-group

```bash [cURL]
curl -H "X-API-Key: $ICECOAST_API_KEY" 'https://api.icecoast.us/api/v1/passes/ikon-pass/mountains'
```

```js [JavaScript]
const response = await fetch('https://api.icecoast.us/api/v1/passes/ikon-pass/mountains', {
  headers: { 'X-API-Key': process.env.ICECOAST_API_KEY },
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
const result = await response.json();
console.log(result);
```

```python [Python]
import os
import requests

response = requests.get(
    'https://api.icecoast.us/api/v1/passes/ikon-pass/mountains',
    headers={'X-API-Key': os.environ['ICECOAST_API_KEY']},
    timeout=30,
)
response.raise_for_status()
print(response.json())
```

::

JavaScript above is a server-side Node.js example. Browser clients must use an origin-restricted public key; never bundle a secret key.

## Response

Success is HTTP 200 with `success: true`, `data` and `meta.version: "v1"`. `cached` reports a shared payload-cache hit, not the age of resort conditions. A top-level `pass` object accompanies the mountain array.

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.

```json
{
  "success": true,
  "data": [
    {
      "id": "00000000-0000-4000-8000-000000000001",
      "name": "Example Mountain",
      "slug": "example-mountain",
      "country": "United States",
      "state": "Vermont",
      "latitude": 44,
      "longitude": -72,
      "timezone": "America/New_York",
      "no_trails_reported": false,
      "no_lifts_reported": false,
      "brand_palette_dark": [],
      "brand_palette_dark_updated_at": null,
      "brand_palette": [],
      "brand_palette_updated_at": null,
      "links": {
        "website": "https://icecoast.us/mountain/example-mountain",
        "self": {
          "id": "/api/v1/mountains/id/00000000-0000-4000-8000-000000000001",
          "slug": "/api/v1/mountains/slug/example-mountain"
        },
        "mountain_trails": {
          "id": "/api/v1/trails?mountain=00000000-0000-4000-8000-000000000001",
          "slug": "/api/v1/trails?mountain=example-mountain"
        },
        "mountain_lifts": {
          "id": "/api/v1/lifts?mountain=00000000-0000-4000-8000-000000000001",
          "slug": "/api/v1/lifts?mountain=example-mountain"
        }
      }
    }
  ],
  "meta": {
    "version": "v1"
  },
  "cached": false,
  "pass": {
    "id": "00000000-0000-4000-8000-000000000001",
    "name": "Example Pass",
    "slug": "example-pass",
    "pass_type": null,
    "is_active": true
  }
}
```

### Resource fields

| Field                           | Type                   | Meaning                                                             |
| ------------------------------- | ---------------------- | ------------------------------------------------------------------- |
| `id`                            | string                 | Mountain UUID.                                                      |
| `name`                          | string                 | Mountain name.                                                      |
| `slug`                          | string                 | URL-friendly lookup identifier.                                     |
| `state`                         | string / null          | State/province name.                                                |
| `country`                       | string / null          | Country name.                                                       |
| `city`                          | string / null          | City/locality.                                                      |
| `region`                        | any                    | Stored region classification.                                       |
| `latitude`                      | number / string / null | Latitude in degrees; numeric database values can be strings.        |
| `longitude`                     | number / string / null | Longitude in degrees.                                               |
| `website`                       | string / null          | Official resort website.                                            |
| `elevation`                     | any                    | Stored elevation; no unit is guaranteed by this endpoint.           |
| `vertical`                      | any                    | Stored vertical; no unit is guaranteed by this endpoint.            |
| `timezone`                      | string / null          | Resort timezone when recorded.                                      |
| `published`                     | boolean                | See the data model and returned resource.                           |
| `no_trails_reported`            | boolean / null         | Reporting unavailable flag, not a closed status.                    |
| `no_lifts_reported`             | boolean / null         | Reporting unavailable flag, not a closed status.                    |
| `created_at`                    | string / null          | Metadata creation time.                                             |
| `updated_at`                    | string / null          | Metadata update time, not a conditions timestamp.                   |
| `media`                         | array                  | See the data model and returned resource.                           |
| `brand_palette`                 | array                  | See the data model and returned resource.                           |
| `brand_palette_dark`            | array                  | See the data model and returned resource.                           |
| `brand_palette_updated_at`      | string / null          | Palette timestamp.                                                  |
| `brand_palette_dark_updated_at` | string / null          | Dark palette timestamp.                                             |
| `brand_palette_override`        | any                    | See the data model and returned resource.                           |
| `brand_palette_source`          | string                 | automatic or manual.                                                |
| `total_trails_count`            | integer / string       | Active trail count, added to list/search; not guaranteed on detail. |
| `open_trails_count`             | integer / string       | Active trails with open=true on list/search.                        |
| `trails`                        | array                  | See the data model and returned resource.                           |
| `lifts`                         | array                  | See the data model and returned resource.                           |
| `passes`                        | array                  | See the data model and returned resource.                           |
| `links`                         | object                 | Resource URLs. See link compatibility note in response concepts.    |

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.                                |
| 401         | Missing, invalid, expired or revoked API key.                              |
| 403         | Origin/IP restriction or endpoint key-type restriction denied the request. |
| 404         | Pass not found                                                             |
| 429         | Monthly API allowance exhausted when a key is used.                        |
| 500         | The resource could not be read.                                            |
| 503         | API-key/quota verification unavailable.                                    |

JSON errors may use `error` or `message`; the global handler maps validation/runtime errors to `success: false`, `error` (name) and `message` (details). See [error handling](/docs/concepts/errors).

## Related resources

- [List passes](/docs/reference/passes/list)
- [Get pass by slug or UUID](/docs/reference/passes/detail)
- [Pass summary](/docs/reference/passes/summary)
- [Get pass (slug alias)](/docs/reference/passes/detail-alias)

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