# DSB

Danish State Railways — no public API. Ticket data accessible via browser automation only.

## Access profile

| Field | Value |
| --- | --- |
| Category | Browser Automation |
| Sector | Transport |
| Access type | Simulated |
| Auth required | Login |
| Reliability | Fragile |
| Official | No |
| Status | active |
| Agent can | read, write |

## Links

- Website: https://www.dsb.dk
- Directory entry: https://agentaccess.dk/dsb

## About

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.

## Agent use cases

- Monitor ticket prices for a specific route over time
- Automate commuter ticket purchase (requires login)
- Capture departure and platform information

## Notes

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.

---
Source: [AgentAccess](https://agentaccess.dk/) — directory of agent interfaces for Denmark.