Skip to main content
All CollectionsResources & MethodologyAPI Services Methodology
I do not receive NEXT_PORT_* in my API response
I do not receive NEXT_PORT_* in my API response
V
Written by Vasilis Kontas
Updated over 3 weeks ago

When utilizing MarineTraffic’s API services, you might notice that certain fields prefixed with NEXT_PORT_ —such as NEXT_PORT_ID, NEXT_PORT_UNLOCODE, NEXT_PORT_NAME, or NEXT_PORT_COUNTRY—are occasionally empty in the API responses. This typically occurs due to the following reasons:

  1. Unrecognized Destination Input:

  2. Vessel destinations are transmitted via AIS and manually entered by the vessel’s crew. Inconsistencies like abbreviations or typographical errors can render the input unrecognizable by our algorithms, resulting in empty NEXT_PORT_* fields.

  3. Outdated Destination Information:

  4. If the crew does not update the AIS with the current destination, the system may display the origin port or an outdated location as the destination. Our algorithms deem such data invalid, leading to null NEXT_PORT_* fields.

  5. Stale Vessel Position Data:

  6. When a vessel’s position hasn’t been updated for several hours, it creates uncertainty about its destination. Consequently, the NEXT_PORT_* fields remain empty until more recent data is available.

Understanding these factors can help in interpreting API responses accurately and setting appropriate expectations regarding the availability of destination-related data.


Did this answer your question?