this post was submitted on 17 Sep 2025
3 points (100.0% liked)

Belgium

95 readers
1 users here now

Join us in exploring everything about the Belgium from hot off the press news to the rich history. Whether you're a local or are just interested in the country, this is the place you can use to connect with fellow enthusiasts.

Similar Community:


Sluit je aan bij deze community voor alles over België, van vers nieuws tot de rijke geschiedenis. Of je nu in België woont of gewoon interesse hebt in het land, dit is de plaats om in contact te komen met andere enthousiaste mensen.

Vergelijkbare communities:


Rejoignez-nous pour découvrir tout ce qui concerne la Belgique, des nouvelles les plus récentes à la riche histoire du pays. Que vous soyez un habitant de la région ou que vous vous intéressiez simplement au pays, c'est l'endroit où vous pouvez vous connecter avec d'autres passionnés.

Communautés similaires:

founded 10 months ago
MODERATORS
 

(cross-posted from !opendata)

In Belgium, the national train service runs a protectionist bot-hostile tor-hostile website that chains users to an enshitified js-plagued GUI webapp. You can only query one day and one destination at a time. It’s the typical shit-show that consumers give in to for this kind of website.

HOWEVER, Belgium’s open data law requires the gov to share any data they get with the public. And for some reason the gov maintains a DB of the train routes and schedules -- which means everyone gets the raw data as a bullshit-free CSV file (but sadly no prices, which fucks everything up as far as being able to avoid the enshitified web entirely).

Does anyone know /why/ the gov gets that data? It would be useful to konw what law compels SNCB to share the info because I wonder if other data can be liberated through the same mechanism (such as bus routes, flights, rideshares, etc). My first thought was customs and immigration must have a need-to-know, but the dataset covers both directions and IIRC it only has good coverage of domestic routes not international (strange).

top 2 comments
sorted by: hot top controversial new old
[–] iii@mander.xyz 2 points 4 months ago* (last edited 4 months ago) (1 children)

There used to be an amazing 3rd party NMBS/SNCB scheduler. So many people preferred it over the official one and they had it banned (1).

I guess NMBS/SNCB must provide their schedule publicly because they share the rail system with other (freight) rail companies? In any case, this API is decent as well (2). I use it to give me near real time notifications of delays and to auto calculate when I'm due reimbursements for too many delays.

[–] ciferecaNinjo@fedia.io 1 points 3 months ago

The standaard.be site is a disaster for me.. can’t reach the text. But I might to unjail that article (perhaps run whatever dodgy JS) at some point and translate it to english.

I guess NMBS/SNCB must provide their schedule publicly because they share the rail system with other (freight) rail companies?

The latest EU rail passenger rights legislation requires rail operators to share their schedule and price data with other rail operators and 3rd party ticket vendors, but they are allowed to charge a fee for the data.

In any case, this API is decent as well (2).

iRail is in fact an openknowledge.be project where they obtained rail data from the gov using Belgium’s open data law. They do not get price info which for me really reduces the utility of it. I seem to recall that not all routes end up in iRail. I wonder if that’s a result of some non-compliance somewhere.. but it’s hard to know without knowing why they must share with the gov.