Rejseplanen — Danish public transport
Rejseplanen's HAFAS REST API (Open Data v2) provides access to stops, real-time departure boards and journey plans for all Danish public transport — trains, S-trains, metro, bus and ferry. Requires a FREE API key (REJSEPLANEN_API_KEY) from Rejseplanen's developer portal; without it all three data routes return 503 not_configured. CC-BY-4.0 for static data. Danish counterpart to the Norwegian Entur connector.
—
Data volume
Real time
Updates
3
MCP tools
{
"data": "..."
}MCP integration
API endpoints
/healthTilgjengelighetssjekk mot Rejseplanen-API-et
Show curl example
# GET https://data.ketl.no/api/connectors/trafikstyrelsen-dk/health
curl \
-H "Accept: application/json" \
"https://data.ketl.no/api/connectors/trafikstyrelsen-dk/health"Authenticated call — add one of these headers: x-api-key: ketl_… · Authorization: Bearer … — See the full reference in the documentation.
/stopsSøk stoppesteder på fritekst (q)
Show curl example
# GET https://data.ketl.no/api/connectors/trafikstyrelsen-dk/stops
curl \
-H "Accept: application/json" \
"https://data.ketl.no/api/connectors/trafikstyrelsen-dk/stops"Authenticated call — add one of these headers: x-api-key: ketl_… · Authorization: Bearer … — See the full reference in the documentation.
/departuresAvgangstavle for et stoppested (stopId, date, time)
Show curl example
# GET https://data.ketl.no/api/connectors/trafikstyrelsen-dk/departures
curl \
-H "Accept: application/json" \
"https://data.ketl.no/api/connectors/trafikstyrelsen-dk/departures"Authenticated call — add one of these headers: x-api-key: ketl_… · Authorization: Bearer … — See the full reference in the documentation.
/journeyReiseplan mellom to stoppesteder (from, to, date, time)
Show curl example
# GET https://data.ketl.no/api/connectors/trafikstyrelsen-dk/journey
curl \
-H "Accept: application/json" \
"https://data.ketl.no/api/connectors/trafikstyrelsen-dk/journey"Authenticated call — add one of these headers: x-api-key: ketl_… · Authorization: Bearer … — See the full reference in the documentation.