# Resorts

The /resorts GET endpoint returns all resorts available and active within MountainNews. It is recommended to use this endpoint to identify resort ids you would like to pull snow report information for. We recommend caching the results to this endpoint.

You can filter to a specific set of resorts based on the following optional filters

* `state` - Filter to resorts based on a state name filter (e.g. `?state=Colorado`)
* `country` - Filter to resorts based on a country name filter (e.g. `?country=France`)
* `continent` - Filter to resorts based on a continent name filter (e.g. `?continent=Europe`)

## GET /resorts

>

```json
{"openapi":"3.0.1","info":{"title":"partner-api","version":"1.0"},"servers":[{"url":"https://partner-api.onthesnow.com"}],"security":[{"api_key":[]}],"components":{"securitySchemes":{"api_key":{"type":"apiKey","name":"x-api-key","in":"header"}},"schemas":{"PartnerResortItems":{"type":"array","description":"Collection of partner resorts","items":{"type":"object","properties":{"continent":{"type":"string","description":"Resort Continent"},"country":{"type":"string","description":"Resort country"},"regionId":{"type":"number","description":"Unique identifier of the region"},"name":{"type":"string","description":"Name of the resort"},"id":{"type":"number","description":"Unique identifier of the resort"},"state":{"type":"string","description":"Resort State"}}}}}},"paths":{"/resorts":{"get":{"operationId":"listResorts","parameters":[{"name":"state","in":"query","schema":{"type":"string"}},{"name":"continent","in":"query","schema":{"type":"string"}},{"name":"resortName","in":"query","schema":{"type":"string"}},{"name":"country","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"200 response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerResortItems"}}}}}}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://partner.docs.onthesnow.com/api-reference/resorts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
