Lifts

Get a lift

GET /api/v1/lifts/id/{id} — Get a lift.

GET /api/v1/lifts/id/{id}

Retrieve a single lift by its canonical entity ID. Use an identifier returned by a terrain collection, rather than a mountain UUID or guessed name.

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

Path parameters

ParameterTypeRequiredDefaultDescription
idstringYes—Canonical entity ID from a prior response; not a mountain UUID.

No resource-specific query parameters.

Detail reads do not apply the list active-inventory filter. Known retired records may remain retrievable. Treat identifiers as opaque.

Example request

curl -H "X-API-Key: $ICECOAST_API_KEY" 'https://api.icecoast.us/api/v1/lifts/id/123'

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.

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": 456,
    "mountain": "00000000-0000-4000-8000-000000000001",
    "name": "Example Chair",
    "open": false,
    "operating_status": "delayed",
    "type": "chair",
    "links": {
      "self": "/api/v1/lifts/id/456"
    }
  },
  "meta": {
    "version": "v1"
  },
  "cached": false
}

Resource fields

FieldTypeMeaning
idinteger / stringOpaque canonical lift ID.
mountainstringMountain UUID.
namestringLift name.
openboolean / nullLegacy operating flag; unknown differs from false.
operating_statusstring / nullDetailed status when available.
typestring / nullSource lift type; not a fixed enum.
zonestring / nullSource grouping.
areastring / nullSource grouping.
open_timestring / nullReported opening time; interpret with resort timezone.
close_timestring / nullReported closing time.
last_observed_atstring / nullObservation time when present.
created_atstring / nullRecord creation time.
mountain_namestringParent name.
linksobjectRelated resources.

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.
404Lift not found
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.