Skip to content
API Builders
TF

TransportationPublic API

Transport for Belgium

The iRail API is a third-party API for Belgian public transport by train

Visit documentationSnapshot 2026-10-26

Before you call it

What this listing means in practice

01

No key to obtain

You can make a request immediately. Be considerate with volume anyway: open APIs often publish informal rate limits, and some will block clients that hammer them.

02

HTTPS supported

Requests can be made over TLS. Use HTTPS endpoints in production so browsers do not block the call as mixed content.

03

CORS enabled

The provider sends browser-friendly CORS headers, so you can call the API from client-side JavaScript without a proxy — subject to any key restrictions.

Documentationexternal

Start with the provider's own documentation. It is the only place where endpoints, rate limits, pricing and terms are authoritative.

https://docs.irail.be/

No API calls are proxied by this directory. Links go directly to the provider.

API listings describe access requirements, not endorsements. Review each provider's privacy policy, terms and rate limits.

Overview

About Transport for Belgium

Transport for Belgium needs no API key. That puts it among 47 of the 97 transportation APIs we list that you can try without signing up.

It also supports HTTPS and CORS, so you can call it straight from browser JavaScript with no key and no proxy. Only 14 transportation APIs tick all three boxes.

Documentation is on docs.irail.be.

Transportation APIs in general

Transport APIs cover public transit timetables, real-time arrivals, bike shares, flights, trains and road traffic, often from city transit agencies.

What people build with them

  • Next-departure boards
  • Journey planners
  • Commute alerts

Watch out for

Real-time feeds can drop out for whole lines. Fall back to the timetable and tell users the data is scheduled, not live.

First request

Calling Transport for Belgium

Works in the browser or in Node.

JavaScript// Replace the path with an endpoint from the Transport for Belgium docs
const res = await fetch("https://docs.irail.be/<endpoint>");
if (!res.ok) throw new Error(`Transport for Belgium returned ${res.status}`);
const data = await res.json();

Compare

Transport for Belgium vs similar APIs

APIAuthHTTPSCORS
Transport for BelgiumNo keyYesYes
RailworksNo keyYesYes
OpenVanNo keyYesYes
India EV Charging StationsNo keyYesYes
GTFS ScorecardNo keyYesYes
ConnectMeGuruNo keyYesYes

FAQ

Common questions about Transport for Belgium

Does Transport for Belgium need an API key?

No. Transport for Belgium is listed with no authentication, so you can send a request without registering.

Can I call Transport for Belgium from the browser?

CORS is listed as enabled, so frontend JavaScript can call it directly.

Is Transport for Belgium free?

No key is required, which usually means free access, but providers can still limit volume. Check Transport for Belgium's docs for rate limits and fair-use terms.

What are some alternatives to Transport for Belgium?

Other transportation APIs in the directory include Railworks (no key), OpenVan (no key), India EV Charging Stations (no key). The comparison table on this page shows how they differ on authentication, HTTPS and CORS.

Next step

Keep looking until the constraints fit.

Filter the directory by authentication, HTTPS and CORS, or start from a category and work backwards.