Skip to content

← API reference

Nearest public transport stops with observed service

public_transport16 fields16 of these fields open in the demo
Source
Entur SIRI-ET (national real-time), aggregated by Approach
Geography
Around the address
Reported stale after
2 days
Access
Requires an API key granted this section
Contract version
2
In packages
neighbourhood_life

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.

  • Departures observed in Entur's national real-time feed (SIRI-ET, every monitored journey) over the stated window (window_from to window_to), rolled up from platform to stop and aggregated per stop at refresh time. Only journeys an operator reports in real time are counted, so a stop served solely by unmonitored departures reads low or absent; not a complete timetable or a service guarantee.
  • Limited to stops within 3 km: an address with no observed stop that close gets no record, not a stop from another town. transit_stops carries the full national stop register for positions. Straight-line UTM33 distance, not walking distance.
  • Routes follow the car profile, from the address to the feature; ranking remains straight-line. Static modelled travel time excludes live traffic and emergency response. Road snapping is limited to 250 m at each end. Ferries may be included without timetable/wait guarantees. Graph source date is unverified unless supplied. © OpenStreetMap contributors, ODbL: https://www.openstreetmap.org/copyright
  • walk_route and cycle_route follow OSRM's foot and bicycle profiles on the same OpenStreetMap data: paths and stairs allowed on foot, road rules for bicycles; modelled times at profile default speeds, not measured.

Fields

4 of 16 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
stop_idstring | nullcontextopen
stop_namestring | nullcontextopen
transport_modesarray<string> | nullvalueopen
latnumber | nullcontextopen
lonnumber | nullcontextopen
straight_line_distance_mnumber | null (m)valueopen
observed_departuresinteger | nullvalueopen
distinct_linesinteger | nullvalueopen
avg_delay_minnumber | null (min)contextopen
cancelled_departuresinteger | nullcontextopen
window_fromstring | nullcontextopen
window_tostring | nullcontextopen
refreshed_atstring | nullcontextopen
routeobjectcontextopen
walk_routeobjectcontextopen
cycle_routeobjectcontextopen

Fetch this section

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

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