Skip to content

About

Unofficial stop-by-stop timetable and GTFS feed for Zeljeznice Republike Srpske (ZRS)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

ŽRS timetable (unofficial)

Stop-by-stop timetable of Željeznice Republike Srpske (Republika Srpska, Bosnia and Herzegovina), captured from the station-pair search on https://www.zrs-rs.com/ (Red vožnje). ŽRS publishes no GTFS and no static timetable page. A community GTFS (ba_ZFBiH on Transitous) covers ŽRS only for 2025 and ended 2025-12-13.

  • zrs-timetable.json: 12 trains, 59 stations. Each train has its route, service rule and a time at every stop.
  • trains-raw.txt: the raw capture (one train per line). build-json.py turns it into the JSON.
  • stations.csv, geocode-stations.py: station coordinates (OpenStreetMap via Nominatim). make-gtfs.py builds the feed.
  • GTFS: build it with python make-gtfs.py (writes dist/zrs-gtfs.zip, git-ignored).

Trains

Line Trains Times
Doboj - Banja Luka 6400, 6402 / 6401, 6403 04:15 and 15:30 from Doboj, 04:32 and 15:38 from Banja Luka
Banja Luka - Novi Grad - Dobrljin 6420 (to Dobrljin), 6422 (to Novi Grad) / 6421 (from Novi Grad), 6423 (from Dobrljin) 07:24 and 15:27 from Banja Luka, 04:32 from Novi Grad, 14:56 from Dobrljin
Doboj - Petrovo 6601, 6603 / 6600, 6602 04:20 and 15:26 from Doboj, 05:41 and 17:38 from Petrovo

Read this first

  • Unofficial. Not affiliated with ŽRS. Check the source page before travelling.
  • How it was captured (2026-11-15): through the website's search form, one station pair and date at a time, expanding each result to read the stop list. There is no script that scrapes it, because the form is a Blazor app that needs a real browser. Dates sampled: Mon 16, Tue-Fri 17-20 (Doboj-Banja Luka only), Sat 21 and Sun 22 November 2026, plus one Monday in December (14th).
  • Service days: every train was seen on a weekday, a Saturday and a Sunday, so the data says "daily". Tuesday to Friday were not sampled for most lines, and public holidays are not modelled.
  • Validity is an assumption: 2026-11-16 to 2026-12-12. The site states no dates, and it showed the same trains for 14 December, but ŽRS announced a new Zvornik Novi - Beograd Centar line from 13 December, so a timetable change is likely. That line is not in this data.
  • Site error corrected: train 6423 lists Dragotinja Donja arriving 15:43 and departing 15:34. The departure was set to the arrival (site_corrections in the JSON).
  • Coordinates: matched by name on OpenStreetMap, then checked with a speed test (no hop may need over 130 km/h). That test caught Grabovica matching a place 130 km away. Three stations are approximate and labelled in stations.csv: Grabovica (a village node), Ljeb and Suvo Polje (interpolated between neighbours by running time, no station node found). Spot-check them on a map.
  • Validated with the MobilityData GTFS validator 8.0.1: no errors. Warnings: the feed ends within 30 days, and the calendar starts tomorrow.
  • Cross-check: only 2 of the 12 trains (6421, 6423) match the 2025 community feed exactly on first departure and last arrival; the other ten differ, as expected from a year-old timetable. So that feed is not an independent confirmation.

Code: MIT (see LICENSE). Timetable data: source is zrs-rs.com; no licence is granted for it here. Coordinates: ODbL (OpenStreetMap).

About

Unofficial stop-by-stop timetable and GTFS feed for Zeljeznice Republike Srpske (ZRS)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages