get_forecast

Get the upcoming hourly weather forecast for a coordinate in or near Norway.

Direct GET

For navigating agents: open the HTML page with parameters in the URL. The result is fetched and displayed without screenshots or form filling.

Open this validated HTML GET URL

https://allemannsdata.com/wiki/kilder/weather/get_forecast/?lat={lat}&lon={lon}&hours=24&limit=25&offset=0

Replace {lat}, {lon}, {hours} with values. Remove unused optional parameters from the URL.

For software and dashboards: Read the operation descriptor. The JSON GET template is https://allemannsdata.com/wiki/api/v1/kilder/weather/get_forecast?lat={lat}&lon={lon}&hours=24&limit=25&offset=0. Open this exact request as JSON.

ParameterRequirementJSON typeDescription
latrequirednumberLatitude in decimal degrees (e.g. 61.55 for Skei i Jolster)
lonrequirednumberLongitude in decimal degrees (e.g. 6.49)
hoursoptionalintegerNumber of hours ahead to include (1 to 48, default 24)
limitoptionalintegerGateway page size; default 25, maximum 100.
offsetoptionalintegerNumber of list items to skip; default 0.
Generated JavaScript, Python and response structure

Use JSON when the user requests code, machine-readable data, value extraction or further computation. Use the HTML GET page to identify the correct source and verify parameters.

Example for generated JavaScript and Python

https://allemannsdata.com/wiki/api/v1/kilder/weather/get_forecast?lat={lat}&lon={lon}&hours=24&limit=25&offset=0

Replace URL placeholders and remove unused optional parameters.

JavaScript in a dashboard

const url = "https://allemannsdata.com/wiki/api/v1/kilder/weather/get_forecast?lat={lat}&lon={lon}&hours=24&limit=25&offset=0";
const response = await fetch(url);
if (!response.ok) {
  const failure = await response.json();
  throw new Error(`${failure.error.code}: ${failure.error.message} ${failure.suggestion}`);
}
const result = await response.json();
const data = result.data;

Python without additional packages

import json
from urllib.request import urlopen

url = "https://allemannsdata.com/wiki/api/v1/kilder/weather/get_forecast?lat={lat}&lon={lon}&hours=24&limit=25&offset=0"
with urlopen(url) as response:
    result = json.load(response)
data = result["data"]

Response structure

{
  "source": "weather",
  "operation": "get_forecast",
  "parameters": {},
  "data": {},
  "entities": [],
  "_meta": {"retrieved_at": "...", "sources": [], "cache": {}},
  "_links": {"self": "...", "source": "...", "wiki": "..."}
}
Form for manual use

The form is a fallback for people and browser agents that cannot open the GET URL directly.

Type: decimal number. Latitude in decimal degrees (e.g. 61.55 for Skei i Jolster)
Type: decimal number. Longitude in decimal degrees (e.g. 6.49)
Type: integer. Number of hours ahead to include (1 to 48, default 24)

Result

Source: Weather and natural hazards. Retrieved 2026-08-02T19:51:30Z in 0.087 seconds.

