{"openapi":"3.1.0","info":{"title":"Skiboard","version":"1.0.0","summary":"Where to ski in Switzerland this weekend: rankings, conditions, openings and day-pass prices.","description":"Read-only answers from skiboard.ch for the coming Saturday and Sunday. Every value says what it is (measured, forecast, read on the operator's page, timetable or estimate) and from when, and every area links to its Skiboard page. No key needed; 120 requests a minute per address. The same answers are an MCP server at https://skiboard.ch/api/mcp.","contact":{"name":"Skiboard","email":"hello@skiboard.ch","url":"https://skiboard.ch"}},"externalDocs":{"description":"Use Skiboard in ChatGPT and Claude","url":"https://skiboard.ch/guides/use-skiboard-in-chatgpt-and-claude"},"servers":[{"url":"https://skiboard.ch/api"}],"paths":{"/v1/ranking":{"get":{"operationId":"rankSkiAreas","summary":"Rank Swiss ski areas for this Saturday or Sunday","description":"Ranks Swiss ski areas from a start point by train or car on measured snow, the forecast, travel time, day-pass price and a crowd estimate. Before the season: by travel time, saying why. Each area has its skiboard.ch link.","parameters":[{"name":"from","in":"query","required":true,"description":"Where the trip starts: one of Skiboard's Swiss start points, by id (zurich = Zürich, winterthur = Winterthur, basel = Basel, bern = Bern, lucerne = Luzern, zug = Zug, …). Pick the nearest one to where the skier lives.","schema":{"type":"string","enum":["zurich","winterthur","basel","bern","lucerne","zug","st-gallen","chur","lausanne","geneva","zurich-airport","geneva-airport","lugano","biel-bienne","bellinzona","neuchatel","thun","fribourg","schaffhausen","la-chaux-de-fonds","sion","uster","yverdon-les-bains","rapperswil-jona","wetzikon","bulle","frauenfeld","montreux","wadenswil","wil","horgen","bulach","baden","nyon","kreuzlingen","aarau","martigny","vevey","solothurn","schwyz","herisau","liestal","delemont","glarus","sarnen","altdorf","stans","appenzell","olten","locarno","brig","interlaken"]}},{"name":"day","in":"query","required":false,"description":"The coming Saturday or Sunday (Swiss time). Skiboard has data for the next weekend only.","schema":{"default":"saturday","type":"string","enum":["saturday","sunday"]}},{"name":"transport","in":"query","required":false,"description":"Travel by train (public timetable) or by car (estimated times).","schema":{"default":"car","type":"string","enum":["train","car"]}},{"name":"style","in":"query","required":false,"description":"What matters most: overall (balanced), closest, snow (best snow), quiet (fewest people, estimated), value (day pass against what areas this size charge).","schema":{"default":"overall","type":"string","enum":["overall","closest","snow","quiet","value"]}},{"name":"preferences","in":"query","required":false,"description":"Terrain the skier wants: family-friendly, steep slopes, freeride, a large area. Empty for none.","schema":{"default":[],"maxItems":4,"type":"array","items":{"type":"string","enum":["family","steep","freeride","large"]}},"style":"form","explode":false},{"name":"pass","in":"query","required":false,"description":"A season pass the skier holds: only its areas are ranked and the day pass is left out (magic-pass = Magic Pass, alps-pass = AlpsPass, ikon-pass = Ikon Pass, epic-pass = Epic Pass).","schema":{"type":"string","enum":["magic-pass","alps-pass","ikon-pass","epic-pass"]}},{"name":"maxTravelMinutes","in":"query","required":false,"description":"Longest acceptable one-way trip, in minutes.","schema":{"default":240,"type":"integer","minimum":15,"maximum":600}},{"name":"maxPriceChf","in":"query","required":false,"description":"Highest adult day-pass price, in Swiss francs.","schema":{"type":"number","minimum":0,"maximum":1000}},{"name":"limit","in":"query","required":false,"description":"How many areas to return.","schema":{"default":10,"type":"integer","minimum":1,"maximum":25}},{"name":"language","in":"query","required":false,"description":"The language of the skiboard.ch pages the answer links to. The answer's own text is English.","schema":{"default":"en","type":"string","enum":["en","de","fr","it"]}}],"responses":{"200":{"description":"The answer","content":{"application/json":{"schema":{"type":"object","properties":{"date":{"type":"string","format":"date"},"order":{"enum":["score","travel"],"description":"score: ranked; travel: too little measured snow (before the season), listed by travel time."},"orderNote":{"type":"string"},"url":{"type":"string","format":"uri"},"areas":{"type":"array","items":{"type":"object","properties":{"position":{"type":"integer"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"score":{"type":["integer","null"],"description":"0–100; null in travel order."},"travel":{"$ref":"#/components/schemas/Travel"},"snow":{"$ref":"#/components/schemas/Snow"},"weather":{"$ref":"#/components/schemas/Weather"},"dayPass":{"$ref":"#/components/schemas/DayPass"},"crowd":{"$ref":"#/components/schemas/Crowd"},"reasons":{"type":"array","items":{"type":"string"}}}}},"dataRules":{"type":"array","items":{"type":"string"}}}}}}},"400":{"description":"A parameter was missing or wrong, or no area matched: the message says what to change","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests from one address: try again after the Retry-After seconds","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/area":{"get":{"operationId":"getSkiArea","summary":"One Swiss ski area's facts and this weekend's conditions","description":"Mapped pistes, lifts, elevations, the operator's season dates, season passes, and for this weekend the measured snow, forecast, day pass and crowd estimate, with travel times. Several matches: a list to choose from.","parameters":[{"name":"area","in":"query","required":true,"description":"A Swiss ski area by name, village or Skiboard slug, e.g. \"Zermatt\", \"Saas-Fee\", \"Flumserberg\", \"arosa-lenzerheide\".","schema":{"type":"string","minLength":2,"maxLength":80}},{"name":"from","in":"query","required":false,"description":"Optional start point id for travel times; without it, the nearest start points.","schema":{"type":"string","enum":["zurich","winterthur","basel","bern","lucerne","zug","st-gallen","chur","lausanne","geneva","zurich-airport","geneva-airport","lugano","biel-bienne","bellinzona","neuchatel","thun","fribourg","schaffhausen","la-chaux-de-fonds","sion","uster","yverdon-les-bains","rapperswil-jona","wetzikon","bulle","frauenfeld","montreux","wadenswil","wil","horgen","bulach","baden","nyon","kreuzlingen","aarau","martigny","vevey","solothurn","schwyz","herisau","liestal","delemont","glarus","sarnen","altdorf","stans","appenzell","olten","locarno","brig","interlaken"]}},{"name":"transport","in":"query","required":false,"description":"Travel by train (public timetable) or by car (estimated times).","schema":{"type":"string","enum":["train","car"]}},{"name":"language","in":"query","required":false,"description":"The language of the skiboard.ch pages the answer links to. The answer's own text is English.","schema":{"default":"en","type":"string","enum":["en","de","fr","it"]}}],"responses":{"200":{"description":"The answer","content":{"application/json":{"schema":{"type":"object","description":"kind \"area\": the area; kind \"choose\": several areas matched, ask again with one of the candidates' slugs.","properties":{"kind":{"enum":["area","choose"]},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"facts":{"type":"object"},"season":{"type":["object","null"]},"liftStatus":{"type":["object","null"]},"days":{"type":"array","items":{"type":"object"}},"travel":{"type":"array","items":{"type":"object"}},"candidates":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"slug":{"type":"string"}}}}}}}}},"400":{"description":"A parameter was missing or wrong, or no area matched: the message says what to change","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests from one address: try again after the Retry-After seconds","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/open-this-weekend":{"get":{"operationId":"openThisWeekend","summary":"Swiss ski areas open this weekend","description":"Which Swiss ski areas plan to run lifts this Saturday and Sunday, by their operators' published season dates (source page and day read), with measured snow. No dated plan: not confirmed, never open.","parameters":[{"name":"from","in":"query","required":false,"description":"Optional start point id, to add travel times and order open areas by them.","schema":{"type":"string","enum":["zurich","winterthur","basel","bern","lucerne","zug","st-gallen","chur","lausanne","geneva","zurich-airport","geneva-airport","lugano","biel-bienne","bellinzona","neuchatel","thun","fribourg","schaffhausen","la-chaux-de-fonds","sion","uster","yverdon-les-bains","rapperswil-jona","wetzikon","bulle","frauenfeld","montreux","wadenswil","wil","horgen","bulach","baden","nyon","kreuzlingen","aarau","martigny","vevey","solothurn","schwyz","herisau","liestal","delemont","glarus","sarnen","altdorf","stans","appenzell","olten","locarno","brig","interlaken"]}},{"name":"transport","in":"query","required":false,"description":"Travel by train (public timetable) or by car (estimated times).","schema":{"default":"train","type":"string","enum":["train","car"]}},{"name":"include","in":"query","required":false,"description":"open: only areas whose operator plans to run lifts; all: also not confirmed, not yet open and finished.","schema":{"default":"open","type":"string","enum":["open","all"]}},{"name":"language","in":"query","required":false,"description":"The language of the skiboard.ch pages the answer links to. The answer's own text is English.","schema":{"default":"en","type":"string","enum":["en","de","fr","it"]}}],"responses":{"200":{"description":"The answer","content":{"application/json":{"schema":{"type":"object","properties":{"weekend":{"type":"object","properties":{"saturday":{"type":"string","format":"date"},"sunday":{"type":"string","format":"date"}}},"counts":{"type":"object"},"areas":{"type":"array","items":{"type":"object"}},"url":{"type":"string","format":"uri"},"note":{"type":"string"}}}}}},"400":{"description":"A parameter was missing or wrong, or no area matched: the message says what to change","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests from one address: try again after the Retry-After seconds","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/day-pass-prices":{"get":{"operationId":"dayPassPricesThisWeekend","summary":"Adult day-pass prices this weekend, cheapest first","description":"Every Swiss ski area's adult day pass for this Saturday or Sunday as read that morning on the operator's shop or tariff page, cheapest first, with the shop link, measured snow and optional travel times.","parameters":[{"name":"day","in":"query","required":false,"description":"The day whose prices to list, or both.","schema":{"default":"both","type":"string","enum":["saturday","sunday","both"]}},{"name":"maxPriceChf","in":"query","required":false,"description":"Highest adult day-pass price, in Swiss francs.","schema":{"type":"number","minimum":0,"maximum":1000}},{"name":"from","in":"query","required":false,"description":"Optional start point id, to add travel times.","schema":{"type":"string","enum":["zurich","winterthur","basel","bern","lucerne","zug","st-gallen","chur","lausanne","geneva","zurich-airport","geneva-airport","lugano","biel-bienne","bellinzona","neuchatel","thun","fribourg","schaffhausen","la-chaux-de-fonds","sion","uster","yverdon-les-bains","rapperswil-jona","wetzikon","bulle","frauenfeld","montreux","wadenswil","wil","horgen","bulach","baden","nyon","kreuzlingen","aarau","martigny","vevey","solothurn","schwyz","herisau","liestal","delemont","glarus","sarnen","altdorf","stans","appenzell","olten","locarno","brig","interlaken"]}},{"name":"transport","in":"query","required":false,"description":"Travel by train (public timetable) or by car (estimated times).","schema":{"default":"train","type":"string","enum":["train","car"]}},{"name":"maxTravelMinutes","in":"query","required":false,"description":"Longest acceptable one-way trip, in minutes; needs \"from\".","schema":{"type":"integer","minimum":15,"maximum":600}},{"name":"limit","in":"query","required":false,"description":"How many areas to return, cheapest first.","schema":{"default":20,"type":"integer","minimum":1,"maximum":60}},{"name":"language","in":"query","required":false,"description":"The language of the skiboard.ch pages the answer links to. The answer's own text is English.","schema":{"default":"en","type":"string","enum":["en","de","fr","it"]}}],"responses":{"200":{"description":"The answer","content":{"application/json":{"schema":{"type":"object","properties":{"weekend":{"type":"object"},"pricedCount":{"type":"integer"},"notOnSaleCount":{"type":"integer"},"areas":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string","format":"uri"},"saturday":{"$ref":"#/components/schemas/DayPass"},"sunday":{"$ref":"#/components/schemas/DayPass"},"cheapestChf":{"type":"number"}}}},"url":{"type":"string","format":"uri"},"note":{"type":"string"}}}}}},"400":{"description":"A parameter was missing or wrong, or no area matched: the message says what to change","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests from one address: try again after the Retry-After seconds","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"schemas":{"Travel":{"type":"object","description":"A travel time and what it is: from the timetable (a reference Saturday in January), a road route without traffic (car), or an estimate where neither was read.","properties":{"kind":{"enum":["timetable","road route","estimate"]},"mode":{"enum":["train","car"]},"minutes":{"type":"integer"},"text":{"type":"string"},"source":{"type":"string"}}},"Snow":{"type":["object","null"],"description":"Snow measured at the nearest comparable SLF station on the day given; not the pistes themselves.","properties":{"kind":{"const":"measured"},"depthCm":{"type":"number"},"newSnowCm":{"type":"number","description":"New snow in the 24 hours before the reading."},"recentNewSnowCm":{"type":"number","description":"New snow over the last recentNewSnowDays days at the station (up to three)."},"recentNewSnowDays":{"type":"integer"},"lastSnowfallOn":{"type":["string","null"],"format":"date"},"station":{"type":"string"},"stationElevationM":{"type":"number"},"measuredOn":{"type":"string","format":"date"}}},"Weather":{"type":["object","null"],"description":"The weather forecast for the day (MeteoSwiss, MET Norway where an area has no MeteoSwiss point), with when it was issued.","properties":{"kind":{"const":"forecast"},"summary":{"type":"string"},"temperatureC":{"type":"number"},"sunshineHours":{"type":"number"},"windKph":{"type":"number"},"issuedAt":{"type":"string"},"source":{"type":"string"}}},"DayPass":{"type":["object","null"],"description":"The adult one-day pass as read on the operator's own shop or tariff page, for the date named.","properties":{"kind":{"const":"operator price"},"chf":{"type":"number"},"forDate":{"type":"string","format":"date"},"sold":{"enum":["online","tariff"]},"readAt":{"type":"string"},"url":{"type":"string","format":"uri"}}},"Crowd":{"type":["object","null"],"description":"Skiboard's estimate of how busy the area will be: never a count of people or a waiting time.","properties":{"kind":{"const":"estimate"},"level":{"enum":["quiet","moderate","busy","very-busy"]},"summary":{"type":"string"},"estimatedAt":{"type":"string"}}},"Error":{"type":"object","properties":{"error":{"type":"string"},"message":{"type":"string"}},"required":["error","message"]}}}}