Mountains

List mountains

GET /api/v1/mountains — List mountains.

GET /api/v1/mountains

Browse the mountain catalog with geographic, membership and availability filters. Use this paginated collection for resort directories and identifier discovery.

Authentication

An API key is required for external integrations. Send X-API-Key: YOUR_API_KEY or Authorization: Bearer YOUR_API_KEY. Authentication explains public origin and secret IP restrictions.

Parameters

Query parameters

ParameterTypeRequiredDefaultDescription
qstringNo—Search term for name, location, city, state, or region
statestringNo—Filter by state/province name or code (e.g., Vermont, VT, Ontario, ON)
state_or_provincestringNo—Alias for state filter; supports full name or code
provincestringNo—Alias for state filter; supports full name or code
stateCodestringNo—Filter by state/province code (e.g., VT, ON)
state_codestringNo—Alias for stateCode
state_or_province_codestringNo—Alias for stateCode
countrystringNo—Filter by country name or code (e.g., United States, US, Canada, CA)
countryCodestringNo—Filter by country code (e.g., US, CA)
country_codestringNo—Alias for countryCode
continentstringNo—Filter by continent name (e.g., North America, Europe)
regionstringNo—Filter by region
passstringNo—Filter by text matching a pass name
pass_slugstringNo—Filter strictly by pass slug
statusstringNo—Filter by operational status
accessstringNo—Filter by access type (e.g., IKON, EPIC)
nightbooleanNo—Show mountains with night skiing
t_parksbooleanNo—Show mountains with terrain parks
publishedbooleanNo—Show only published mountains
sortBystringNonameField to sort by (e.g., name, elevation)
sortDirectionstringNoascAccepted: asc, desc
limitintegerNo20Pagination limit
offsetintegerNo0Pagination offset
includeTrailsboolean / stringNofalseInclude trails data. Can be true, false, or a comma-separated filter list (e.g., "open,green")
includeLiftsboolean / stringNofalseInclude lifts data. Can be true, false, or a comma-separated filter list (e.g., "open,gondola")
includePassesbooleanNofalseInclude passes data in response
skipCachebooleanNofalseBypass Redis cache
idsstringNo—Comma-separated list of UUIDs to fetch
fieldsstringNo—Comma-separated specific fields to fetch

Filters combine. Use countryCode and stateCode to avoid ambiguous names. This list does not default to published=true: specify it for public directories. region is exact; pass is a text match; pass_slug uses membership. ids is comma-separated. sortBy is a database column, not a validated enum: use name, created_at, updated_at, elevation or vertical. Invalid columns may return 500. fields selects recorded columns; id and slug remain. List/search add active total_trails_count and open_trails_count; detail does not guarantee those counts.

Example request

curl -H "X-API-Key: $ICECOAST_API_KEY" 'https://api.icecoast.us/api/v1/mountains?countryCode=US&published=true&limit=2'

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

{
  "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",
    "total": 1,
    "limit": 20,
    "offset": 0,
    "count": 1,
    "hasMore": false,
    "links": {
      "next": null,
      "prev": null
    }
  },
  "cached": false
}

Resource fields

FieldTypeMeaning
idstringMountain UUID.
namestringMountain name.
slugstringURL-friendly lookup identifier.
statestring / nullState/province name.
countrystring / nullCountry name.
citystring / nullCity/locality.
regionanyStored region classification.
latitudenumber / string / nullLatitude in degrees; numeric database values can be strings.
longitudenumber / string / nullLongitude in degrees.
websitestring / nullOfficial resort website.
elevationanyStored elevation; no unit is guaranteed by this endpoint.
verticalanyStored vertical; no unit is guaranteed by this endpoint.
timezonestring / nullResort timezone when recorded.
publishedbooleanSee the data model and returned resource.
no_trails_reportedboolean / nullReporting unavailable flag, not a closed status.
no_lifts_reportedboolean / nullReporting unavailable flag, not a closed status.
created_atstring / nullMetadata creation time.
updated_atstring / nullMetadata update time, not a conditions timestamp.
mediaarraySee the data model and returned resource.
brand_palettearraySee the data model and returned resource.
brand_palette_darkarraySee the data model and returned resource.
brand_palette_updated_atstring / nullPalette timestamp.
brand_palette_dark_updated_atstring / nullDark palette timestamp.
brand_palette_overrideanySee the data model and returned resource.
brand_palette_sourcestringautomatic or manual.
total_trails_countinteger / stringActive trail count, added to list/search; not guaranteed on detail.
open_trails_countinteger / stringActive trails with open=true on list/search.
trailsarraySee the data model and returned resource.
liftsarraySee the data model and returned resource.
passesarraySee the data model and returned resource.
linksobjectResource 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.

Errors

HTTP statusMeaning
400Invalid request parameters where validated.
401Missing, invalid, expired or revoked API key.
403Origin/IP restriction or endpoint key-type restriction denied the request.
429Monthly API allowance exhausted when a key is used.
500The resource could not be read.
503API-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.