To get a list of port calls a given ship has had for a certain period of time, use the following API operation:
The payload for the request must define the start and end date for the period, as well as info about the ship (like MMSI, name etc.). Not being that computationally heavy the result is returned immediately.
The result will contain a list of port calls each with source and destination port together with Actual Time of Arrival (ATA) and Actual Time of Departure (ATD).
For usage example see Get historical trips.