db-wagenreihung - Interface to Deutsche Bahn carriage formation API


db-wagenreihung station train-number


version 0.14

This is beta software: API and output format may change without notice.


db-wagenreihung shows the carriage formation (also known as coach sequence) of train train-number at station station (must be a name or DS100 code) as reported by the Deutsche Bahn Wagenreihung API. As of April 2024, it has mature support for long-distance (IC/EC/ICE) trains and a growing number of regional transport providers that also offer mostly correct carriage formation data.

It is not possible to request the carriage formation at a train's terminus station. This is a known limitation.

The departure of train-number must be in the time range between now and two hours in the future.


db-wagenreihung 'Essen Hbf' 723

Show carriage formation of ICE 723 at Essen Hbf

db-wagenreihung TS 3259

Show carriage formation of IRE 3259 at Stuttgart Hbf


* JSON(3pm)
* LWP::UserAgent(3pm)
* Travel::Status::DE::IRIS(3pm)


Copyright (C) 2018-2024 by Birte Kristina Friesel <>


This program is licensed under the same terms as Perl itself.