VegasLounge API 对接文档
  1. Flight Booking
VegasLounge API 对接文档
  • Shopping
    • Return list of Flight Offers based on posted searching criteria.
      POST
    • Return list of Flight Offers based on searching criteria.
      GET
  • Authorization
    • Access Granted Client Credentials
      POST
    • Get Token Information
      GET
  • Flights
    • (Scenario)Basic Flight Booking flow
      • Step 0: Authorization
      • Step 1: Flight Offers Search GET
      • Step 2: Flight Offers Price
      • Step 3: Flight Create Orders
    • Flight Booking
      • Flight Offers Search
        GET
      • Flight Offers Search
        POST
      • Flight Offers Price
        POST
      • Flight Create Orders
        POST
      • Flight Order Management
        GET
      • Flight Order Management
        DELETE
      • Seatmap Display
        GET
      • Seatmap Display
        POST
      • Branded Fares Upsell
        POST
      • Flight Price Analysis
        GET
      • Flight Choice Prediction
        POST
    • Flight Inspiration
      • Flight Inspiration Search
      • Flight Cheapest Date Search
      • Flight Availabilities Search
      • Travel Recommendations
    • Flight Schedule
      • On Demand Flight Status
      • Flight Delay Prediction
      • Airport On-Time Performance
    • Airport
      • Airport & City Search by Keyword
      • Airport & City Search by Id
      • Airport Nearest Relevant
      • Airport Routes
    • Airlines
      • Flight Check-in Links
      • Airline Code Lookup
      • Airline Routes
  • Destination experiences
    • Tours and Activities
      GET
    • Tours and Activities by Id
      GET
    • Tours and Activities by square
      GET
    • City Search
      GET
  • Car and Transfers
    • Transfer Search
    • Transfer Booking
    • Transfer Management
  • Market insights
    • Flight Most Traveled Destinations
    • Flight Most Booked Destinations
    • Flight Busiest Traveling Period
  • Hotels
    • (Scenario)Basic Hotel Booking flow
      • Step 0: Authorization
      • Step 1: Find Hotels by city
      • Step 2: Hotel Offers Search
      • Step 3: Hotel Booking v1
    • Hotel List by Id
    • Hotel List by Geocode
    • Hotel List by City
    • Hotel Search
    • Hotel Search Offer Information
    • Hotel Booking v1
    • Hotel Booking v2
    • Hotel Ratings
    • Hotel Name Autocomplete
  • Itinerary management
    • Trip Purpose Prediction
  • STARGAME
    • Common errors
      • InitialGetBalance
      • InitialGetBalance
      • GetBalanceBadHash
      • GetBalanceBadHash
      • InvalidCommand
      • InvalidCommand
      • InvalidUserName
      • InvalidUserName
      • PlayerBetMissingTransactionId
      • PlayerBetMissingTransactionId
      • PlayerWinEmptyTransactionId
      • PlayerWinEmptyTransactionId
      • PlayerBetNegativeAmount
      • PlayerBetNegativeAmount
      • PlayerWinNegativeAmount
      • PlayerWinNegativeAmount
      • PlayerBetInsufficientBalance
      • PlayerBetInsufficientBalance
      • CheckBalance
      • CheckBalance
    • Workflow
      • OpenSession
      • OpenSession
      • OpenSessionAlreadyOpened
      • OpenSessionAlreadyOpened
      • GetBalance
      • GetBalance
      • PlayerBet #1 (-50)
      • PlayerBet #1 (-50)
      • PlayerWin (+150)
      • PlayerWin (+150)
      • PlayerBet #2 (-50)
      • PlayerBet #2 (-50)
      • PlayerWinZeroAmount (+0)
      • PlayerWinZeroAmount (+0)
      • PlayerBet #3 (-50)
      • PlayerBet #3 (-50)
      • PlayerWin (+200)
      • PlayerWin (+200)
      • PlayerWinTransactionAlreadyExist
      • PlayerWinTransactionAlreadyExist
      • PlayerBet #4 (-200)
      • PlayerBet #4 (-200)
      • PlayerBetTransactionAlreadyExist
      • PlayerBetTransactionAlreadyExist
      • PlayerBetBadHash
      • PlayerBetBadHash
      • PlayerWinBadHash
      • PlayerWinBadHash
      • CancelBet #4 (+200)
      • CancelBet #4 (+200)
      • CancelBetAlreadyCancelled
      • CancelBetAlreadyCancelled
      • CancelBetDoesNotExist
      • CancelBetDoesNotExist
      • PlayerBet #5 (-50)
      • PlayerBet #5 (-50)
      • CloseSession
      • CloseSession
      • PlayerBet #6 (-250)
      • PlayerBet #6 (-250)
      • PlayerWin (+50)
      • PlayerWin (+50)
      • CancelBet #5 (+50)
      • CancelBet #5 (+50)
      • PlayerBet #7 (-100)
      • PlayerBet #7 (-100)
      • PlayerBet #8 (-50)
      • PlayerBet #8 (-50)
      • PlayerBet #9 (-25)
      • PlayerBet #9 (-25)
      • PlayerBet #10 (-25)
      • PlayerBet #10 (-25)
      • PlayerBet #11 (-50)
      • PlayerBet #11 (-50)
      • CancelBet #7 (+100)
      • CancelBet #7 (+100)
      • CancelBet #9 (+25)
      • CancelBet #9 (+25)
      • CancelBet #11 (+50)
      • CancelBet #11 (+50)
      • PlayerWin (+75)
      • PlayerWin (+75)
      • CloseSessionAlreadyClosed
      • CloseSessionAlreadyClosed
      • FinalCheckBalance
      • FinalCheckBalance
    • RemoteSession
  • IMEI
    • Get account details
    • Get list of available services
    • Create Bulk Search
    • Export CSV for Bulk Search
    • Export JSON for Bulk Search
    • Get list of Bulk Search history
    • Single service check
    • Get single history result
    • Get list of search history
    • SYNC-API Single service check
  • GPK
    • 玩家取得遊戲連結
  • SUPERSET
    • Menu
      • /menu/
    • Queries
      • /query/
      • /query/distinct/{column_name}
      • /query/related/{column_name}
      • /query/{pk}
      • /saved_query/
      • /saved_query/
      • /saved_query/
      • /saved_query/_info
      • /saved_query/distinct/{column_name}
      • /saved_query/export/
      • /saved_query/related/{column_name}
      • /saved_query/{pk}
      • /saved_query/{pk}
      • /saved_query/{pk}
    • Annotation Layers
      • /annotation_layer/
      • /annotation_layer/
      • /annotation_layer/
      • /annotation_layer/_info
      • /annotation_layer/related/{column_name}
      • /annotation_layer/{pk}
      • /annotation_layer/{pk}
      • /annotation_layer/{pk}
      • /annotation_layer/{pk}/annotation/
      • /annotation_layer/{pk}/annotation/
      • /annotation_layer/{pk}/annotation/
      • /annotation_layer/{pk}/annotation/{annotation_id}
      • /annotation_layer/{pk}/annotation/{annotation_id}
      • /annotation_layer/{pk}/annotation/{annotation_id}
    • AsyncEventsRestApi
      • /async_event/
    • CacheRestApi
      • /cachekey/invalidate
    • Charts
      • /chart/
      • /chart/
      • /chart/
      • /chart/_info
      • /chart/data
      • /chart/data/{cache_key}
      • /chart/export/
      • /chart/favorite_status/
      • /chart/import/
      • /chart/related/{column_name}
      • /chart/{pk}
      • /chart/{pk}
      • /chart/{pk}
    • CSS Templates
      • /css_template/
      • /css_template/
      • /css_template/
      • /css_template/_info
      • /css_template/related/{column_name}
      • /css_template/{pk}
      • /css_template/{pk}
      • /css_template/{pk}
    • Dashboards
      • /dashboard/
      • /dashboard/
      • /dashboard/
      • /dashboard/_info
      • /dashboard/export/
      • /dashboard/favorite_status/
      • /dashboard/import/
      • /dashboard/related/{column_name}
      • /dashboard/{pk}
      • /dashboard/{pk}
      • /dashboard/{pk}
      • /dashboard/{pk}/charts
    • Database
      • /database/
      • /database/
      • /database/_info
      • /database/export/
      • /database/import/
      • /database/test_connection
      • /database/{pk}
      • /database/{pk}
      • /database/{pk}
      • /database/{pk}/function_names/
      • /database/{pk}/related_objects/
      • /database/{pk}/schemas/
      • /database/{pk}/select_star/{table_name}/
      • /database/{pk}/select_star/{table_name}/{schema_name}/
      • /database/{pk}/table/{table_name}/{schema_name}/
    • Datasets
      • /dataset/
      • /dataset/
      • /dataset/
      • /dataset/_info
      • /dataset/distinct/{column_name}
      • /dataset/export/
      • /dataset/import/
      • /dataset/related/{column_name}
      • /dataset/{pk}
      • /dataset/{pk}
      • /dataset/{pk}
      • /dataset/{pk}/refresh
      • /dataset/{pk}/related_objects
    • LogRestApi
      • /log/
      • /log/
      • /log/{pk}
    • OpenApi
      • /openapi/{version}/_openapi
    • Security
      • /security/csrf_token/
      • /security/login
      • /security/refresh
  • VEGAS
    • BI
      • pre-login
      • login
      • dashboard
    • vl
      • Client API v2.0
        • Get Game List
      • Authentication API v2.0
        • Validate Authorization Code
        • Refresh Access Token
        • Get Account Information
      • Seamless Wallet API v2.0
        • Place Bet
        • Send Payoff
        • Reverse Transaction
        • Get Player Balance
      • Transfer Wallet API v2.0
        • Deposit money to the player's wallet.
        • Withdraw money from the player's wallet.
        • Get the current balance for the player.
        • Query players by balance.
        • Query player's total bet amount since last deposit.
        • Query player's bet/payout summary.
        • Query Total Loss Summary
      • Report API
        • Get Transfers
        • Check Transaction
        • Get Game History Link
        • Verify Transactions Summary
        • Get Detailed Betting Report
        • Get Betting Report
      • isonline
    • Vegaslounge
      • VEGASLOUNGE API集成指南手册
      • 客户端 CLIENT API
        • 示例 获取游戏列表
      • 身份验证 Authentication API
      • 转账钱包 TRANSFER WALLET
        • 示例: 获取玩家余额 Balance
        • 示例: 查询玩家指定余额 playersByBalance
        • 示例: 查询总损失总结 getTotalLoss API
        • 示例: 转入 DEPOSIT API
        • 示例: 转出 WITHDRAW API
        • 示例: 查询玩家最后存款投注金额 betAmountSinceLastDeposit
        • 示例: 查询玩家投注总结 getSummaryBet
        • 示例: 投注记录 REPORT/BETS API
      • 免转钱包 SEAMLESS WALLET
      • 报表 REPORT API
        • Verify Transactions
        • Check Transaction
        • Order Link
        • Verify Transactions Summary
        • Detailed Betting report
      • 附录
        • 投注类型
      • CompletedDOC
      • Verify Transactions
      • Check Transaction
      • Order Link
      • Verify Transactions Summary
      • Detailed Betting report
    • VL
      • report_bets
      • replay_Transfer
      • report_verifyTransactionsSummary
      • report_orderLink
      • report_checkTransaction
      • report_transfer
      • report_getTotalLoss
      • report_getSummaryBet
      • replay
      • betAmountSinceLastDeposit
      • playersByBalance
      • balance
      • withdrawal
      • deposit
    • VegasloungeAPI
      • 客户端 CLIENT API
        • 示例 获取游戏列表
      • 身份验证 Authentication API
      • 转账钱包 TRANSFER WALLET
        • 示例: 获取玩家余额 Balance
        • 示例: 查询玩家指定余额 playersByBalance
        • 示例: 查询总损失总结 getTotalLoss API
        • 示例: 转入 DEPOSIT API
        • 示例: 转出 WITHDRAW API
        • 示例: 查询玩家最后存款投注金额 betAmountSinceLastDeposit
        • 示例: 查询玩家投注总结 getSummaryBet
        • 示例: 投注记录 REPORT/BETS API
      • 免转钱包 SEAMLESS WALLET
      • 报表 REPORT API
        • Verify Transactions
        • Check Transaction
        • Order Link
        • Verify Transactions Summary
        • Detailed Betting report
      • CompletedDOC
        • 附录
          • 投注类型
      • Detailed Betting report
      • Verify Transactions Summary
      • Order Link
      • Check Transaction
      • Verify Transactions
  1. Flight Booking

