---
title: "get arrivals · RUAL Documentation"
description: "Get the live arrival board for a station. Provide the station code or the UIC code."
canonical: https://docs.rual.nl/block-types/NS/nsconnection_arrivals
language: en
---

# get arrivals

This block is part of the [`NS`](https://docs.rual.nl/block-types/NS) group and was last modified in core [`v15.0.0`](https://docs.rual.nl/core-versions/150000).

Get the live arrival board for a station. Provide the station code or the UIC code.

- flow `flow`

- Connection required `nsconnection` The NS connection.

- Station code required `value` NS station code (e.g. ut for Utrecht Centraal). Either this or the UIC code is required. • Hidden when other fields are filled

- UIC code required `value` UIC code of the station. Either this or the station code is required. • Hidden when other fields are filled

- Date / time `date` Show arrivals from this moment onward. Defaults to now.

- Max journeys `number` Number of arrivals to return. Defaults to 40.

Default `40`

- Language `value` Language for localized text (e.g. nl or en). Defaults to Dutch.

- flow `flow`

- Connection `nsconnection` The NS connection.

- Success `condition` True if the request succeeded.

- Arrivals `array` The arrivals, each with origin, planned/actual track, planned_date_time and actual_date_time as unix timestamps, and delay_minutes.

- Count `number` Number of arrivals returned.

- Source `value` The data source reported by NS.

- Error `value` Error message if the request failed.

| `aankomsttijden` |
| --- |
| `arrivals` |
| `aankomst` |

A typical wiring for [get arrivals](https://docs.rual.nl/block-types/NS/nsconnection_arrivals): a [function trigger](https://docs.rual.nl/block-types/globals/trigger_custom_function) starts the flow; [open connection](https://docs.rual.nl/block-types/NS/nsconnection_open) feeds the `connection` pin; [value](https://docs.rual.nl/block-types/value/value_default) feeds the `station` pin; [value](https://docs.rual.nl/block-types/value/value_default) feeds the `uic_code` pin; the `flow` out pin feeds [debug](https://docs.rual.nl/block-types/state%20ui/state_debug).

![Studio canvas example for the get arrivals block: typical wiring for get arrivals.](https://docs.rual.nl/canvas-examples/nsconnection_arrivals.png)

### Version history

Introduced in [`v15.0.0`](https://docs.rual.nl/core-versions/150000).
