We use cookies for authentication and — with your consent — for analytics. Read more.

Skip to content
KETL Data
DataAppsMCPSign in
  1. Home
  2. Data catalogue
  3. Rejseplanen — Danish public transport
TransportStandardCC-BY-4.0

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

Example response — /stops
{
  "data": "..."
}

MCP integration

Available MCP tools
trafikstyrelsen.departures.board
trafikstyrelsen.journey.plan
trafikstyrelsen.stops.search
Configuration for Claude Desktop / Cursor
{
  "mcpServers": {
    "trafikstyrelsen-dk": {
      "url": "https://data.ketl.no/mcp/trafikstyrelsen-dk",
      "headers": {
        "Authorization": "Bearer $KETL_API_KEY"
      }
    }
  }
}

Analysis apps that use this source

Ready-made tools built on Rejseplanen — Danish public transport data. Use them directly in the browser, or wire the same data into your own analysis via the API below.

Rejseplanen — Danish public transport
Search Danish stops, real-time departure boards and journey plans via Rejseplanen's HAFAS API. Trains (IC, S-train, Lyntog), metro, bus and ferry across Denmark. The Danish counterpart to Entur (NO).

API endpoints

GET
/health

Tilgjengelighetssjekk 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.

GET
/stops

Sø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.

GET
/departures

Avgangstavle 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.

GET
/journey

Reiseplan 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.

Access and pricing

Rejseplanen — Danish public transport is openly available — create an account to get started.

danmarktransportkollektivtrafikktogbussnordisk
KETL Data

Nordic open-data and compliance infrastructure. Source, rule and confidence on every answer.

Product links

  • Data
  • Apps
  • MCP
  • Contact

Legal links

  • AI transparency
  • Privacy
  • Terms
  • SLA
  • Cookies
  • Security

© 2026 KETL Data

build 8f3b7512