get stations
This block is part of the NS group and was last modified in core v15.0.0.
get stations v15.0.0 List or search NS stations. Leave the search empty to retrieve all stations.
- flow
flow - Connection required
nsconnectionThe NS connection.
- Search
valueOptional search text to filter stations by name.
- Country codes
valueOptional comma-separated country codes to filter on (e.g. nl,be,de).
- Limit
numberMaximum number of stations to return (only applied together with a search).
- flow
flow - Connection
nsconnectionThe NS connection.
- Success
conditionTrue if the request succeeded.
- Stations
arrayThe matching stations, each with name, code, uic_code, country and a ready-to-use geo_point.
- Count
numberNumber of stations returned.
- Error
valueError message if the request failed.
stations |
stationslijst |
A typical wiring for get stations: branch feeds the flow pin; open connection feeds the connection pin; the flow out pin feeds foreach.

Commonly used with
In production blueprints, this block is most often wired together with:
- foreach: this block feeds into it.
- branch: feeds into this block.
- open connection: feeds into this block. Open a connection with the NS (Nederlandse Spoorwegen) Reisinformatie API. Reuse the resulting connection in the other NS blocks.
Version history
Introduced in v15.0.0.
Back to
NS Return to the main group to view all sub-groups Back to NS Return to the group to view all blocks within this group