Flight Offers Search

POST
/v2/shopping/flight-offers
The Flight Offers Search API allows to get cheapest flight recommendations and prices on a given journey. It provides a list of flight recommendations and fares from a given origin (city or airport), for a given date (or date range) and for a given list of passengers. Additional information such as bag allowance, first ancillary bag prices or fare details are also provided.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Header Params
X-HTTP-Method-Override
string 
required
Example:
GET
Body Params text/plain
Example
Example:{ "currencyCode": "USD", "originDestinations": [ { "id": "1", "originLocationCode": "BOS", "destinationLocationCode": "MAD", "departureDateTimeRange": { "date": "{{departureDate}}", "time": "10:00:00" } }, { "id": "2", "originLocationCode": "MAD", "destinationLocationCode": "BOS", "departureDateTimeRange": { "date": "{{returnDate}}", "time": "17:00:00" } } ], "travelers": [ { "id": "1", "travelerType": "ADULT", "fareOptions": [ "STANDARD" ] }, { "id": "2", "travelerType": "CHILD", "fareOptions": [ "STANDARD" ] } ], "sources": [ "GDS" ], "searchCriteria": { "maxFlightOffers": 2, "flightFilters": { "cabinRestrictions": [ { "cabin": "BUSINESS", "coverage": "MOST_SEGMENTS", "originDestinationIds": [ "1" ] } ], "carrierRestrictions": { "excludedCarrierCodes": [ "AA", "TP", "AZ" ] } } } }

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/v2/shopping/flight-offers' \
--header 'X-HTTP-Method-Override: GET' \
--header 'Content-Type: text/plain' \
--data-raw '{
    "currencyCode": "USD",
    "originDestinations": [
        {
            "id": "1",
            "originLocationCode": "BOS",
            "destinationLocationCode": "MAD",
            "departureDateTimeRange": {
                "date": "{{departureDate}}",
                "time": "10:00:00"
            }
        },
        {
            "id": "2",
            "originLocationCode": "MAD",
            "destinationLocationCode": "BOS",
            "departureDateTimeRange": {
                "date": "{{returnDate}}",
                "time": "17:00:00"
            }
        }
    ],
    "travelers": [
        {
            "id": "1",
            "travelerType": "ADULT",
            "fareOptions": [
                "STANDARD"
            ]
        },
        {
            "id": "2",
            "travelerType": "CHILD",
            "fareOptions": [
                "STANDARD"
            ]
        }
    ],
    "sources": [
        "GDS"
    ],
    "searchCriteria": {
        "maxFlightOffers": 2,
        "flightFilters": {
            "cabinRestrictions": [
                {
                    "cabin": "BUSINESS",
                    "coverage": "MOST_SEGMENTS",
                    "originDestinationIds": [
                        "1"
                    ]
                }
            ],
            "carrierRestrictions": {
                "excludedCarrierCodes": [
                    "AA",
                    "TP",
                    "AZ"
                ]
            }
        }
    }
}'

