NMBS/SNCB Belgian Train Scraper
Pricing
Pay per usage
NMBS/SNCB Belgian Train Scraper
Scrape Belgian railway data (NMBS/SNCB) — train connections, station liveboards, and station lists via the iRail API.
Pricing
Pay per usage
Rating
0.0
(0)
Developer
Jelle Desramaults
Actor stats
0
Bookmarked
2
Total users
1
Monthly active users
3 days ago
Last modified
Categories
Share
Fetches Belgian railway data from the iRail API -- train connections, live departures/arrivals, and the full station list. This is not a product scraper; it returns transport data.
Three modes
1. Connections
Find train routes between two stations. Returns departure/arrival times, duration, transfers, platform numbers, delays, occupancy level, and vehicle (train) types.
2. Liveboard
Get real-time departures or arrivals at a specific station. Shows delays, platform changes, and cancellations.
3. Stations
List all Belgian railway stations with their coordinates and standard names.
Input
| Field | Type | Required | Description |
|---|---|---|---|
mode | String | Yes | "connections", "liveboard", or "stations" |
fromStation | String | Connections | Departure station name (e.g., "Brussel-Zuid") |
toStation | String | Connections | Arrival station name (e.g., "Antwerpen-Centraal") |
station | String | Liveboard | Station name for liveboard |
date | String | No | Date in DDMMYY format (default: today) |
time | String | No | Time in HH:MM format (default: now) |
language | String | No | "nl", "fr", "en", or "de" |
maxResults | Integer | No | Limit results (default: 20) |
proxyConfiguration | Object | No | Proxy settings |
Example: connections output
{"departureStation": "Brussel-Zuid/Bruxelles-Midi","departureTime": "2026-03-16T08:13:00.000Z","departurePlatform": "3","departureDelay": 0,"arrivalStation": "Antwerpen-Centraal","arrivalTime": "2026-03-16T08:52:00.000Z","arrivalPlatform": "12","arrivalDelay": 2,"duration": "39min","durationSeconds": 2340,"transfers": 0,"vehicles": ["IC 1532"],"canceled": false,"occupancy": "medium","scrapedAt": "2026-03-16T08:00:00.000Z"}
Data source
All data comes from the iRail API, a community-maintained open API for Belgian rail data (NMBS/SNCB). It is free, requires no API key, and returns JSON.
Cost
Extremely cheap -- pure API calls, no browser, no HTML parsing. Thousands of requests cost fractions of a cent.
Notes
- Station names should match the official NMBS names (e.g.,
"Brussel-Zuid", not"Brussels South") - Delays are returned in minutes
- Occupancy levels:
"low","medium","high", or"unknown" - The iRail API occasionally returns 500 errors during high traffic; the scraper retries automatically