Transport

Entur Journey Planner API

by developer.entur.org

Transport Added on November 7th, 2026 Checked and working on November 7th, 2026
Visit developer.entur.org →

What it does

The Entur Journey Planner API plans trips on all public transport in Norway (trains, buses, trams, boats and flights) with real-time departures, for example to show the next departures from Oslo Central Station. It is a GraphQL API; every request must send an ET-Client-Name header naming your company and app. Free, no key needed; the data is under the Norwegian Licence for Open Government Data (NLOD).
  • API
  • GraphQL
  • JSON

At a glance

API key
Not needed · More APIs with no key
Pricing
Free, no key needed; the data is under the Norwegian Licence for Open Government Data (NLOD).
From the browser
Yes (CORS)
Formats
JSON
Interface
GraphQL
Provider
developer.entur.org
Last checked
Working on November 7th, 2026

More information: https://developer.entur.org/

Is this your service? Show that it is listed

Put this badge on your website or in your README; it links to this page. About the badge

Listed on Free Web Services

developer.entur.org
Entur Journey Planner API

Example request

curl

curl -X POST 'https://api.entur.io/journey-planner/v3/graphql' \
  -H 'ET-Client-Name: yourcompany-yourapp' \
  -H 'Content-Type: application/json' \
  -d '{"query":"{ stopPlace(id: \"NSR:StopPlace:337\") { name } }"}'

JavaScript

const response = await fetch("https://api.entur.io/journey-planner/v3/graphql", {
  method: 'POST',
  headers: {
    "ET-Client-Name": "yourcompany-yourapp",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({"query":"{ stopPlace(id: \"NSR:StopPlace:337\") { name } }"}),
});
const data = await response.json();
console.log(data);

Python

import requests

response = requests.post(
    "https://api.entur.io/journey-planner/v3/graphql",
    headers={
        "ET-Client-Name": "yourcompany-yourapp",
    },
    json={
        "query": "{ stopPlace(id: \"NSR:StopPlace:337\") { name } }",
    },
    timeout=30,
)
print(response.json())

The JavaScript works in a web page as well as in Node.js 18 or newer.

Did it work for you?

Tell us what you found when you tried Entur Journey Planner API.