API reference/Rail & Transit/Norway Trip Planner

Norway Trip Planner

starter Norway

Door-to-door public transport trips between two Norwegian stops, with legs and transfers.

GET/api/v1/transit/norway/trip

Data source

Query parameters

ParameterDescriptionTry value
from
string required
Origin stop id
to
string required
Destination stop id
limit
number
Trips (1-6, default 3)
apikey
string required
Your API key. Can also be sent as the X-API-Key header.demo key used here

Response envelope

Success: { data, meta: { sources, fetchedAt, cached } }. Errors: { error: { code, message } } with HTTP 400, 401, 404, 502, 503 or 504.