24 results

  1. time:
    2026-08-02T19:00:00Z
    temperature_c:
    19.5
    wind_speed_ms:
    3.0
    precipitation_mm:
    0.0
    symbol:
    fair_day
  2. time:
    2026-08-02T20:00:00Z
    temperature_c:
    17.7
    wind_speed_ms:
    2.4
    precipitation_mm:
    0.0
    symbol:
    fair_night
  3. time:
    2026-08-02T21:00:00Z
    temperature_c:
    15.9
    wind_speed_ms:
    1.8
    precipitation_mm:
    0.0
    symbol:
    partlycloudy_night
  4. time:
    2026-08-02T22:00:00Z
    temperature_c:
    14.7
    wind_speed_ms:
    2.3
    precipitation_mm:
    0.0
    symbol:
    fair_night
  5. time:
    2026-08-02T23:00:00Z
    temperature_c:
    13.8
    wind_speed_ms:
    2.4
    precipitation_mm:
    0.0
    symbol:
    fair_night
  6. time:
    2026-08-03T00:00:00Z
    temperature_c:
    13.0
    wind_speed_ms:
    2.3
    precipitation_mm:
    0.0
    symbol:
    fair_night
  7. time:
    2026-08-03T01:00:00Z
    temperature_c:
    12.5
    wind_speed_ms:
    2.5
    precipitation_mm:
    0.0
    symbol:
    fair_night
  8. time:
    2026-08-03T02:00:00Z
    temperature_c:
    12.1
    wind_speed_ms:
    2.5
    precipitation_mm:
    0.0
    symbol:
    partlycloudy_night
  9. time:
    2026-08-03T03:00:00Z
    temperature_c:
    11.7
    wind_speed_ms:
    2.3
    precipitation_mm:
    0.0
    symbol:
    partlycloudy_day
  10. time:
    2026-08-03T04:00:00Z
    temperature_c:
    11.6
    wind_speed_ms:
    2.0
    precipitation_mm:
    0.0
    symbol:
    partlycloudy_day
  11. time:
    2026-08-03T05:00:00Z
    temperature_c:
    12.5
    wind_speed_ms:
    1.6
    precipitation_mm:
    0.0
    symbol:
    partlycloudy_day
  12. time:
    2026-08-03T06:00:00Z
    temperature_c:
    14.1
    wind_speed_ms:
    1.5
    precipitation_mm:
    0.0
    symbol:
    fair_day
  13. time:
    2026-08-03T07:00:00Z
    temperature_c:
    15.9
    wind_speed_ms:
    1.3
    precipitation_mm:
    0.0
    symbol:
    clearsky_day
  14. time:
    2026-08-03T08:00:00Z
    temperature_c:
    17.3
    wind_speed_ms:
    0.5
    precipitation_mm:
    0.0
    symbol:
    fair_day
  15. time:
    2026-08-03T09:00:00Z
    temperature_c:
    18.8
    wind_speed_ms:
    2.2
    precipitation_mm:
    0.0
    symbol:
    partlycloudy_day
  16. time:
    2026-08-03T10:00:00Z
    temperature_c:
    19.7
    wind_speed_ms:
    2.9
    precipitation_mm:
    0.0
    symbol:
    partlycloudy_day
  17. time:
    2026-08-03T11:00:00Z
    temperature_c:
    20.0
    wind_speed_ms:
    3.5
    precipitation_mm:
    0.0
    symbol:
    partlycloudy_day
  18. time:
    2026-08-03T12:00:00Z
    temperature_c:
    20.2
    wind_speed_ms:
    4.4
    precipitation_mm:
    0.0
    symbol:
    partlycloudy_day
  19. time:
    2026-08-03T13:00:00Z
    temperature_c:
    20.4
    wind_speed_ms:
    4.6
    precipitation_mm:
    0.0
    symbol:
    fair_day
  20. time:
    2026-08-03T14:00:00Z
    temperature_c:
    20.2
    wind_speed_ms:
    4.8
    precipitation_mm:
    0.0
    symbol:
    fair_day
  21. time:
    2026-08-03T15:00:00Z
    temperature_c:
    19.8
    wind_speed_ms:
    4.6
    precipitation_mm:
    0.0
    symbol:
    fair_day
  22. time:
    2026-08-03T16:00:00Z
    temperature_c:
    19.2
    wind_speed_ms:
    3.9
    precipitation_mm:
    0.0
    symbol:
    fair_day
  23. time:
    2026-08-03T17:00:00Z
    temperature_c:
    18.7
    wind_speed_ms:
    3.4
    precipitation_mm:
    0.0
    symbol:
    fair_day
  24. time:
    2026-08-03T18:00:00Z
    temperature_c:
    17.8
    wind_speed_ms:
    3.5
    precipitation_mm:
    0.0
    symbol:
    partlycloudy_day
Will you use the result in generated code?

Open the same result as JSON

Continue exploring

How an AI agent should use this page

Ground rule: Navigate with HTML GET links to keep explanations and relationships. Use the page's JSON alternative only when concrete values must be extracted, compared or computed.

How to use the get_forecast lookup

  1. Replace the placeholders in the HTML GET template; remove optional parameters you do not need.
  2. Check types, units, limits and ID formats in the parameter table.
  3. Follow linked results to canonical pages before combining sources.

Misreading to avoid: An empty list means "no results for this lookup". An error message or unavailable source does not mean the data does not exist.

Source-specific next step

Go to the source page for other operations. Use the JSON template only after the HTML result shows that the parameters and source are correct.