← All Services
Live

Norwegian Transport

Real-time departures, journey planning, and stop search for Norwegian public transport

From $0.005/query USDC on Base API: x402-norway-transport.fly.dev

Endpoints

GET /departures?stop={name}
Real-time departures from a Norwegian stop place. Stop name is geocoded; pass a stop ID directly to skip the geocoder.
Price: $0.005
curl 'https://x402-norway-transport.fly.dev/departures?stop=Jernbanetorget'
{"stop_name":"Jernbanetorget","stop_id":"NSR:StopPlace:58366", "count":1,"departures":[{"line":"13","destination":"Bekkestua", "scheduled":"2026-05-09T08:15:00","expected":"2026-05-09T08:17:00", "delay_min":2,"platform":"1","mode":"tram"}]}
GET /journey?from={origin}&to={destination}
Plan a journey between two Norwegian places. Names are geocoded to stop/place IDs, then the JourneyPlanner returns up to 3 best trip options with full leg-by-leg detail.
Price: $0.01
curl 'https://x402-norway-transport.fly.dev/journey?from=Oslo+S&to=Bergen'
{"from":"Oslo S","to":"Bergen","options":[{"departure":"08:25", "arrival":"15:02","duration_min":397,"transfers":0, "legs":[{"mode":"train","line":"R10","line_full_name":"Bergensbanen", "from_stop":"Oslo S","to_stop":"Bergen"}]}]}
GET /stops?q={query}
Search Norwegian stops by name and/or proximity (lat/lon). Returns top 10 with coordinates, modes, and municipality.
Price: $0.005
curl 'https://x402-norway-transport.fly.dev/stops?q=jernbanetorget'
{"results":[{"name":"Jernbanetorget", "id":"NSR:StopPlace:58366","lat":59.9112, "lon":10.7525,"municipality":"Oslo"}]}

Free Endpoints

GET/health
Service health check
Price: Free

About

Data sourced from Entur, Norway's national public transport platform. Covers all Norwegian public transport including trains (Vy, SJ Nord), buses, trams, metro, ferries, and airport express trains.

Stop names are geocoded automatically — pass "Oslo S", "Jernbanetorget", or "Bergen stasjon" and the API resolves to the correct NSR stop ID. You can also pass stop IDs directly (e.g. NSR:StopPlace:58366) to skip geocoding.

Journey planning returns up to 3 optimal routes with transfers, walking legs, and real-time delay information when available.