# Vail — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Access live snow conditions, weather forecasts, and real-time terrain status for Vail and other Vail Resorts properties. Retrieve current snow reports, upcoming weather, and run and lift statuses across supported resorts.

**Category:** Weather | **Website:** [vail.com/](https://vail.com/) | **Docs:** [parse.bot/marketplace/59c1b4de-8550-4ed1-933e-69c46cc57803/vail-com-api](https://parse.bot/marketplace/59c1b4de-8550-4ed1-933e-69c46cc57803/vail-com-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-vail-com-api-59c1b4de/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_snow_report

Retrieve detailed snow conditions including snow depth at summit/mid/base, recent snowfall (overnight, 24h, 48h, 7d), season total, and current snow quality for a given resort.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `resort` | string | No | Resort slug identifying which resort to query. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-vail-com-api-59c1b4de/get_snow_report \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"resort":"<string>"}'
```

### get_terrain_status

Retrieve current ski run (trail) and lift statuses, including which are open, closed, or scheduled, along with trail difficulty and grooming status. During off-season, the upstream data source may return empty results.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `resort` | string | No | Resort slug identifying which resort to query. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-vail-com-api-59c1b4de/get_terrain_status \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"resort":"<string>"}'
```

### get_weather_forecast

Retrieve current weather information including temperature, high/low forecasts, conditions, and wind data for a given resort. Temperature values are in Fahrenheit.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `resort` | string | No | Resort slug identifying which resort to query. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-vail-com-api-59c1b4de/get_weather_forecast \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"resort":"<string>"}'
```
