PortCalls
Returns arrival and departure events for a port (locode) or for vessels (imo/mmsi). If locode is given, imo and mmsi are ignored.
Use last_id for incremental polling: only events with an ID greater than the value are returned, and fromdate/todate are ignored.
Request
- Base URLhttps://api.vesselfinder.com
- AuthAPI key in query parameter userkey
Query parameters
Response format.
Set to 409 to receive errors as HTTP 409 with a plain-text body instead of HTTP 200 with an error object.
UN/LOCODE of the port. Required unless imo or mmsi is given.
Comma-separated IMO numbers. Ignored when locode is given.
Comma-separated MMSI numbers. Ignored when locode is given.
Maximum age of events, in minutes. Required unless fromdate/todate or last_id is used.
Start of the time window, UTC, YYYY-MM-DD HH:MM:SS.
End of the time window, UTC, YYYY-MM-DD HH:MM:SS.
Return only events with ID greater than this value. Overrides fromdate and todate.
Filter by event type.
Additional datasets. voyage is available only for arrivals at a selected port.
0 exclude anchorages, 1 include, 2 anchorages only.
1 returns only vessels that have an IMO number.
Maximum number of returned records.
Response
Port call events.
Example response
[
{
"AIS": {
"MMSI": 304491000,
"TIMESTAMP": "2017-08-11 11:15:15 UTC",
"ZONE": "North Sea"
}
}
]Changes
No recorded changes to this operation across all 1 revision of this API.