Responses

🟢200Flight Offers Search
application/json
Body
meta
object 
required
count
integer 
required
data
array [object {14}] 
required
type
string 
required
id
string 
required
source
string 
required
instantTicketingRequired
boolean 
required
nonHomogeneous
boolean 
required
oneWay
boolean 
required
lastTicketingDate
string 
required
lastTicketingDateTime
string 
required
numberOfBookableSeats
integer 
required
itineraries
array [object {2}] 
required
price
object 
required
pricingOptions
object 
required
validatingAirlineCodes
array[string]
required
travelerPricings
array [object {5}] 
required
dictionaries
object 
required
locations
object 
required
aircraft
object 
required
currencies
object 
required
carriers
object 
required
Example
{
    "meta": {
        "count": 2
    },
    "data": [
        {
            "type": "flight-offer",
            "id": "1",
            "source": "GDS",
            "instantTicketingRequired": false,
            "nonHomogeneous": false,
            "oneWay": false,
            "lastTicketingDate": "2024-03-21",
            "lastTicketingDateTime": "2024-03-21",
            "numberOfBookableSeats": 9,
            "itineraries": [
                {
                    "duration": "PT7H",
                    "segments": [
                        {
                            "departure": {
                                "iataCode": "BOS",
                                "terminal": "E",
                                "at": "2024-04-04T17:00:00"
                            },
                            "arrival": {
                                "iataCode": "MAD",
                                "terminal": "4S",
                                "at": "2024-04-05T06:00:00"
                            },
                            "carrierCode": "IB",
                            "number": "6166",
                            "aircraft": {
                                "code": "330"
                            },
                            "operating": {
                                "carrierCode": "IB"
                            },
                            "duration": "PT7H",
                            "id": "1",
                            "numberOfStops": 0,
                            "blacklistedInEU": false
                        }
                    ]
                },
                {
                    "duration": "PT29H5M",
                    "segments": [
                        {
                            "departure": {
                                "iataCode": "MAD",
                                "terminal": "4S",
                                "at": "2024-04-18T20:45:00"
                            },
                            "arrival": {
                                "iataCode": "LHR",
                                "terminal": "5",
                                "at": "2024-04-18T22:00:00"
                            },
                            "carrierCode": "IB",
                            "number": "7467",
                            "aircraft": {
                                "code": "319"
                            },
                            "operating": {
                                "carrierCode": "BA"
                            },
                            "duration": "PT2H15M",
                            "id": "4",
                            "numberOfStops": 0,
                            "blacklistedInEU": false
                        },
                        {
                            "departure": {
                                "iataCode": "LHR",
                                "terminal": "5",
                                "at": "2024-04-19T17:15:00"
                            },
                            "arrival": {
                                "iataCode": "BOS",
                                "terminal": "E",
                                "at": "2024-04-19T19:50:00"
                            },
                            "carrierCode": "AY",
                            "number": "5503",
                            "aircraft": {
                                "code": "781"
                            },
                            "operating": {
                                "carrierCode": "BA"
                            },
                            "duration": "PT7H35M",
                            "id": "5",
                            "numberOfStops": 0,
                            "blacklistedInEU": false
                        }
                    ]
                }
            ],
            "price": {
                "currency": "USD",
                "total": "6502.20",
                "base": "3898.00",
                "fees": [
                    {
                        "amount": "0.00",
                        "type": "SUPPLIER"
                    },
                    {
                        "amount": "0.00",
                        "type": "TICKETING"
                    }
                ],
                "grandTotal": "6502.20"
            },
            "pricingOptions": {
                "fareType": [
                    "PUBLISHED"
                ],
                "includedCheckedBagsOnly": false
            },
            "validatingAirlineCodes": [
                "IB"
            ],
            "travelerPricings": [
                {
                    "travelerId": "1",
                    "fareOption": "STANDARD",
                    "travelerType": "ADULT",
                    "price": {
                        "currency": "USD",
                        "total": "3251.10",
                        "base": "1949.00"
                    },
                    "fareDetailsBySegment": [
                        {
                            "segmentId": "1",
                            "cabin": "BUSINESS",
                            "fareBasis": "INX4A3S5",
                            "brandedFare": "BUSOPTIMA",
                            "brandedFareLabel": "BUSINESS OPTIMA",
                            "class": "I",
                            "includedCheckedBags": {
                                "quantity": 2
                            },
                            "amenities": [
                                {
                                    "description": "THIRD CHECKED BAG",
                                    "isChargeable": true,
                                    "amenityType": "BAGGAGE",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "MEAL",
                                    "isChargeable": false,
                                    "amenityType": "MEAL",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "SNACK OR DRINK",
                                    "isChargeable": false,
                                    "amenityType": "MEAL",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "PRIORITY CHECK IN",
                                    "isChargeable": false,
                                    "amenityType": "TRAVEL_SERVICES",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "WIFI CONNECTION",
                                    "isChargeable": true,
                                    "amenityType": "TRAVEL_SERVICES",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "PRIORITY BOARDING GROUP 1",
                                    "isChargeable": false,
                                    "amenityType": "TRAVEL_SERVICES",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                }
                            ]
                        },
                        {
                            "segmentId": "4",
                            "cabin": "BUSINESS",
                            "fareBasis": "INX4A3S5",
                            "class": "J",
                            "includedCheckedBags": {
                                "quantity": 1
                            }
                        },
                        {
                            "segmentId": "5",
                            "cabin": "ECONOMY",
                            "fareBasis": "LLX4F0M5",
                            "class": "L",
                            "includedCheckedBags": {
                                "quantity": 1
                            }
                        }
                    ]
                },
                {
                    "travelerId": "2",
                    "fareOption": "STANDARD",
                    "travelerType": "CHILD",
                    "price": {
                        "currency": "USD",
                        "total": "3251.10",
                        "base": "1949.00"
                    },
                    "fareDetailsBySegment": [
                        {
                            "segmentId": "1",
                            "cabin": "BUSINESS",
                            "fareBasis": "INX4A3S5",
                            "brandedFare": "BUSOPTIMA",
                            "brandedFareLabel": "BUSINESS OPTIMA",
                            "class": "I",
                            "amenities": [
                                {
                                    "description": "THIRD CHECKED BAG",
                                    "isChargeable": true,
                                    "amenityType": "BAGGAGE",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "MEAL",
                                    "isChargeable": false,
                                    "amenityType": "MEAL",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "SNACK OR DRINK",
                                    "isChargeable": false,
                                    "amenityType": "MEAL",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "PRIORITY CHECK IN",
                                    "isChargeable": false,
                                    "amenityType": "TRAVEL_SERVICES",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "WIFI CONNECTION",
                                    "isChargeable": true,
                                    "amenityType": "TRAVEL_SERVICES",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "PRIORITY BOARDING GROUP 1",
                                    "isChargeable": false,
                                    "amenityType": "TRAVEL_SERVICES",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                }
                            ]
                        },
                        {
                            "segmentId": "4",
                            "cabin": "BUSINESS",
                            "fareBasis": "INX4A3S5",
                            "class": "J"
                        },
                        {
                            "segmentId": "5",
                            "cabin": "ECONOMY",
                            "fareBasis": "LLX4F0M5",
                            "class": "L"
                        }
                    ]
                }
            ]
        },
        {
            "type": "flight-offer",
            "id": "2",
            "source": "GDS",
            "instantTicketingRequired": false,
            "nonHomogeneous": false,
            "oneWay": false,
            "lastTicketingDate": "2024-03-21",
            "lastTicketingDateTime": "2024-03-21",
            "numberOfBookableSeats": 9,
            "itineraries": [
                {
                    "duration": "PT11H40M",
                    "segments": [
                        {
                            "departure": {
                                "iataCode": "BOS",
                                "terminal": "B",
                                "at": "2024-04-04T16:40:00"
                            },
                            "arrival": {
                                "iataCode": "YYZ",
                                "terminal": "1",
                                "at": "2024-04-04T18:43:00"
                            },
                            "carrierCode": "AC",
                            "number": "8699",
                            "aircraft": {
                                "code": "E75"
                            },
                            "duration": "PT2H3M",
                            "id": "2",
                            "numberOfStops": 0,
                            "blacklistedInEU": false
                        },
                        {
                            "departure": {
                                "iataCode": "YYZ",
                                "terminal": "1",
                                "at": "2024-04-04T20:55:00"
                            },
                            "arrival": {
                                "iataCode": "MAD",
                                "terminal": "1",
                                "at": "2024-04-05T10:20:00"
                            },
                            "carrierCode": "AC",
                            "number": "824",
                            "aircraft": {
                                "code": "788"
                            },
                            "operating": {
                                "carrierCode": "AC"
                            },
                            "duration": "PT7H25M",
                            "id": "3",
                            "numberOfStops": 0,
                            "blacklistedInEU": false
                        }
                    ]
                },
                {
                    "duration": "PT23H23M",
                    "segments": [
                        {
                            "departure": {
                                "iataCode": "MAD",
                                "terminal": "2",
                                "at": "2024-04-18T21:15:00"
                            },
                            "arrival": {
                                "iataCode": "BRU",
                                "at": "2024-04-18T23:25:00"
                            },
                            "carrierCode": "SN",
                            "number": "3730",
                            "aircraft": {
                                "code": "319"
                            },
                            "operating": {
                                "carrierCode": "SN"
                            },
                            "duration": "PT2H10M",
                            "id": "6",
                            "numberOfStops": 0,
                            "blacklistedInEU": false
                        },
                        {
                            "departure": {
                                "iataCode": "BRU",
                                "at": "2024-04-19T10:00:00"
                            },
                            "arrival": {
                                "iataCode": "YUL",
                                "at": "2024-04-19T11:30:00"
                            },
                            "carrierCode": "SN",
                            "number": "9551",
                            "aircraft": {
                                "code": "77W"
                            },
                            "operating": {
                                "carrierCode": "AC"
                            },
                            "duration": "PT7H30M",
                            "id": "7",
                            "numberOfStops": 0,
                            "blacklistedInEU": false
                        },
                        {
                            "departure": {
                                "iataCode": "YUL",
                                "at": "2024-04-19T13:10:00"
                            },
                            "arrival": {
                                "iataCode": "BOS",
                                "terminal": "B",
                                "at": "2024-04-19T14:38:00"
                            },
                            "carrierCode": "SN",
                            "number": "9617",
                            "aircraft": {
                                "code": "E75"
                            },
                            "duration": "PT1H28M",
                            "id": "8",
                            "numberOfStops": 0,
                            "blacklistedInEU": false
                        }
                    ]
                }
            ],
            "price": {
                "currency": "USD",
                "total": "6846.40",
                "base": "4180.00",
                "fees": [
                    {
                        "amount": "0.00",
                        "type": "SUPPLIER"
                    },
                    {
                        "amount": "0.00",
                        "type": "TICKETING"
                    }
                ],
                "grandTotal": "6846.40"
            },
            "pricingOptions": {
                "fareType": [
                    "PUBLISHED"
                ],
                "includedCheckedBagsOnly": false
            },
            "validatingAirlineCodes": [
                "AC"
            ],
            "travelerPricings": [
                {
                    "travelerId": "1",
                    "fareOption": "STANDARD",
                    "travelerType": "ADULT",
                    "price": {
                        "currency": "USD",
                        "total": "3423.20",
                        "base": "2090.00"
                    },
                    "fareDetailsBySegment": [
                        {
                            "segmentId": "2",
                            "cabin": "BUSINESS",
                            "fareBasis": "ZNX49ENC",
                            "brandedFare": "EXECLOW",
                            "brandedFareLabel": "BUSINESS LOWEST",
                            "class": "Z",
                            "includedCheckedBags": {
                                "quantity": 2
                            },
                            "amenities": [
                                {
                                    "description": "COMPLIMENTARY MEAL",
                                    "isChargeable": false,
                                    "amenityType": "MEAL",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "PRIORITY CHECK IN",
                                    "isChargeable": false,
                                    "amenityType": "TRAVEL_SERVICES",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "BASIC SEAT",
                                    "isChargeable": false,
                                    "amenityType": "BRANDED_FARES",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "CHANGEABLE TICKET",
                                    "isChargeable": true,
                                    "amenityType": "BRANDED_FARES",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "PREMIUM SEAT",
                                    "isChargeable": false,
                                    "amenityType": "BRANDED_FARES",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                }
                            ]
                        },
                        {
                            "segmentId": "3",
                            "cabin": "BUSINESS",
                            "fareBasis": "ZNX49ENC",
                            "brandedFare": "EXECLOW",
                            "brandedFareLabel": "BUSINESS LOWEST",
                            "class": "Z",
                            "includedCheckedBags": {
                                "quantity": 2
                            },
                            "amenities": [
                                {
                                    "description": "COMPLIMENTARY MEAL",
                                    "isChargeable": false,
                                    "amenityType": "MEAL",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "PRIORITY CHECK IN",
                                    "isChargeable": false,
                                    "amenityType": "TRAVEL_SERVICES",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "BASIC SEAT",
                                    "isChargeable": false,
                                    "amenityType": "BRANDED_FARES",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "CHANGEABLE TICKET",
                                    "isChargeable": true,
                                    "amenityType": "BRANDED_FARES",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "PREMIUM SEAT",
                                    "isChargeable": false,
                                    "amenityType": "BRANDED_FARES",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                }
                            ]
                        },
                        {
                            "segmentId": "6",
                            "cabin": "ECONOMY",
                            "fareBasis": "KKX76NCT",
                            "brandedFare": "ECOSTAND",
                            "brandedFareLabel": "ECO STANDARD",
                            "class": "K",
                            "includedCheckedBags": {
                                "quantity": 1
                            },
                            "amenities": [
                                {
                                    "description": "CATERING ON EUROPE FLTS",
                                    "isChargeable": true,
                                    "amenityType": "MEAL",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "CATERING ON INTERCONT FLTS",
                                    "isChargeable": false,
                                    "amenityType": "MEAL",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "STANDARD SEAT RESERVATION",
                                    "isChargeable": true,
                                    "amenityType": "BRANDED_FARES",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "MILEAGE ACCRUAL",
                                    "isChargeable": false,
                                    "amenityType": "BRANDED_FARES",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "UPGRADE ELIGIBILITY",
                                    "isChargeable": true,
                                    "amenityType": "BRANDED_FARES",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "PREFERRED SEAT RESERVATION",
                                    "isChargeable": true,
                                    "amenityType": "BRANDED_FARES",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "INFLIGHT ENTERTAINMENT",
                                    "isChargeable": false,
                                    "amenityType": "ENTERTAINMENT",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                }
                            ]
                        },
                        {
                            "segmentId": "7",
                            "cabin": "ECONOMY",
                            "fareBasis": "KKX76NCT",
                            "brandedFare": "ECOSTAND",
                            "brandedFareLabel": "ECO STANDARD",
                            "class": "K",
                            "includedCheckedBags": {
                                "quantity": 1
                            },
                            "amenities": [
                                {
                                    "description": "CATERING ON EUROPE FLTS",
                                    "isChargeable": true,
                                    "amenityType": "MEAL",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "CATERING ON INTERCONT FLTS",
                                    "isChargeable": false,
                                    "amenityType": "MEAL",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "STANDARD SEAT RESERVATION",
                                    "isChargeable": true,
                                    "amenityType": "BRANDED_FARES",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "MILEAGE ACCRUAL",
                                    "isChargeable": false,
                                    "amenityType": "BRANDED_FARES",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "UPGRADE ELIGIBILITY",
                                    "isChargeable": true,
                                    "amenityType": "BRANDED_FARES",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "PREFERRED SEAT RESERVATION",
                                    "isChargeable": true,
                                    "amenityType": "BRANDED_FARES",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "INFLIGHT ENTERTAINMENT",
                                    "isChargeable": false,
                                    "amenityType": "ENTERTAINMENT",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                }
                            ]
                        },
                        {
                            "segmentId": "8",
                            "cabin": "ECONOMY",
                            "fareBasis": "KKX76NCT",
                            "brandedFare": "ECOSTAND",
                            "brandedFareLabel": "ECO STANDARD",
                            "class": "K",
                            "includedCheckedBags": {
                                "quantity": 1
                            },
                            "amenities": [
                                {
                                    "description": "CATERING ON EUROPE FLTS",
                                    "isChargeable": true,
                                    "amenityType": "MEAL",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "CATERING ON INTERCONT FLTS",
                                    "isChargeable": false,
                                    "amenityType": "MEAL",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "STANDARD SEAT RESERVATION",
                                    "isChargeable": true,
                                    "amenityType": "BRANDED_FARES",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "MILEAGE ACCRUAL",
                                    "isChargeable": false,
                                    "amenityType": "BRANDED_FARES",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "UPGRADE ELIGIBILITY",
                                    "isChargeable": true,
                                    "amenityType": "BRANDED_FARES",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "PREFERRED SEAT RESERVATION",
                                    "isChargeable": true,
                                    "amenityType": "BRANDED_FARES",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "INFLIGHT ENTERTAINMENT",
                                    "isChargeable": false,
                                    "amenityType": "ENTERTAINMENT",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                }
                            ]
                        }
                    ]
                },
                {
                    "travelerId": "2",
                    "fareOption": "STANDARD",
                    "travelerType": "CHILD",
                    "price": {
                        "currency": "USD",
                        "total": "3423.20",
                        "base": "2090.00"
                    },
                    "fareDetailsBySegment": [
                        {
                            "segmentId": "2",
                            "cabin": "BUSINESS",
                            "fareBasis": "ZNX49ENC",
                            "brandedFare": "EXECLOW",
                            "brandedFareLabel": "BUSINESS LOWEST",
                            "class": "Z",
                            "amenities": [
                                {
                                    "description": "COMPLIMENTARY MEAL",
                                    "isChargeable": false,
                                    "amenityType": "MEAL",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "PRIORITY CHECK IN",
                                    "isChargeable": false,
                                    "amenityType": "TRAVEL_SERVICES",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "BASIC SEAT",
                                    "isChargeable": false,
                                    "amenityType": "BRANDED_FARES",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "CHANGEABLE TICKET",
                                    "isChargeable": true,
                                    "amenityType": "BRANDED_FARES",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "PREMIUM SEAT",
                                    "isChargeable": false,
                                    "amenityType": "BRANDED_FARES",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                }
                            ]
                        },
                        {
                            "segmentId": "3",
                            "cabin": "BUSINESS",
                            "fareBasis": "ZNX49ENC",
                            "brandedFare": "EXECLOW",
                            "brandedFareLabel": "BUSINESS LOWEST",
                            "class": "Z",
                            "amenities": [
                                {
                                    "description": "COMPLIMENTARY MEAL",
                                    "isChargeable": false,
                                    "amenityType": "MEAL",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "PRIORITY CHECK IN",
                                    "isChargeable": false,
                                    "amenityType": "TRAVEL_SERVICES",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "BASIC SEAT",
                                    "isChargeable": false,
                                    "amenityType": "BRANDED_FARES",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "CHANGEABLE TICKET",
                                    "isChargeable": true,
                                    "amenityType": "BRANDED_FARES",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "PREMIUM SEAT",
                                    "isChargeable": false,
                                    "amenityType": "BRANDED_FARES",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                }
                            ]
                        },
                        {
                            "segmentId": "6",
                            "cabin": "ECONOMY",
                            "fareBasis": "KKX76NCT",
                            "brandedFare": "ECOSTAND",
                            "brandedFareLabel": "ECO STANDARD",
                            "class": "K",
                            "amenities": [
                                {
                                    "description": "CATERING ON EUROPE FLTS",
                                    "isChargeable": true,
                                    "amenityType": "MEAL",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "CATERING ON INTERCONT FLTS",
                                    "isChargeable": false,
                                    "amenityType": "MEAL",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "STANDARD SEAT RESERVATION",
                                    "isChargeable": true,
                                    "amenityType": "BRANDED_FARES",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "MILEAGE ACCRUAL",
                                    "isChargeable": false,
                                    "amenityType": "BRANDED_FARES",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "UPGRADE ELIGIBILITY",
                                    "isChargeable": true,
                                    "amenityType": "BRANDED_FARES",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "PREFERRED SEAT RESERVATION",
                                    "isChargeable": true,
                                    "amenityType": "BRANDED_FARES",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "INFLIGHT ENTERTAINMENT",
                                    "isChargeable": false,
                                    "amenityType": "ENTERTAINMENT",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                }
                            ]
                        },
                        {
                            "segmentId": "7",
                            "cabin": "ECONOMY",
                            "fareBasis": "KKX76NCT",
                            "brandedFare": "ECOSTAND",
                            "brandedFareLabel": "ECO STANDARD",
                            "class": "K",
                            "amenities": [
                                {
                                    "description": "CATERING ON EUROPE FLTS",
                                    "isChargeable": true,
                                    "amenityType": "MEAL",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "CATERING ON INTERCONT FLTS",
                                    "isChargeable": false,
                                    "amenityType": "MEAL",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "STANDARD SEAT RESERVATION",
                                    "isChargeable": true,
                                    "amenityType": "BRANDED_FARES",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "MILEAGE ACCRUAL",
                                    "isChargeable": false,
                                    "amenityType": "BRANDED_FARES",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "UPGRADE ELIGIBILITY",
                                    "isChargeable": true,
                                    "amenityType": "BRANDED_FARES",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "PREFERRED SEAT RESERVATION",
                                    "isChargeable": true,
                                    "amenityType": "BRANDED_FARES",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "INFLIGHT ENTERTAINMENT",
                                    "isChargeable": false,
                                    "amenityType": "ENTERTAINMENT",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                }
                            ]
                        },
                        {
                            "segmentId": "8",
                            "cabin": "ECONOMY",
                            "fareBasis": "KKX76NCT",
                            "brandedFare": "ECOSTAND",
                            "brandedFareLabel": "ECO STANDARD",
                            "class": "K",
                            "amenities": [
                                {
                                    "description": "CATERING ON EUROPE FLTS",
                                    "isChargeable": true,
                                    "amenityType": "MEAL",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "CATERING ON INTERCONT FLTS",
                                    "isChargeable": false,
                                    "amenityType": "MEAL",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "STANDARD SEAT RESERVATION",
                                    "isChargeable": true,
                                    "amenityType": "BRANDED_FARES",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "MILEAGE ACCRUAL",
                                    "isChargeable": false,
                                    "amenityType": "BRANDED_FARES",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "UPGRADE ELIGIBILITY",
                                    "isChargeable": true,
                                    "amenityType": "BRANDED_FARES",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "PREFERRED SEAT RESERVATION",
                                    "isChargeable": true,
                                    "amenityType": "BRANDED_FARES",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                },
                                {
                                    "description": "INFLIGHT ENTERTAINMENT",
                                    "isChargeable": false,
                                    "amenityType": "ENTERTAINMENT",
                                    "amenityProvider": {
                                        "name": "BrandedFare"
                                    }
                                }
                            ]
                        }
                    ]
                }
            ]
        }
    ],
    "dictionaries": {
        "locations": {
            "MAD": {
                "cityCode": "MAD",
                "countryCode": "ES"
            },
            "YUL": {
                "cityCode": "YMQ",
                "countryCode": "CA"
            },
            "BRU": {
                "cityCode": "BRU",
                "countryCode": "BE"
            },
            "BOS": {
                "cityCode": "BOS",
                "countryCode": "US"
            },
            "LHR": {
                "cityCode": "LON",
                "countryCode": "GB"
            },
            "YYZ": {
                "cityCode": "YTO",
                "countryCode": "CA"
            }
        },
        "aircraft": {
            "319": "AIRBUS A319",
            "330": "AIRBUS INDUSTRIE A330",
            "781": "BOEING 787-10",
            "788": "BOEING 787-8",
            "E75": "EMBRAER 175",
            "77W": "BOEING 777-300ER"
        },
        "currencies": {
            "USD": "US DOLLAR"
        },
        "carriers": {
            "AC": "AIR CANADA",
            "AY": "FINNAIR",
            "IB": "IBERIA",
            "SN": "BRUSSELS AIRLINES",
            "BA": "BRITISH AIRWAYS"
        }
    }
}
Previous
Flight Offers Search
Next
Flight Offers Price
Built with