Skip to content

← API reference

Weather forecast for the address coordinates

weather_forecast10 fields10 of these fields open in the demo
Source
MET Norway Locationforecast 2.0
Geography
coordinate
Reported stale after
6 hours
Access
Requires an API key granted this section
Contract version
1
In packages
prevention_context

What this does not say

Quoted verbatim from the section’s warnings field, exactly as the API returns it. They are not translated: a translation would show something other than what your response actually contains.

  • Model forecast, not an observation at the home. Coordinates are truncated for caching. Stale fallback is marked and limited to six hours after retrieval.
  • Data from MET Norway, CC BY 4.0; Approach selects fields and normalizes interval structure.

Fields

1 of 10 fields are value fields — the ones that decide whether a record actually says anything. The rest are context: identifiers, codes and timestamps. Fields marked “open” return values to anonymous callers; the rest require a key.

FieldTypeRoleDemo
data_kindstringcontextopen
latitudenumbercontextopen
longitudenumbercontextopen
updated_atdate-timecontextopen
valid_fromdate-timecontextopen
valid_todate-timecontextopen
unitsobjectcontextopen
timeseriesarray<object>valueopen
attributionstringcontextopen
license_urlstringcontextopen

Fetch this section

curl -H "X-API-Key: $APPROACH_API_KEY" \
  "https://api.approach.no/api/v1/addresses/285717643?include=weather_forecast"

# paginated, one section at a time
curl -H "X-API-Key: $APPROACH_API_KEY" \
  "https://api.approach.no/api/v1/addresses/285717643/sections/weather_forecast?limit=25"

Try it now

This is a real call against the public demo, from here. What appears below is what the API returned — not a sample.