Port arrivals and departures (API key)
port_callsShips that called at one port between two times (UTC, ISO 8601), from the AIS Trail archive: ship (with its flag from the MMSI), arrival, departure, draught on arrival and departure, cargo estimate, previous and next port. Get the port_id from find_port. event: any (in port at any time in the range, default), arrival or departure. Needs an AIS Trail API key sent by the MCP client as the HTTP header 'Authorization: Bearer ap_live_…'. At most 100 port calls per call and at most 366 days; the plan's rules and credits (1 per port call returned) apply as for vessel_port_calls.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | End, e.g. 2026-09-02T00:00:00Z | |
| from | Yes | Start, e.g. 2026-09-01T00:00:00Z | |
| event | No | any | |
| port_id | Yes |