DSB
Danish State Railways — no public API. Ticket data accessible via browser automation only.
Om
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.
Konkrete Brugsscenarier
- 01Monitor ticket prices for a specific route over time
- 02Automate commuter ticket purchase (requires login)
- 03Capture departure and platform information
Tekniske Detaljer & Grænser
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.
Byg adgang med AI Byggesten
Automatiser denne danske platform med autonome browserværktøjer:
Turn entire websites and portals into clean, LLM-ready Markdown
Autonomous open-source AI agent browser automation engine
AI-powered web automation and structured data extraction SDK
Er noget forkert eller forældet vedrørende DSB?