{"id":"badetemp","name":"Bathing temperatures","description":"Measured bathing water temperatures for Norwegian swimming spots, lakes and lidos from Yr.","documentation":"https://hjelp.yr.no/hc/no/articles/5949243432850-API-for-badetemperaturer","operations":[{"name":"get_water_temperatures","description":"Latest measured bathing temperatures across Norway.","parameters":[{"name":"query","type":"string","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"display_type":"string","required":false,"default":null,"description":"Match the spot name, e.g. \"Sognsvann\", \"friluftsbad\"."},{"name":"county","type":"string","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"display_type":"string","required":false,"default":null,"description":"Filter by county (fylke) name, e.g. \"Akershus\"."},{"name":"municipality","type":"string","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"display_type":"string","required":false,"default":null,"description":"Filter by municipality (kommune) name, e.g. \"Oslo\"."},{"name":"limit","type":"integer","schema":{"type":"integer"},"display_type":"integer","required":false,"default":50,"description":"Max spots to return, 1-200 (default 50)."},{"name":"offset","type":"integer","schema":{"type":"integer","minimum":0,"default":0},"display_type":"integer","required":false,"default":0,"description":"Number of list items to skip before returning the page."}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/badetemp/get_water_temperatures?query={query}&county={county}&municipality={municipality}&limit=50&offset=0","output_fields":["attribution","total_matches","temperatures"],"output_fields_truncated":false,"canonical_field_aliases":{},"description_language":"en","documentation":"Latest measured bathing temperatures across Norway.\n\nOnly registrations from the last five days are returned, so expect many\nspots in summer and few (or none) off-season. The filters are matched\nclient-side as case-insensitive substrings.\n\nArgs:\n    query: Match the spot name, e.g. \"Sognsvann\", \"friluftsbad\".\n    county: Filter by county (fylke) name, e.g. \"Akershus\".\n    municipality: Filter by municipality (kommune) name, e.g. \"Oslo\".\n    limit: Max spots to return, 1-200 (default 50).\n\nReturns total_matches (all spots matching the filters) and temperatures\n(this page), each with location_id, name, lat/lon, elevation, county,\nmunicipality, temperature_c, time, and heated_water (only for heated\npools/lidos). Pass a location_id to get_water_temperature_history.\n\nData: Badetemperaturer levert av Yr.","documentation_language":"en","wiki_get_endpoint":"https://allemannsdata.com/wiki/kilder/badetemp/get_water_temperatures/","wiki_get_url_template":"https://allemannsdata.com/wiki/kilder/badetemp/get_water_temperatures/?query={query}&county={county}&municipality={municipality}&limit=50&offset=0","json_endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/badetemp/get_water_temperatures","response_schema":{"type":"object","properties":{"attribution":{"type":["object","null"],"properties":{},"additionalProperties":false},"total_matches":{"type":"integer"},"temperatures":{"type":"array","items":{"type":"object","properties":{},"additionalProperties":false}}},"additionalProperties":false},"response_schema_status":{"status":"inferred","codegen_safe":true,"description":"Safe for code generation from the currently published fields. The contract is statically inferred rather than independently maintained, so clients should tolerate additional fields."},"entity_projection":{"status":"intentionally_none","entity_types":[],"description":"No stable cross-source entity projection is defined for this operation; entities is intentionally empty."},"response_schema_url":"https://allemannsdata.com/wiki/api/v1/kilder/badetemp/get_water_temperatures/schema","endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/badetemp/get_water_temperatures","get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/badetemp/get_water_temperatures?query={query}&county={county}&municipality={municipality}&limit=50&offset=0"},{"name":"get_nearest_water_temperatures","description":"The nearest bathing temperature registrations within 50 km of a coordinate.","parameters":[{"name":"lat","type":"number","schema":{"type":"number"},"display_type":"decimal number","required":true,"default":null,"description":"Latitude in decimal degrees (WGS84), e.g. 59.911."},{"name":"lon","type":"number","schema":{"type":"number"},"display_type":"decimal number","required":true,"default":null,"description":"Longitude in decimal degrees (WGS84), e.g. 10.75."},{"name":"limit","type":"integer","schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"display_type":"integer","required":false,"default":25,"description":"Maximum list items returned by the gateway (default 25, maximum 100)."},{"name":"offset","type":"integer","schema":{"type":"integer","minimum":0,"default":0},"display_type":"integer","required":false,"default":0,"description":"Number of list items to skip before returning the page."}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/badetemp/get_nearest_water_temperatures?lat={lat}&lon={lon}&limit=25&offset=0","output_fields":["attribution","temperatures"],"output_fields_truncated":false,"canonical_field_aliases":{},"description_language":"en","documentation":"The nearest bathing temperature registrations within 50 km of a coordinate.\n\nArgs:\n    lat: Latitude in decimal degrees (WGS84), e.g. 59.911.\n    lon: Longitude in decimal degrees (WGS84), e.g. 10.75.\n\nReturns up to the six nearest registrations from the last five days, each\nwith location_id, name, lat/lon, county, municipality, temperature_c and\ntime. Empty if no spot within 50 km has a recent registration.\n\nData: Badetemperaturer levert av Yr.","documentation_language":"en","wiki_get_endpoint":"https://allemannsdata.com/wiki/kilder/badetemp/get_nearest_water_temperatures/","wiki_get_url_template":"https://allemannsdata.com/wiki/kilder/badetemp/get_nearest_water_temperatures/?lat={lat}&lon={lon}&limit=25&offset=0","json_endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/badetemp/get_nearest_water_temperatures","response_schema":{"type":"object","properties":{"attribution":{"type":["object","null"],"properties":{},"additionalProperties":false},"temperatures":{"type":"array","items":{"type":"object","properties":{},"additionalProperties":false}}},"additionalProperties":false},"response_schema_status":{"status":"inferred","codegen_safe":true,"description":"Safe for code generation from the currently published fields. The contract is statically inferred rather than independently maintained, so clients should tolerate additional fields."},"entity_projection":{"status":"projected","entity_types":["place"],"description":"Recognized records and stable operation identifiers are projected; an empty array means the successful payload contained no recognizable entity."},"response_schema_url":"https://allemannsdata.com/wiki/api/v1/kilder/badetemp/get_nearest_water_temperatures/schema","endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/badetemp/get_nearest_water_temperatures","get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/badetemp/get_nearest_water_temperatures?lat={lat}&lon={lon}&limit=25&offset=0"},{"name":"get_water_temperature_history","description":"The last five registered bathing temperatures for one swimming spot.","parameters":[{"name":"location_id","type":"string","schema":{"type":"string"},"display_type":"string","required":true,"default":null,"description":"The spot's Yr location id, e.g. \"1-73595\" (Sognsvann). Find it with get_water_temperatures, or in the URL of the spot's page on yr.no."},{"name":"limit","type":"integer","schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"display_type":"integer","required":false,"default":25,"description":"Maximum list items returned by the gateway (default 25, maximum 100)."},{"name":"offset","type":"integer","schema":{"type":"integer","minimum":0,"default":0},"display_type":"integer","required":false,"default":0,"description":"Number of list items to skip before returning the page."}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/badetemp/get_water_temperature_history?location_id={location_id}&limit=25&offset=0","output_fields":["attribution","location_id","history","history[].temperature_c","history[].time"],"output_fields_truncated":false,"canonical_field_aliases":{"temperature_c":["history[].temperature_c"],"timestamp":["history[].time"]},"description_language":"en","documentation":"The last five registered bathing temperatures for one swimming spot.\n\nUnlike the other operations, this history is not limited to the last five\ndays, so it also works off-season (e.g. last summer's readings).\n\nArgs:\n    location_id: The spot's Yr location id, e.g. \"1-73595\" (Sognsvann).\n        Find it with get_water_temperatures, or in the URL of the spot's\n        page on yr.no.\n\nReturns history as a list of {temperature_c, time}, newest first.\n\nData: Badetemperaturer levert av Yr.","documentation_language":"en","wiki_get_endpoint":"https://allemannsdata.com/wiki/kilder/badetemp/get_water_temperature_history/","wiki_get_url_template":"https://allemannsdata.com/wiki/kilder/badetemp/get_water_temperature_history/?location_id={location_id}&limit=25&offset=0","json_endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/badetemp/get_water_temperature_history","response_schema":{"type":"object","properties":{"attribution":{"type":["object","null"],"properties":{},"additionalProperties":false},"location_id":{"type":["string","null"]},"history":{"type":"array","items":{"type":"object","properties":{"temperature_c":{"type":["number","null"]},"time":{"type":["string","null"],"format":"date-time"}},"additionalProperties":false}}},"additionalProperties":false},"response_schema_status":{"status":"inferred","codegen_safe":true,"description":"Safe for code generation from the currently published fields. The contract is statically inferred rather than independently maintained, so clients should tolerate additional fields."},"entity_projection":{"status":"intentionally_none","entity_types":[],"description":"No stable cross-source entity projection is defined for this operation; entities is intentionally empty."},"response_schema_url":"https://allemannsdata.com/wiki/api/v1/kilder/badetemp/get_water_temperature_history/schema","endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/badetemp/get_water_temperature_history","get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/badetemp/get_water_temperature_history?location_id={location_id}&limit=25&offset=0"}],"operation_schema_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/badetemp/{operation}/schema","related_sources":[{"id":"weather","name":"Weather and natural hazards","reason":"Current weather and forecasts for the same swimming spot.","api":"https://allemannsdata.com/wiki/api/v1/kilder/weather","wiki":"https://allemannsdata.com/wiki/kilder/weather/"}],"_meta":{"retrieved_at":"2026-08-18T11:39:53Z","language":"en","content_languages":["en"],"sources":[{"id":"badetemp","name":"Bathing temperatures","description":"Measured bathing water temperatures for Norwegian swimming spots, lakes and lidos from Yr.","documentation":"https://hjelp.yr.no/hc/no/articles/5949243432850-API-for-badetemperaturer","cache_ttl_seconds":300}]},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/badetemp","names":"https://allemannsdata.com/wiki/api/v1/kilder/badetemp?view=names","compact":"https://allemannsdata.com/wiki/api/v1/kilder/badetemp?view=compact","full":"https://allemannsdata.com/wiki/api/v1/kilder/badetemp","wiki":"https://allemannsdata.com/wiki/kilder/badetemp/","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"}}
