---
title: 'List passes'
description: 'GET /api/v1/passes — List passes.'
---

`GET /api/v1/passes`

Browse and filter the pass catalog. Optional list expansion adds mountain membership records.

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

### Query parameters

| Parameter          | Type    | Required | Default | Description                                                                                                                               |
| ------------------ | ------- | -------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
| `q`                | string  | No       | —       | Case-insensitive name, slug or description substring.                                                                                     |
| `country`          | string  | No       | —       | Country name/code of an associated mountain.                                                                                              |
| `pass_type`        | string  | No       | —       | Exact stored category.                                                                                                                    |
| `is_active`        | boolean | No       | —       | Match the active flag.                                                                                                                    |
| `limit`            | integer | No       | `20`    | Maximum records; send a positive integer.                                                                                                 |
| `offset`           | integer | No       | `0`     | Records to skip; send a nonnegative integer.                                                                                              |
| `sortBy`           | string  | No       | `name`  | Sort column. Unsupported columns fall back to the default. Accepted: `name`, `slug`, `pass_type`, `is_active`, `created_at`, `updated_at` |
| `sortDirection`    | string  | No       | `asc`   | Sort direction. Accepted: `asc`, `desc`                                                                                                   |
| `includeMountains` | boolean | No       | `false` | Include membership rows with mountain_name and mountain_slug.                                                                             |

Pass routes have no query validation schema. Send lowercase true/false and positive pagination. No fixed pass_type enum is enforced. List includes return membership rows, unlike the expanded resorts in pass detail.

## Example request

::code-group

```bash [cURL]
curl -H "X-API-Key: $ICECOAST_API_KEY" 'https://api.icecoast.us/api/v1/passes?limit=2'
```

```js [JavaScript]
const response = await fetch('https://api.icecoast.us/api/v1/passes?limit=2', {
  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?limit=2',
    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. See [pagination](/docs/concepts/pagination) for `meta` fields and next/previous links.

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 Pass",
      "slug": "example-pass",
      "pass_type": null,
      "is_active": true
    }
  ],
  "meta": {
    "version": "v1",
    "total": 1,
    "limit": 20,
    "offset": 0,
    "count": 1,
    "hasMore": false,
    "links": {
      "next": null,
      "prev": null
    }
  },
  "cached": false
}
```

### Resource fields

| Field            | Type           | Meaning                                   |
| ---------------- | -------------- | ----------------------------------------- |
| `id`             | string         | Pass UUID.                                |
| `name`           | string         | Name.                                     |
| `slug`           | string         | Slug.                                     |
| `pass_type`      | string / null  | Stored category, not a fixed enum.        |
| `description`    | string / null  | Description.                              |
| `website`        | string / null  | Website.                                  |
| `logo_url`       | string / null  | Logo.                                     |
| `is_active`      | boolean / null | Catalog active flag.                      |
| `pass_tiers`     | array          | Always included on detail.                |
| `pass_mountains` | array          | Detail with includes.                     |
| `mountains`      | array          | See the data model and returned resource. |

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. |
| 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

- [Get pass by slug or UUID](/docs/reference/passes/detail)
- [Mountains on a pass](/docs/reference/passes/mountains)
- [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}
