Skip to content

← API reference

Nearest prepared ski trails

ski_trails10 fields10 of these fields open in the demo
Source
Kartverket Turrutebasen skiløyper
Geography
Around the address
Reported stale after
120 days
Access
Requires an API key granted this section
Contract version
1
In packages
outdoor_recreation

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.

  • Straight-line EPSG:25833 distances from the address point to the feature; not travel distance. Source features are imported as published, with their own accuracy and update cadence; updated_at is our import time.

Fields

2 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
feature_idstring | nullcontextopen
labelstring | nullvalueopen
municipality_codestring | nullcontextopen
updated_atstring | nullcontextopen
gradestring | nullcontextopen
route_typestring | nullcontextopen
groomingstring | nullcontextopen
seasonstring | nullcontextopen
lightingstring | nullcontextopen
straight_line_distance_minteger | null (m)valueopen

Fetch this section

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

# paginated, one section at a time
curl -H "X-API-Key: $APPROACH_API_KEY" \
  "https://api.approach.no/api/v1/addresses/285717643/sections/ski_trails?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.