Using real-time AIS and machine learning models, the Next Port module by GateHouse Maritime computes predictions for vessels heading towards a specific destination as their next port call. Supplying a specific location, for instance Singapore (SGSIN) thus returns a list of vessels deemed as heading towards Singapore.
Please note that the Next Port module is currently in a proof-of-concept phase.
At the moment, the simplest way to access resources and see current predictions is to add the following link, when looking at for instance Singapore, in a browser to see the list of vessels heading to that location: https://demo2.ghmaritime.com/api/shiptracker/nextport/arrivals/SGSIN