API Reference

See the detailed description of every field in your Quote & Book response

Search Response Objects Definition

NameTypeDescription
idstringSearch Id for getting missing results
statusstringSearch status
resultsURLstringFlyWINDOW link
flights[]FlightFound flights

Flight Object

NameTypeDescription
flightUUIDstringUnique flight id for booking
flightUIDstringUnique flight id for booking (DEPRECATED)
airlineCodestringFlight airline code
flightNumberstringFlight number (with airline code). In case of connected flights flight numbers of every leg, e.g. "00768-00687"
arrivalTimestringFlight arrival time and date in the format YYYY-MM-DDTHH:MM:SS±HH:MM
arrivalAirportstringFlight arrival airport code
departureTimestringFlight departure time and date in the format YYYY-MM-DDTHH:MM:SS±HH:MM
departureAirportstringFlight departure airport code
latestAcceptanceTimestringLatest acceptance time at the first origin warehouse
timeOfAvailabilitystringThe earliest time the shipment will be at the final destination
stopsintNumber of stops
legs[]LegLegs of the flight
featuresFlightFeaturesFeatures available for the flight
rates[]RateRates available for the flight
availableboolIndicates whether flight is eligible for booking ("bookable" in FlightFeatures has to be true as well)
availableReasonstringReasons for not available booking
awbPrefixes[]stringAWB prefixes that can be used with the airline
airlineConditionsstringConditions imposed by airline
salesConditionsstringConditions related to the sale of the rate imposed by airline (can be related to product, market, etc.)
contacts[]stringEmail addresses for questions regarding booking to GHA or airline
handlingInfoLinkstringLink to Terms and Conditions
ghaNamestringGround Handling Agent name
hlestring"Heure Limite d'Enregistrement" refer to latestAcceptanceTime
ghaAddressstringGround Handling Agent address

Leg Object

NameTypeDescription
flightNumberstringLeg flight number (with airline code)
arrivalTimestringLeg arrival time and date in the format YYYY-MM-DDTHH:MM:SS±HH:MM
arrivalAirportstringLeg arrival airport code
departureTimestringLeg departure time and date in the format YYYY-MM-DDTHH:MM:SS±HH:MM
departureAirportstringLeg departure airport code
bodyTypestringLeg aircraft body type (Narrowbody, Widebody, Surface, Freighter or Unknown)
aircraftCodestringLeg aircraft code (ex: B72)
co2CO2CalculationLeg CO2 emissions calculation
detailedFlightNumberFlightNumberLeg flight number as carrier code and number separately

CO2Calculation Object

NameTypeDescription
valuefloat64CO2 emissions in kg
estimationboolIndicates whether the value is an estimation or a calculated exact number

FlightNumber Object

NameTypeDescription
carrierstringCarrier code part of a flight number
numberstringNumbers part of a flight number

FlightFeatures Object

NameTypeDescription
bookableboolIndicates whether flight is eligible for booking ("available" in the Flight has to be true as well)
awbOptionalboolIndicates whether booking will require an AWB number or not
allotmentboolIndicates whether flight booking is eligible to be placed under allotment ***

Rate Object

NameTypeDescription
idstringRate id for booking
namestringRate name provided by airline
typestringRate type (live, express, Market, Contract, Promo or Express*)
currencystringRate currency
netRatefloat64Net rate: applied to a shipment without the charges calculation (rate/kg)
allInRatefloat64All in rate: applied to a shipment with the charges calculation (rate/kg)
totalfloat64Total price applied to a shipment
minimumRateboolIndicates whether the rate to apply is the lowest price the carrier will charge for this shipment
lastUpdatedDatestringRate last updated date
charges[]ChargeRate charges
ocdc[]ChargeRate OCDC** charges
isManualRateboolIndicates whether the rate has been manually uploaded into cargoAi system (not bookable with API)
isSpotQuoteRateboolIndicates whether the rate is a spot rate
latestAcceptanceTimestringLatest acceptance time at the first origin warehouse (rate specific)
timeOfAvailabilitystringThe earliest time the shipment will be at the final destination (rate specific)
handlingCodes[]stringHandling codes for which rate is applicable
allotmentCodestringAllotment code***

* Dynamic rates are all in lower case when static rates are starting with capital letter. express is dynamic; Express is static.

** In airfreight, OCDC (Other Charge Due Carrier) refers to additional fees or surcharges that the carrier imposes on the shipment. These charges are collected to cover costs not included in the base airfreight rate, which could arise from handling, security, fuel, or special services required for the cargo. Most of the time they are collected apart and are part of the all-in rate calculation, because they are just here as information and depends of the shipments.

Charge Object

NameTypeDescription
labelstringCharge label
ratefloat64Charge rate
typestringCharge type (SHIPMENT, GROSS_WEIGHT or CHARGEABLE_WEIGHT)
codestringCharge code
minAmountfloat64Refers to the minimum charge a carrier will apply to a shipment*
maxAmountfloat64Refers to a cap or maximum charge a carrier will apply to a shipment*

*after calculation of charge rate x type (Shipment or Gross weight or Chargeable weight) and if the total is lower/higher than the amount displayed. Please, see details about charge types and calculations here

*** These fields are partially supported and used only with some specific airlines that automatically book on allotments.
For proper allotment booking or maximum coverage, please use our Direct Booking Flow