# Digitraffic Finland: roads, ships and trains

Finnish Transport Infrastructure Agency traffic data from Fintraffic Digitraffic: live road traffic messages, road weather and traffic-count stations, ship positions and port calls, and live train timetables.

- No API key needed to call
- Source: [Fintraffic Digitraffic](https://www.digitraffic.fi/en/)
- Licence and terms: [CC BY 4.0](https://www.digitraffic.fi/en/terms-of-service/)
- Coverage: Finland and Finnish waters
- Answers are shared and cached for 60 seconds.

## Questions you can ask

- What road disruptions are active in Finland right now? (operation `digitraffic_road_messages`)
- Which road weather stations are near Helsinki? (operation `digitraffic_road_weather_nearest`)
- What is the road weather at station 1002 near Helsinki? (operation `digitraffic_road_weather_data`)
- Which traffic counting stations are near Helsinki? (operation `digitraffic_traffic_counts_nearest`)
- How much traffic is passing station 23001 right now? (operation `digitraffic_traffic_counts_data`)
- Which ships are near Helsinki harbour? (operation `digitraffic_vessels_near`)
- Which ship has MMSI 230055040? (operation `digitraffic_vessel_details`)
- Which ships are due at the Port of Helsinki? (operation `digitraffic_port_calls`)
- What trains leave Helsinki next and are any late? (operation `digitraffic_trains_station`)
- Is commuter train 8031 running on time? (operation `digitraffic_train_by_number`)
- What is the station code for Tampere? (operation `digitraffic_rail_stations`)

## Operations

### Finnish road traffic messages

Answers: which road incidents, roadworks, weight restrictions or traffic announcements are active in Finland, optionally only on one road number or in one municipality? Newest update first.

- `situation_type`: required, string, TRAFFIC\_ANNOUNCEMENT \| EXEMPTED\_TRANSPORT \| WEIGHT\_RESTRICTION \| ROAD\_WORK, default TRAFFIC\_ANNOUNCEMENT, TRAFFIC\_ANNOUNCEMENT \(incidents and disruptions\), ROAD\_WORK, WEIGHT\_RESTRICTION or EXEMPTED\_TRANSPORT.
- `road`: optional, integer, Optional road number, for example 4 for highway 4.
- `municipality`: optional, string, Optional municipality name as Digitraffic spells it, for example Salo.

Example: What road disruptions are active in Finland right now?

Over MCP:

```
{"tool":"call_connector_operation","arguments":{"connector":"digitraffic","operation":"digitraffic_road_messages","params":{"situation_type":"TRAFFIC_ANNOUNCEMENT"}}}
```

Over HTTP:

```
curl '/v1/connectors/digitraffic/digitraffic_road_messages?situation_type=TRAFFIC_ANNOUNCEMENT'
```

### Nearest Finnish road weather stations

Answers: which road weather stations are closest to a point in Finland? Returns station ids to use with the road weather data operation.

- `lat`: required, number, Latitude.
- `lon`: required, number, Longitude.
- `limit`: optional, integer, default 5

Example: Which road weather stations are near Helsinki?

Over MCP:

```
{"tool":"call_connector_operation","arguments":{"connector":"digitraffic","operation":"digitraffic_road_weather_nearest","params":{"lat":60.17,"lon":24.94}}}
```

Over HTTP:

```
curl '/v1/connectors/digitraffic/digitraffic_road_weather_nearest?lat=60.17&lon=24.94'
```

### Finnish road weather station readings

Answers: what are the current air temperature, road surface temperature, wind, humidity, rain and road condition readings at one Finnish road weather station?

- `station_id`: required, integer, Station id from the nearest-stations operation.

Example: What is the road weather at station 1002 near Helsinki?

Over MCP:

```
{"tool":"call_connector_operation","arguments":{"connector":"digitraffic","operation":"digitraffic_road_weather_data","params":{"station_id":1002}}}
```

Over HTTP:

```
curl '/v1/connectors/digitraffic/digitraffic_road_weather_data?station_id=1002'
```

### Nearest Finnish traffic counting stations

Answers: which automatic traffic counting \(TMS\) stations are closest to a point in Finland? Returns station ids to use with the traffic count data operation.

- `lat`: required, number, Latitude.
- `lon`: required, number, Longitude.
- `limit`: optional, integer, default 5

Example: Which traffic counting stations are near Helsinki?

Over MCP:

```
{"tool":"call_connector_operation","arguments":{"connector":"digitraffic","operation":"digitraffic_traffic_counts_nearest","params":{"lat":60.17,"lon":24.94}}}
```

Over HTTP:

```
curl '/v1/connectors/digitraffic/digitraffic_traffic_counts_nearest?lat=60.17&lon=24.94'
```

### Finnish traffic counts and speeds at a station

Answers: how many vehicles passed, and how fast, at one Finnish traffic counting station in the last 5 and 60 minutes, per direction?

- `station_id`: required, integer, Station id from the nearest-stations operation.

Example: How much traffic is passing station 23001 right now?

Over MCP:

```
{"tool":"call_connector_operation","arguments":{"connector":"digitraffic","operation":"digitraffic_traffic_counts_data","params":{"station_id":23001}}}
```

Over HTTP:

```
curl '/v1/connectors/digitraffic/digitraffic_traffic_counts_data?station_id=23001'
```

### Ships near a point in Finnish waters (AIS)

Answers: which vessels have reported their position by AIS within a radius of a point in the Baltic Sea area covered by Finland? Returns MMSI, position, speed, course and heading, nearest first.

- `latitude`: required, number, Latitude.
- `longitude`: required, number, Longitude.
- `radius`: optional, integer, default 20, Radius in kilometres.

Example: Which ships are near Helsinki harbour?

Over MCP:

```
{"tool":"call_connector_operation","arguments":{"connector":"digitraffic","operation":"digitraffic_vessels_near","params":{"latitude":60.15,"longitude":24.95,"radius":20}}}
```

Over HTTP:

```
curl '/v1/connectors/digitraffic/digitraffic_vessels_near?latitude=60.15&longitude=24.95&radius=20'
```

### Ship details by MMSI (AIS)

Answers: what is the name, call sign, IMO number, type, destination and size of the ship with this MMSI, per its latest AIS static report?

- `mmsi`: required, integer, Nine digit MMSI number.

Example: Which ship has MMSI 230055040?

Over MCP:

```
{"tool":"call_connector_operation","arguments":{"connector":"digitraffic","operation":"digitraffic_vessel_details","params":{"mmsi":230055040}}}
```

Over HTTP:

```
curl '/v1/connectors/digitraffic/digitraffic_vessel_details?mmsi=230055040'
```

### Port calls at a Finnish port

Answers: which ships are arriving at or leaving a Finnish port, with expected and actual times, berth and previous and next port? Takes a UN/LOCODE such as FIHEL \(Helsinki\).

- `locode`: required, string, Finnish UN/LOCODE of the port, for example FIHEL, FITKU \(Turku\), FIKTK \(Kotka\).

Example: Which ships are due at the Port of Helsinki?

Over MCP:

```
{"tool":"call_connector_operation","arguments":{"connector":"digitraffic","operation":"digitraffic_port_calls","params":{"locode":"FIHEL"}}}
```

Over HTTP:

```
curl '/v1/connectors/digitraffic/digitraffic_port_calls?locode=FIHEL'
```

### Live trains at a Finnish station

Answers: which trains are about to depart from a Finnish station, with scheduled and estimated times, track, delay in minutes and cancellation status?

- `station`: required, string, Station short code, for example HKI \(Helsinki\), TPE \(Tampere\), TKU \(Turku\). Look codes up with the station search operation.
- `count`: optional, integer, default 8, How many upcoming departures.

Example: What trains leave Helsinki next and are any late?

Over MCP:

```
{"tool":"call_connector_operation","arguments":{"connector":"digitraffic","operation":"digitraffic_trains_station","params":{"station":"HKI","count":5}}}
```

Over HTTP:

```
curl '/v1/connectors/digitraffic/digitraffic_trains_station?station=HKI&count=5'
```

### One Finnish train by date and number

Answers: where is this train on this date, which commercial stops does it make, and how late is it at each?

- `date`: required, string, Departure date, YYYY-MM-DD.
- `train_number`: required, integer, Train number, for example 8031.

Example: Is commuter train 8031 running on time?

Over MCP:

```
{"tool":"call_connector_operation","arguments":{"connector":"digitraffic","operation":"digitraffic_train_by_number","params":{"date":"2026-12-04","train_number":8031}}}
```

Over HTTP:

```
curl '/v1/connectors/digitraffic/digitraffic_train_by_number?date=2026-12-04&train_number=8031'
```

### Search Finnish railway stations

Answers: what is the station short code, UIC code and location of a Finnish railway station, found by name or code?

- `name`: required, string, Part of the station name or its exact short code.

Example: What is the station code for Tampere?

Over MCP:

```
{"tool":"call_connector_operation","arguments":{"connector":"digitraffic","operation":"digitraffic_rail_stations","params":{"name":"Tampere"}}}
```

Over HTTP:

```
curl '/v1/connectors/digitraffic/digitraffic_rail_stations?name=Tampere'
```

## Source notice

Source: Fintraffic Digitraffic. Terms: "Fintraffic's open data is licensed under the Creative Commons 4.0 By license." The licence asks that the source is credited; values are trimmed here, which is a change to the presentation only. Fintraffic does not endorse this presentation.

## Missing something?

Tell us what data, endpoint or feature you wish we had. It is free and needs no signup: call the MCP tool request_capability, or POST a short description to https://agentnative.dennery.ai/v1/capabilities/request.
