Skip to main content

SeatType

Available cabin classes for flights.
int
default:"1"
Economy class seating
int
default:"2"
Premium economy class with extra legroom and amenities
int
default:"3"
Business class seating
int
default:"4"
First class seating

Usage

MaxStops

Maximum number of stops allowed in flight search.
int
default:"0"
Any number of stops allowed
int
default:"1"
Non-stop flights only (direct flights)
int
default:"2"
Maximum of one stop allowed
int
default:"3"
Maximum of two stops allowed

Usage

SortBy

Available sorting options for flight results.
int
default:"0"
No specific sorting (default Google Flights ordering)
int
default:"1"
Sort by Google Flights’ recommended top flights
int
default:"2"
Sort by price (lowest to highest)
int
default:"3"
Sort by departure time (earliest to latest)
int
default:"4"
Sort by arrival time (earliest to latest)
int
default:"5"
Sort by total flight duration (shortest to longest)

Usage

TripType

Type of flight journey.
int
default:"1"
Round trip flight (outbound and return)
int
default:"2"
One-way flight
Multi-city trips (_MULTI_CITY = 3) are currently not supported and kept for reference only.

Usage

Currency

Supported currencies for pricing.
str
default:"USD"
United States Dollar
Currently only USD is supported. Additional currencies are planned for future releases.

Usage