Transport for Belgium
Belgian rail stations, schedules and live departures as JSON
iRail is a long-running third-party API for Belgian train travel, covering stations, connections, timetables and live board data. Add ?format=json to get keyless JSON; the project asks callers to send a descriptive User-Agent and use it fairly. It is community-run and independent of the national operator.
GET https://api.irail.be/stations/?format=json
{
"version": "1.4",
"timestamp": "1783247001",
"station": [
{
"id": "BE.NMBS.008400319",
"name": "'s Hertogenbosch",
"locationX": "5.294278",
"locationY": "51.69042",
"standardname": "'s Hertogenbosch"
}
]
}curl "https://api.irail.be/stations/?format=json"const res = await fetch("https://api.irail.be/stations/?format=json");
const data = await res.json();
console.log(data);import requests
res = requests.get("https://api.irail.be/stations/?format=json")
print(res.json())/stations/?format=jsonPROBEDBelgian rail stations, schedules and live departures as JSON
/stations/?limit=5Stations — documented GET route.
/stations/?page=1Stations — documented GET route.
/terms/unknownUnknown — documented GET route.
/terms/lowLow — documented GET route.
/terms/mediumMedium — documented GET route.
We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.
Stable. No schema drift observed since monitoring began — the response shape has not changed under our checks.
Transport for Belgium: common questions
Is Transport for Belgium free to use?
Yes — Transport for Belgium is a free transport API. Free tier: Free — no key. Whether the free tier allows commercial use is unclear — check the provider docs.
Does Transport for Belgium need an API key?
No — Transport for Belgium needs no API key or signup. You can call it straight away; rate limits still apply (Unpublished).
Can I call Transport for Belgium from the browser?
Yes — Transport for Belgium returns CORS headers over HTTPS, so front-end code can fetch it directly with no backend proxy. Use the fetch snippet on this page, or hit "Run live" to try it now.
Is Transport for Belgium up right now?
As of our last scheduled check, Transport for Belgium is new. We re-probe it every sweep — the status badge and uptime chart above always show the latest.