Skip to Content
Public APIGet started

Get started with the Ullr API

The Ullr API lets your own software read a mountain’s live Ullr data: terrain park features, trails, lifts, the area itself, and the updates crews post through the day. This page covers how to get access, which kind of key to create, and how to make your first request.

Two kinds of people usually land here:

  • You work at a resort and you’re building an internal tool that needs data from Ullr.
  • You build software for resorts and you want it to work with your customers’ Ullr data.

The steps are the same for both. What differs is who creates the key.

How it works

  • Access is per mountain. Every key belongs to one mountain in Ullr and only reads that mountain’s data. To use the API you need a mountain that uses Ullr, and a key from it.
  • A key goes in a header. Send it as api-key on every request. There’s no OAuth flow and no Bearer prefix.
  • The Public API is read-only. It returns data your crews keep up to date in the Ullr apps. It doesn’t change anything.
  • Keys are created in the Ullr web app, under Integrations → API keys, by someone at the mountain who’s allowed to manage keys.

Getting access

If you work at the resort

You can create a key yourself if your role at the mountain includes the Can create API keys permission. Admins usually have it. If you don’t see Integrations in the Ullr web app’s sidebar, ask your Ullr administrator to create the key or to give you access.

If you build software for resorts

Contact Ullr before you start. Tell us what you’re building and which data you need, and we’ll talk through your use case and set you up with a test mountain: a mountain in Ullr with demo data that you can build against without touching any resort’s live data.

When you’re ready to go live at a resort, someone at that resort creates a key for you, following the steps below, and sends it to you securely. Ask them for a secret key that’s a service account. Each resort you work with gives you its own key.

Choose a key

Every key has two settings. You choose both when you create it, and neither can be changed later.

Where the key will run: secret or publishable

Secret keyPublishable key
Use it inCode on a server you control: a backend, a scheduled job, a scriptCode that runs in a browser, such as the embeds
Can readWhatever permissions you give itPublic, live data only
After you create itShown once. Copy it then.Stays visible on the API keys page

If you’re calling the API from your own code, you want a secret key. Never put a secret key in a web page, a mobile app or a public code repository. Anyone who has it can use it.

Who the key acts as: you, or the resort

Secret keys can also be made a service account. Only someone with the mountain’s Super admin role can create one.

Personal key (the default)Service account
Acts asThe person who created itThe resort. No person behind it.
Can doNever more than its creator can do right now. If their access shrinks, so does the key’s.Exactly the permissions it was given
If its creator leaves the mountainStops workingKeeps working
Best forTrying things out, and tools you run yourselfIntegrations that need to keep running, including any software from a vendor

A rule of thumb: if the integration should keep working after the person who set it up moves on, make it a service account.

Create a key

Open the API keys page

In the Ullr web app , open Integrations in the sidebar. Under Developer, choose API keys.

The Ullr web app sidebar with the Integrations section open and API keys highlighted

Copy your Area ID

The Area ID card at the top of the page identifies your mountain in API requests. Click Copy and keep it with your key. Every request needs both.

The top of the API keys page, with the Area ID card highlighted above the list of keys

Start a new key

Click New API key. The Create API key form opens.

The API keys page with the New API key button highlighted

Name it and choose Secret

Give the key a name that says what uses it, such as “Park dashboard”. Under the key type, choose Secret.

The New API key form with a name filled in and the Secret key type highlighted

Make it a service account, if it needs one

If the key is for an integration that should keep running no matter who’s on staff, open Advanced and tick Make this a service account. You’ll only see this option if you have the Super admin role. See Choose a key.

The Advanced section of the form open, with Make this a service account highlighted

Pick its permissions

Permissions are grouped by area of Ullr on the left. Tick only what your code needs. To list terrain park features, open Park management and tick Can view features.

The permission picker with Park management selected and Can view features ticked

