Terminal Vessel Schedule
terminal_vessel_scheduleVessel arrival/departure schedule at a named APM Terminals facility, scheduled, latest and actual ETA/ETD, cargo and reefer cut-off times, berth, operator and shipping lines, covering vessels calling the terminal in the past 7 and upcoming 14 days. Look up by vessel name or vessel Lloyds code, optionally narrowed by inbound/outbound voyage number. BYO-key only: this product is billed per terminal per 30-day cycle by APM Terminals, so it requires your own API key (OAuth2 client credentials), see _apiKey. Pipeworx's shared key does not cover it.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"asset_id": "MAERSK NORTHAMPTON",
"facility_code": "USLAX"
},
"name": "terminal_vessel_schedule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _apiKey | No | OAuth2 credentials as "<consumer_key>:<consumer_secret>" from a free APM Terminals API Store developer account (https://developer.apmterminals.com/), sign up, accept the free Data Services Plan, register an App to get a Consumer Key/Secret. Without this the tool refuses rather than guessing. | |
| asset_id | Yes | A single vessel name or vessel Lloyds code, e.g. "MAERSK NORTHAMPTON". Only one vessel per call. | |
| facility_code | Yes | The terminal's UN/LOCODE, e.g. "USLAX" (Los Angeles), "NLMSV" (Maasvlakte II, Rotterdam), "ESALG" (Algeciras), "ESBCN" (Barcelona), "USMOB" (Mobile), "USNWK" (Port Elizabeth), "USMIA" (Miami), "MAPTM" (Tangier), "SEGOT" (Gothenburg), "ITVDL" (Vado), "NGAPP" (Apapa), "BHKBS" (Bahrain), "ARBUE" (Buenos Aires), "INNSA" (Mumbai), "INPPV" (Pipavav), "JOAQJ" (Aqaba), "DKAAR" (Aarhus), "GTPRQ" (Puerto Quetzal), "GEPTI" (Poti), "CRMOB" (Moin), "COBUN" (Buenaventura), "HRRJK" (Rijeka), "ESGIJ" (Gijon), "PECLL" (Callao). Only one terminal per call. Data is not available for every APM Terminals facility, the vendor rolls coverage out gradually. | |
| inbound_voyage_number | No | Optional inbound voyage number to narrow the match. | |
| outbound_voyage_number | No | Optional outbound voyage number to narrow the match. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | Publisher and dataset. | |
| visits | No | Vessel visits as returned by APM Terminals, normalized. | |
| visit_count | No | Number of vessel visits returned. | |
| facility_code | No | APM Terminals facility code the lookup ran against. |