Matching AIS destination values to port UN/Locodes
Vessels report their destination port in AIS static voyage messages (message type 5 for class A and message type 24 for class B AIS) as free text values. However there is no standard for these values and they can take many variations on port names, sometimes including locodes, country codes or local variations of port names among other values.
Each port does however have a recognised international code which is the United Nations Code for Trade and Transport Locations( UN/LOCODE) from the database defined here
When the AIS reported destination is successfully matched, the following fields will be added to the standard Vessels API response