Transport for Belgium

Belgian rail stations, schedules and live departures as JSON

🚆 TransportNEWchecked 1h ago
AUTH NONECORS AGENT HTTPS COMMERCIAL ?

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.

HOW IT'S SCORED ⓘ
Status badge · for your READMEshipapis health badge: — · new
Uptime history
—%90 days
—%30 days
P50 · ms
P95 · ms
operationalpartialdownno data
Live response samplecaptured by our last successful check
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"
    }
  ]
}
Call itcurl · fetch · python
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())
Endpoints · 6NewFULL DOCS ↗
Monitored path responding — GET /stations/?format=jsonchecked 1h ago
GET/stations/?format=jsonPROBED

Belgian rail stations, schedules and live departures as JSON

GET/stations/?limit=5

Stations — documented GET route.

GET/stations/?page=1

Stations — documented GET route.

GET/terms/unknown

Unknown — documented GET route.

GET/terms/low

Low — documented GET route.

GET/terms/medium

Medium — documented GET route.

Machine-readable spec

We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.

Response-shape history

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.