Transport for Norway API
Overview
Entur is the Norwegian national journey planner API, providing comprehensive public transport data covering trains, buses, ferries, and trams across all of Norway. The API is free and requires no authentication, making it one of the most beginner-friendly transit APIs in Europe. It uses GraphQL, which lets you request exactly the data fields you need in a single query.
Beginner Tip
Entur uses GraphQL rather than REST, so all requests go to a single endpoint as POST requests with a JSON body containing your query. Visit api.entur.io/journey-planner/v3/ide/ to use the built-in GraphQL explorer to write and test queries interactively.
Available Data
Example Response
{
"route": "Line 1",
"origin": "Station A",
"destination": "Station B",
"departure": "08:30",
"arrival": "09:15",
"status": "On Time",
"delays_min": 0
} Field Reference
stopPlace.name The official name of the transit stop, such as Oslo Bussterminal or Bergen stasjon. estimatedCalls List of upcoming departures from the stop, each containing timing and destination information. expectedDepartureTime ISO 8601 timestamp of the predicted departure time, accounting for real-time delays. destinationDisplay.frontText The destination text shown on the front of the vehicle, e.g. Nationaltheatret. serviceJourney.line.publicCode The public-facing line number or name, such as 31 or Flåmsbana. quay.id Unique NSR identifier for a specific platform or quay at a stop, used for precise departure queries. Implementation Example
const url = "https://developer.entur.org/";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
Common Errors & Troubleshooting
Matrix Score Breakdown
Fully tested on Apr 5, 2026
Technical Specifications
Related Tags
Similar APIs
View All →ADS-B Exchange
⭐ Beginner's PickADS-B Exchange is a community-driven API that provides real-time and historical position data for aircraft around the world.
airportsapi
⭐ Beginner's PickThe airportsapi lets you look up airport names and official website URLs by providing an ICAO code.
AviationAPI
AviationAPI provides programmatic access to faa aeronautical charts and publications, airport information, and airport weather via REST API.
BC Ferries
⭐ Beginner's PickThe BC Ferries API is a free, open API providing real-time sailing schedules, capacity, and current conditions for BC Ferries routes in British Columbia, Canada.
Community Transit
⭐ Beginner's PickCommunity Transit (Transitland) is a free, open API that aggregates public transit data from hundreds of agencies worldwide including routes, stops, and schedules.