Smart Search
application/jsonapplication/jsongzip<YOUR_CLIENT_ID><YOUR_CLIENT_SECRET>Only required in Subsequent Request
The trip type(1=one way or 2=round trip) you want to search
1Possible values: Adult passenger count. Please note that the total number of adults(adultNum) and children(childNum) cannot exceed 9.
0Example: 1Child passenger count. Please note that the total number of adults(adultNum) and children(childNum) cannot exceed 9
0Example: 0Infant passenger count, no more than the number of adult
0Example: 0IATA code of the departure city or airport (in capital letters).When the airport code you sent is different from the code of the city where the airport is located, we can recognize that it is an airport, otherwise we will treat it as a city code. We will filter flights based on your departure location type.
LONIATA code of the arrival city or airport (in capital letters).When the airport code you sent is different from the code of the city where the airport is located, we can recognize that it is an airport, otherwise we will treat it as a city code. We will filter flights based on your departure location type.
PARIATA code of the departure airport
AAAIATA code of the arrival airport
AAADeparture date, the format is YYYYMMDD
20251010Return date, the format is YYYYMMDD. If you are searching for round-trip, the return date is mandatory.
An array of IATA Codes(in capital letters) of airlines. The result will only contain the airlines specified in the search request.
Search for specified departure flights. Each element represents one flight. Connecting flight numbers are separated by "," (comma).
Example:
- ["FR123"]: A direct flight
- ["FR456,FR789"]: A connecting flight
- ["FR123", "FR456,FR789"]: 2 flights, a direct flight and a connecting flight
Search for specified return flights. Each element represents one flight. Connecting flight numbers are separated by "," (comma).
Search only for the lowest fare or for the Fare Families. By default, each flight only returns the lowest fare, and each array element in the response represents: flight - lowest fare. If this parameter is turned on, each element of the search results will be a combination of flight and one of the fares, that is, different elements will have the same flight but different ticket fare.
falseThis is the settlement currency. The 3-letter currency code should be entered. This field is optional, and when you want to settle with Atlas in different currencies (especially when you have opened multiple deposit accounts in different currencies in Atlas), you need to use this parameter.
The currency for the display fares in response. If no display currency is specified, the display amount will be null.
Identify the source of the search traffic, E.g. Google Flights, Oganic Search, SkyScanner.
Is smart search synchronized return, default is asynchronous
Resident discount code
Last updated
Was this helpful?

