Flights deeplinks
Flights launch page
The deeplink URL structure for the flights launch page is https://{TemplateSiteDomain}/go/flight/launch.
For example:
https://www.expedia.com/go/flight/launch
Flights search
Base URL:
/go/flight/search/{tripType(oneway or roundtrip)}/{startDate}/{endDate}
Resolve URL:
/Flights-Search
| Parameter | Description | Required | Default | Possible values | Notes |
|---|---|---|---|---|---|
TripType | Type of flight | Y | RoundTrip | • RoundTrip• OneWay | If omitted, search will default to RoundTrip |
FromAirport | Departure city/airport | N | Any valid city or airport code | String value | |
ToAirport | Destination city/airport | N | Any valid city or airport code | String Value | |
FromDate | Departure date | Y | Without a date, flexible dates are searched | YYYY-MM-DD | You can search up to 330 days out |
FromTime | Departure time | N | Anytime | See possible times table | String or integer value |
ToDate | Return date | Y | Without a date, flexible dates are searched | YYYY-MM-DD | You can search up to 330 days out |
ToTime | Return time | N | Anytime | You can search up to 330 days out | |
Class | Preferred class | N | 3 | • 3 (Economy/Coach) • 2 (Business) • 1 (First Class) | Economy/coach is default search |
currency | Abbreviated currency code | N | POS default | E.g. USD, EUR, JPY | The currency that the user would like to use on the POS. Only values supported by the POS will update the page. |
Direct | Denotes non-stop only flights | N | 0 | • 1 (non-stop only) • 0 (all flights) | Integer value |
NoChangePenalty | Avoid change penalties | N | 0 | • 1 (avoid change penalties) • 0 (all flights) | Integer value |
Airline | Preferred airline | N | Two letter string value | ||
NumAdult | Number of adult passengers | N | 0 | Any integer up to 6 | Must book between 1 and 6 passengers |
NumSenior | Number of senior passengers | N | 0 | Any integer up to 6 | Integer value |
NumChild | Number of Child passengers | N | 0 | Any integer up to 6 | Integer value |
InfantInSeat | Infants under 2 | N | 0 | • 1 (Infant in their own seat) • 0 (nothing) | Integer value Required if NumChild > 0. If infant is traveling as lap child, don't pass, if infant is traveling in own seat, pass InfantInSeat=1 |
ItinID | Itinerary number to attach flight to | N | ItinID=111 | Integer value |
Conditional parameters
| Parameter | Description | Required | Default | Possible values | Notes |
|---|---|---|---|---|---|
AGE_PER_CHILD | Ages of traveling children | N | 0 | If NumChild=3 Age1=3&Age2=5&Age3=8 | Required if NumChild > 0 |
Roundtrip flights search examples
Rountrip, 2 adults:
https://www.expedia.com/go/flight/search/Roundtrip/2022-12-27/2023-01-01?load=1&FromAirport=SEA&ToAirport=SFO&FromTime=362&ToTime=362&NumAdult=2Rountrip, 2 adults, 2 children (child 1 age 3; child 2 age 8):
https://www.expedia.com/go/flight/search/Roundtrip/2022-12-27/2023-01-01?load=1&FromAirport=SEA&ToAirport=SFO&FromTime=362&ToTime=362&NumAdult=2&NumChild=2&Child1Age=3&Child2Age=8Rountrip, 2 adults, 2 children (child 1 age 1 (infant in lap); child 2 age 8):
https://www.expedia.com/go/flight/search/Roundtrip/2022-12-27/2023-01-01?load=1&FromAirport=SEA&ToAirport=SFO&FromTime=362&ToTime=362&NumAdult=2&NumChild=2&Child1Age=1&Child2Age=8&InfantInSeat=1Rountrip, 2 adults, 2 children (child 1 age 1 (infant in lap); child 2 age 8):
https://www.expedia.com/go/flight/search/Roundtrip/2022-12-27/2023-01-01?load=1&FromAirport=SEA&ToAirport=SFO&FromTime=362&ToTime=362&NumAdult=2&NumChild=2&Child1Age=1&Child2Age=8&InfantInSeat=1Rountrip, 2 adults, 1 senior:
https://www.expedia.com/go/flight/search/Roundtrip/2022-12-27/2023-01-01?load=1&FromAirport=SEA&ToAirport=SFO&FromTime=362&ToTime=362&NumAdult=2&NumSenior=1
One-way flights search examples
One-way, 2 adults, 2 children (child 1 age 3; child 2 age 8):
https://www.expedia.com/go/flight/search/oneway/2022-12-27/2023-12-27?load=1&FromAirport=SEA&ToAirport=SFO&FromTime=362&NumAdult=2&NumChild=2&Child1Age=3&Child2Age=8&InfantInSeat=1One-way, 2 adults, 2 children (child 1 age 1 (infant in seat); child 2 age 8):
https://www.expedia.com/go/flight/search/oneway/2022-12-27/2022-12-27?load=1&FromAirport=SEA&ToAirport=SFO&FromTime=362&NumAdult=2&NumChild=2&Child1Age=1&Child2Age=8&InfantInSeat=1
Dateless flights search example
Note: It is not recommended to use dateless flights search deeplinks. However, if you really need to use them, replace the dates with 0000-00-00 and you will be taken to a page to enter dates. Removing the dates completely will return a 404 page.
- Rountrip, 2 adults:
https://{TemplateSiteDomain}/go/flight/search/Roundtrip/0000-00-00/0000-00-00?load=1&FromAirport=SEA&ToAirport=SFO&FromTime=362&ToTime=362&NumAdult=2