Entur Journey Planner
This module adds a block to your site that lets visitors search for public-transport
routes in Norway. A person types a starting point and a destination, picks from
live suggestions as they type, and gets back a list of real journeys — buses,
trains, trams, ferries, and the walking connections between them — sourced live
from Entur, Norway's national
transport data platform.
If you've ever used a national rail or transit app's "plan a trip" screen,
this is that experience, built as a normal Drupal block you place like any
other.
Features
- Live autocomplete on the "From" and "To" fields, so
visitors don't need to know a stop's exact name or ID — they type "Oslo S"
and pick from real matching places as they go. - Full itinerary results: total duration, departure and
arrival times, number of transfers, and a leg-by-leg breakdown (transport
mode, line name, and the stops in between) for each route found. - Real-time data: times reflect live delays, not just the
static timetable, and any active service disruption on a leg (e.g. reduced
service, cancellations) is shown directly on that leg. - Translatable: every string the module outputs goes
through Drupal's standard translation system, so it follows whatever
languages your site is already configured for (English and Norwegian
Bokmål out of the box).
Use this module if your site serves visitors who need to get somewhere in
Norway by public transport — event pages, tourism/visitor sites,
organizations with a physical location, or any site where "how do I get
there" is a real question your visitors ask.
Post-Installation
After enabling the module:
- Go to Administration » Configuration » Web
services » Entur Journey Planner
(/admin/config/services/entur-journey-planner) and set a
client name. This is required — Entur asks every
application calling its API to identify itself (their fair-use policy),
but no API key or account sign-up is needed. A short, recognizable string
identifying your site (e.g.my-site-name) is enough. - Go to Structure » Block layout, place the
"Entur Journey Planner" block (listed under the "Forms"
category) in whichever region and on whichever pages you want it to
appear.
That's it — no content type, no new fields, no text format changes. The
block is self-contained: it renders its own search form and results.
Additional Requirements
None beyond Drupal core. The module uses core's own HTTP client, cache,
and Form API — no contributed modules, no external PHP libraries, and no
API key. It does require outbound HTTPS access from your server to
api.entur.io, since results are fetched live rather than
stored locally.
Recommended modules/libraries
None required. If your site already uses core's Language and Content
Translation modules for a multilingual setup, this module's strings will
automatically be translatable alongside the rest of your content — no
extra configuration on this module's side.
Similar projects
At the time of writing, there is no other Drupal.org module wrapping
Entur's Journey Planner or Geocoder APIs specifically. If you need transit
routing outside Norway, or a different national/regional provider, you'll
need a different data source — this module is intentionally scoped to
Entur's API and Norwegian public transport.
Supporting this Module
There's no funding page for this project at this time.
Community Documentation
This is a new project and doesn't yet have external walkthroughs or a
demo site. The project's own README and issue queue are the best starting
points for now.
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 1.0.x-dev | Dev | 10–11 | Sep 22, 2026 |