get_port_events
Retrieve port arrival and departure events by UN/LOCODE. Optionally set a time window to fetch historical data beyond the default 2-hour span.
Instructions
Get port events (arrivals/departures) for a specific port. Covers only the last 2 hours unless timeFrom is given.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Results per page, 1 to 50. Defaults to 20. | |
| timeTo | No | End of the time window, RFC3339. Defaults to now. | |
| timeFrom | No | Start of the time window, RFC3339. Without it the service returns only the last 2 hours. | |
| unlocode | Yes | UN/LOCODE of the port | |
| nextToken | No | Pagination token from previous response |