Container Event History
container_event_historyFull lifecycle event history for one or more containers at a named APM Terminals facility, creation, booking/EDO reservation, vessel discharge, yard moves, operator changes, storage updates, each event timestamped, sourced directly from the terminal operating system. Look up by container number(s) at one terminal. BYO-key only: this product is billed per call 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": "TCLU1619533,MRSU3638119",
"facility_code": "USLAX"
},
"name": "container_event_history"
}
}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 | One or more container numbers, comma-separated, e.g. "TCLU1619533,MRSU3638119". | |
| 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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | Publisher and dataset. | |
| containers | No | Containers with event history as returned by APM Terminals, normalized. | |
| facility_code | No | APM Terminals facility code the lookup ran against. | |
| container_count | No | Number of containers with event history returned. |