Rejseplanen
Danish public transport journey planner API covering all buses, trains, metro, and harbour buses nationwide.
Danish State Railways — no public API. Ticket data accessible via browser automation only.
DSB (Danske Statsbaner) is the primary Danish train operator. Despite being a public company, DSB provides no public API for ticket pricing, availability, or booking. All agent access must use browser automation (Playwright, Puppeteer) to interact with dsb.dk. The site uses dynamic React rendering, which requires a real browser. Session management and login are required for booking.
No official API. UI is a React SPA — requires Playwright/Puppeteer. Frequent UI updates break selectors. DSB terms of service may restrict automated access. Use Rejseplanen API for schedules instead.
Something wrong or missing? See how to suggest a fix
Danish public transport journey planner API covering all buses, trains, metro, and harbour buses nationwide.
The Danish Road Directorate API for real-time traffic data, road conditions, and incidents.
Danish Road Directorate API — real-time traffic flow, roadworks, accidents, and highway webcam access.