Parameters
| Query parameter | Meaning | Example |
|---|---|---|
bookingReference | The booking reference Airlift issued for the shipment. | AIRLAMD132196 |
Send Authorization: Bearer <token> with every request. The token comes from the OAuth 2.0 client credentials flow and must carry the bookings:read scope.
Example request
curl 'https://api.airliftusa.com/api/v1/api-service/external/booking?bookingReference=AIRLAMD132196' \
--header 'Authorization: Bearer YOUR_TOKEN'Example response (200)
{
"carrierServiceCode": "TA1",
"carrierExportVoyageNumber": "403W",
"vessel": { "name": "MAERSK IOWA", "vesselIMONumber": "9298686" },
"expectedDepartureDate": "2024-01-20",
"expectedArrivalDate": "2024-02-14",
"shipmentLocations": [
{ "locationTypeCode": "POL", "location": { "UNLocationCode": "DEBRV", "locationName": "Bremerhaven" } },
{ "locationTypeCode": "POD", "location": { "UNLocationCode": "USORF", "locationName": "Norfolk" } }
],
"requestedEquipments": [
{
"ISOEquipmentCode": "42G1",
"units": 3,
"isShipperOwned": false,
"commodities": [
{ "commodityType": "Dry cargo, Freight all kinds", "cargoGrossWeight": { "value": 36000, "unit": "KGM" } }
]
}
],
"cargoMovementTypeAtOrigin": "FCL",
"cargoMovementTypeAtDestination": "FCL",
"receiptTypeAtOrigin": "CY",
"deliveryTypeAtDestination": "CY",
"incoTerms": "EXW",
"freightPaymentTermCode": "PRE",
"serviceContractReference": "HHL51800000",
"contractQuotationReference": "HHL1401",
"references": [{ "type": "CR", "value": "KN-00103004" }],
"documentParties": {
"bookingAgent": { "partyName": "KN Bremerhaven", "address": { "city": "Bremerhaven", "countryCode": "DE" } }
}
}- shipmentLocations carries the port of loading (POL) and port of discharge (POD) as UN/LOCODEs.
- requestedEquipments lists each container type by ISO equipment code with the number of units and the commodities inside.
- The payment term codes (PRE prepaid, COL collect) apply to freight, origin charges and destination charges separately.
Other status codes: 400 missing or invalid parameter, 401 token missing or expired, 403 scope not granted, 404 nothing matches the reference, 500 server error. Limits are 60 requests a minute and 4,000 an hour per consumer, reported in the X-RateLimit-* headers.
Frequently asked questions
What is the booking reference?
The reference Airlift issues when it confirms a booking, for example AIRLAMD132196. It is the same reference printed on the booking confirmation and used by the tracking and documents endpoints.
How do I list bookings rather than fetch one?
Use the Ocean Booking Service endpoint, POST /bookings, which pages through all bookings for your account and accepts a status filter.
Other endpoints
- GET /trackntrace · Track & Trace Events
- POST /bookings · Ocean Booking Service
- GET /documents · Commercial Shipping Documents
- GET /invoices · Invoices Data Service
- GET /invoice · Invoice Data
- All API documentation
- Free tariff API
Need access? Register your application in the developer portal; the API is open to approved Airlift customers.