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. The sanctions column gives the codes of the sanctions lists (OFAC, UK, EU) that name the ship's IMO number; informational only, not a compliance determination. 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: in port at any time in the range; arrival: arrived in the range; departure: departed in the range | any |
| port_id | Yes | Port id from find_port |