aFlight - all
with leg and provider information
{
"id": 0,
"trp": "return", // Trip: {'return', 'oneway', 'openjaw'}
"toc": "UA", // validating airline (tour operator code)
"trf": "LIGHT", // Tariff: {'LIGHT', 'MILUS', '...'}
"price": { // price (array): for each passenger type
"adt": { // adt: Adult
"typ": "adt", // passenger type adt, chd, inf
"qty": 1, // quantity
"amt": 557.54, // amount = bs+tx-rb
"bas": 114.33, // base
"tax": 443.21, // tax
"dis": 0, // discount
"exc": 250, // exchange
"ref": -1 // refund
},
"chd": { ... }, // chd: Child
"inf": { ... } // inf: Infant
},
"cur": "EUR", // currency
"tam": 557.54, // total amount
"ttx": 443.21, // total tax
"pam": 557.54, // amount per person
"pxc": 250, // exchange per person, -1:no
"prf": -1, // refund per person, -1:no
"bag": 0, // pieces of baggage
"cob": 1, // carry-on baggage
"route": [
{
"dac": "FRA", // departure airport code
"aac": "MIA", // arrival airport code
"legs": [
{
"hcd": "ZiXX!F!1470!0!0!0", // hash code
"ddt": "2025-09-13T08:50:00", // departure date/time
"adt": "2025-09-13T17:30:00", // arrival date/time
"dur": 680, // duration in minutes
"stp": 1, // stopps
"wtm": { // waiting time
"all": 200, // for the complete route
"min": 200, // minimum
"max": 200 // maximum
},
"via": [ // array of airport codes
"ZRH" // stopover
],
"leg": [
{
"ddt": "2025-10-11T12:30:00",
"dac": "FRA",
"adt": "2025-10-11T15:30:00",
"aac": "LAX",
"dur": 720,
"tcl": "Y",
"alc": "DE",
"fno": "2080",
"oal": "DE",
"ofn": "0000",
"stc": "",
"fbc": {
"adt": {
"fbc": "LM",
"tcl": "Y",
"bag": 0
},
"chd": {
"fbc": "LM",
"tcl": "Y",
"bag": 0
}
},
"bag": 0,
"dts": 1760185800,
"ats": 1760196600
}
]
}
]
},
{
"dac": "MIA",
"aac": "FRA",
"legs": [
{
"hcd": "ZiXX!F!1470!0!1!0",
"ddt": "2025-09-27T12:27:00",
"adt": "2025-09-28T07:20:00",
"dif": 1, // arrive 1 day later
"dur": 708,
"stp": 1,
"wtm": {
"all": 65,
"min": 65,
"max": 65
},
"via": [
"ORD"
],
"leg": [
{
"ddt": "2025-10-25T19:35:00",
"dac": "LAX",
"adt": "2025-10-26T14:25:00",
"aac": "FRA",
"dur": 650,
"tcl": "Y",
"alc": "DE",
"fno": "2081",
"oal": "DE",
"ofn": "0000",
"stc": "",
"fbc": {
"adt": {
"fbc": "LM",
"tcl": "Y",
"bag": 0
},
"chd": {
"fbc": "LM",
"tcl": "Y",
"bag": 0
}
},
"bag": 0,
"dts": 1761420900,
"ats": 1761488700
}
],
}
]
}
],
"pvr": {
"namOffer": "Sabre|ABC WE9G ADT" // name of offer, debug output
}
}