Import Availability
import_availabilityContainer-level import status at a named APM Terminals facility, sourced directly from the terminal operating system: ready-for-delivery, container state (advised/inbound/yard/loaded/departed/retired), discharge time, yard location, freight/customs holds, demurrage owed, storage-paid-through date, vessel and appointment details. Look up by container number(s) or Bill of Lading 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": "WFHU5080179,EGHU9044403",
"facility_code": "USLAX"
},
"name": "import_availability"
}
}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 IDs or Bill of Lading numbers, comma-separated, e.g. "WFHU5080179,EGHU9044403". | |
| 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 | Import containers as returned by APM Terminals, normalized. | |
| facility_code | No | APM Terminals facility code the lookup ran against. | |
| container_count | No | Number of import containers returned. |