iRail Train Connections
irail.transit.connectionsFind train connections between two Belgian railway stations with up to 10 journeys, including times, duration, delays, transfers, platforms, and cancellations. Choose departure or arrival time.
Instructions
Find train connections between two Belgian railway stations — returns up to 10 journeys with departure/arrival times, total duration, delays, transfer stations (vias), train numbers, platform numbers, and cancellation flags. Supports departure or arrival time selection. No auth required. Data: iRail real-time SNCB/NMBS Belgium train data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Arrival station name (e.g. "Antwerpen-Centraal", "Brugge"). Must match Belgian spelling. | |
| date | No | Date in DDMMYY format (e.g. "290626" for 29 June 2026). Defaults to today. | |
| from | Yes | Departure station name (e.g. "Brussel-Zuid", "Gent-Sint-Pieters"). Must match Belgian spelling. | |
| lang | No | Language for station and direction names. Default: en. | |
| time | No | Time in HHMM format (e.g. "1430" for 14:30). Defaults to current time. | |
| results | No | Number of connections to return (1–10). Default: 6. | |
| timesel | No | Whether the provided time is the desired departure time or arrival time. Default: depart. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |