Caveat lector: you want to use a data dump? Don’t harvest our entire API, please just use our datadump in GTFS which you can find here:
We are also working on datadumps which give you the delay time per minute, bear with us while we are setting up our archive server.
* Development of our lates API can be followed at github.com/iRail
The Belgian Railways (NMBS/SNCB) API
The documentation of the iRail API can be found at http://api.irail.be.
The De Lijn (Flemish bus company) API
Currently we process only static data about De Lijn. You can use this API in the same fashion as the Belgian railway company ↑.
Start at http://data.irail.be/DeLijn/Stations (.json). You can filter on the “name” by adding a GET parameter: e.g., http://data.irail.be/DeLijn/Stations?name=gent. As the list is quite big, this can help you to create quicker auto-complete lists.
You will have to now construct the request towards the expected departures at a bus stop yourself. For example, for 2014-05-10T12:00, for Aalst Gentsestraat, you’ll have to construct: http://data.irail.be/DeLijn/Departures/Aalst%20Gentsestraat/2014/05/10/12/00.json
The MIVB/STIB (Brussels bus company) API
Same story as above, but now use MIVBSTIB: http://data.irail.be/MIVBSTIB
The TEC (Walloon bus company) API
The TEC announced their Open Data sets as the first company in Belgium. Sadly, we didn’t integrate it in this API as we are working on our new API. You can use the data dumps though.
There are some other resources to be found as well, such as real-time bike availability or parking spots in Brussels. We are not updating or supporting these anymore. As long as they work, they work though.