Reports

Current alpine overview

GET /api/v1/reports/overview — Current alpine overview.

GET /api/v1/reports/overview

Retrieve a freshness-qualified US/Canada alpine reporting overview, with geographic summaries, difficulty groups and resort rankings.

Authentication

No API key is required.

Parameters

Query parameters

ParameterTypeRequiredDefaultDescription
countrystringNo—Supported reporting country. Accepted: US, CA
statestringNo—Case-insensitive state name/code. Max length 100
rank_limitintegerNo5Entries per ranking. Min 1; Max 20
min_trailsintegerNo20Minimum trails for availability ranking. Min 1; Max 500

Reporting scope is US/Canada alpine resorts, not the global catalog. data.totals is global and not narrowed by country/state; data.tracked/summary follow the selected overview scope. Only complete known active rosters with accepted, fresh, healthy reporting contribute operational totals. meta.scope and meta.policy explain policy. Cache lasts at most 60 seconds, reduced at freshness expiry. Unknown/unclassified resorts are not counted as closed.

Example request

curl 'https://api.icecoast.us/api/v1/reports/overview?country=US&rank_limit=5'

Response

Success is HTTP 200 with success: true, data and meta.version: "v1".

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": {
    "summary": {
      "mountains": {
        "total": 0,
        "alpine_classified": 0,
        "unclassified": 0,
        "reporting": 0,
        "open": 0,
        "closed": 0,
        "unknown": 0
      },
      "trails": {
        "total": 0,
        "open": 0,
        "closed": 0,
        "unknown": 0,
        "availability_percent": null
      },
      "lifts": {
        "total": 0,
        "open": 0,
        "closed": 0,
        "unknown": 0,
        "availability_percent": null
      }
    },
    "tracked": {
      "mountains": 0,
      "trails": 0,
      "lifts": 0
    },
    "recent_updates": [],
    "difficulty": [
      {
        "key": "beginner",
        "label": "Beginner",
        "ratings": ["green"],
        "total": 0,
        "open": 0,
        "availability_percent": null
      },
      {
        "key": "intermediate",
        "label": "Intermediate",
        "ratings": ["blue", "double blue"],
        "total": 0,
        "open": 0,
        "availability_percent": null
      },
      {
        "key": "advanced",
        "label": "Advanced",
        "ratings": ["black"],
        "total": 0,
        "open": 0,
        "availability_percent": null
      },
      {
        "key": "expert",
        "label": "Expert",
        "ratings": ["double black", "triple black"],
        "total": 0,
        "open": 0,
        "availability_percent": null
      },
      {
        "key": "terrain_park",
        "label": "Terrain park",
        "ratings": ["terrain park"],
        "total": 0,
        "open": 0,
        "availability_percent": null
      },
      {
        "key": "unknown",
        "label": "Unclassified",
        "ratings": [],
        "total": 0,
        "open": 0,
        "availability_percent": null
      }
    ],
    "rankings": {
      "open_trails": [],
      "trail_availability": [],
      "open_lifts": [],
      "beginner_terrain": [],
      "expert_terrain": []
    },
    "geography": [],
    "totals": {
      "mountains": 0,
      "trails": 0,
      "lifts": 0
    }
  },
  "meta": {
    "version": "v1"
  }
}

Resource fields

FieldTypeMeaning
summaryobjectSee overview field guide.
trackedobjectSee overview field guide.
rankingsobjectSee overview field guide.
totalsobjectSee overview field guide.
difficultyarraySee the data model and returned resource.
geographyarraySee the data model and returned resource.
recent_updatesarraySee the data model and returned resource.

See overview semantics for the definitions of each aggregate section.

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.
500The resource could not be read.

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.