Give the key the fewest permissions that do the job. A key is a password for your mountain’s data, and keys do leak: in a log, a screenshot, a shared file. A key that can only read park features does far less harm in the wrong hands than one that can read everything. You can add permissions later if you need more.

You can only give a key permissions that you have yourself. Rows you can’t grant are greyed out.

Create the key and copy it

Click Create key. Ullr shows the full key once. Copy it now and store it somewhere safe, such as your server’s environment variables or a password manager.

The API key created message, with the key itself hidden and the copy button highlighted

Ullr won’t show a secret key again. If you lose it, revoke it and create a new one. See Manage API keys.

Make your first request

With a key and an Area ID you can make a request. This one lists every terrain park feature at the mountain, with each feature’s park, status and photos:

export ULLR_API_KEY="paste-your-key-here" export ULLR_AREA_ID="paste-your-area-id-here" curl -H "api-key: $ULLR_API_KEY" \ "https://api.ullr.ski/public/v11/SNOW/areas/$ULLR_AREA_ID/features"

SNOW is the sport. Use BIKE for a mountain’s bike park data.

The response is a list of features. Here’s one, trimmed:

200 OK
[ { "id": "7c1e2a40-5b3d-11ec-9f2a-0242ac120002", "areaId": "your-area-id", "sport": "SNOW", "title": "Dance Floor", "status": 1, "size": "M", "terrainParkId": "9a4d6f10-64d3-11eb-a50b-0242ac120002", "terrainParkName": "Main Park", "trailIds": ["3f8b2c55-3758-4279-bc7d-0242ac120002"], "latitude": 36.17245, "longitude": -81.66269, "reportedTimestamp": 1777477932000, "mediaUrls": [ { "type": "photo", "urls": { "320": "https://i.ullr.ski/feature-photos/320/example.jpg", "640": "https://i.ullr.ski/feature-photos/640/example.jpg", "1080": "https://i.ullr.ski/feature-photos/1080/example.jpg", "original": "https://i.ullr.ski/feature-photos/example.jpg" } } ] } ]

A few fields to know:

  • id is the feature’s permanent ID. Store it with your own records so you can look the feature up again later.
  • title is the feature’s name, and terrainParkName is the park it’s in.
  • status is 1 for up and open, 2 for up and closed, -1 for removed and -2 for archived. To show only features that are on the hill, keep 1 and 2.
  • Timestamps are milliseconds since 1 January 1970 (UTC).

Every field is described in the Features reference.

Current features, or features at a moment in time

The request above returns features as they are right now. That’s what you want for anything that shows today’s parks and features.

Sometimes you need the past instead, such as a record written a few hours after the moment it describes, when today’s status may already be different. The history endpoint returns every feature as it was at a timestamp you choose:

# The features as they were at 2:05 pm EST on 14 January 2027 curl -H "api-key: $ULLR_API_KEY" \ "https://api.ullr.ski/public/v11/SNOW/areas/$ULLR_AREA_ID/features/history?timestamp=1799953500000"

The response has the same shape as the current list. It’s a snapshot, not a change log: to see two moments, make two requests.

The history endpoint needs its own permission, Can view feature history, also under Park management. Only add it if you need it: a mountain’s record over the season is more sensitive than today’s status board.

Trails and lifts work the same way, with their own /history endpoints and permissions.

If a request fails

StatusWhat it usually means
401The key is missing, mistyped, revoked, or its creator has left the mountain. Check the api-key header, and check the key on the API keys page.
403The key works but doesn’t have the permission this request needs. Edit the key and add it.
404The Area ID or sport is wrong, or the item doesn’t exist.

Read the full API docs

The rest of the API documentation is for people with an Ullr account. Sign in with the same account you use for the Ullr web app.

Once you’re signed in, you can also download the OpenAPI file. It describes every endpoint in a standard format you can load into Postman or a code generator.

No Ullr account? If you work at the resort, ask your Ullr administrator to invite you. If you build software for resorts, contact Ullr.

Last updated on