Shopping and Ticketing
application/jsonapplication/jsongzip<YOUR_CLIENT_ID><YOUR_CLIENT_SECRET>The trip type(one way or round trip) you want to search.
- 1: Oneway
- 2: Return Trip
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.
PARDeparture 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.
U2Search 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.
Identify the source of the search traffic, E.g. Google Flights, Oganic Search, SkyScanner.
Resident discount code
application/jsonapplication/jsongzip<YOUR_CLIENT_ID><YOUR_CLIENT_SECRET>TheroutingIdentifierfrom search response.
The interface timeout(in milliseconds), with a default of 5000ms. Note: Due to the influence of network transmission and computational performance, the client may still receive a normal result (instead of a timeout) when the response duration exceeds. This time is used to control the overall response duration of the interface within a certain range, and the error generally will not exceed several hundred milliseconds. If you have strict requirements for the timeout time, it is recommended that you set the timeout time of your HTTP tool library. If the HTTP tool library you use does not support this capability, you may need to use other tools to achieve it, and most programming languages provide relevant capabilities.
15000The tag to identify which channel does this traffic come from. For example: SkyScanner,Google,Oganic search,etc…
application/jsonapplication/jsongzip<YOUR_CLIENT_ID><YOUR_CLIENT_SECRET>sessionIdreturned by verify response. If you got offer by verify api, then this parameter is required.
offerIDreturned by get offer response. If you got offer by "get offer" api, then this parameter is required.
The tag denoting whether to use Atlas email id for contact information.
true: Use Atlas email as contact email.false: It is determined according to the strategy agreed upon with the customer or the default strategy of the system.
Please refer to the terms and conditions for usage of Atlas email.
falseThe tag to identify which channel does this traffic come from. For example: SkyScanner,Google,Oganic search,etc…
Configuration of ordering when the seat is occupied.
- SIMILAR_SEAT: Select a similar seat automatically
- STOP_SEAT: Stop seat and continue ticketing
- STOP_TICKET: Stop ticketing and cancel the order
The country and language environment preferences of the ticket purchaser/contact person. This information may be useful for certain airlines. For example, airlines will use this information to communicate with users in appropriate languages (e.g., via emails). We have prepared the language environments supported by each airline for your reference: Locale
application/jsonapplication/jsongzipExample: gzip<YOUR_CLIENT_ID>Example: <YOUR_CLIENT_ID><YOUR_CLIENT_SECRET>Example: <YOUR_CLIENT_SECRET>Order number
The redirect localtion to which when users confirm an order on the
FR's confirmation page. If you choose to display the confirmation page in Popup mode, please specify this.
If you want to display the FR's order confirmation page in iframe mode, please specify iframe=true, and in this case, the redirectUri will be ignored.
Maximum response time of the API in milliseconds.
8000application/jsonapplication/jsongzipNAR65434_api_1<YOUR_CLIENT_SECRET>Order number you want to do the payment.
The payment method you want to use
- 1: balance
- 3: vcc passthough
- 4: BYOA
- 5: MoR
Order number at the customer side.
The tag to identify which channel does this traffic come from. For example: SkyScanner,Google,Oganic search,etc…
application/jsonapplication/jsongzipNAR65434_api_1<YOUR_CLIENT_SECRET>Order number of the order you want to retrieve
The pnrCode is the single reference for the booking. This is the Atlas PNR.
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
application/jsonapplication/jsongzipNAR65434_api_1<YOUR_CLIENT_ID>Number of adults
0Example: 1Number of children
0Example: 0Number of infants
0Example: 0Quotation currency, optional, default will be determined based on a certain strategy, such as the currency of the customer's pre deposit account
USDResident discount code
application/jsonapplication/jsongzipNAR65434_api_1<YOUR_CLIENT_SECRET>ThesessionIdreturned by price verification api(verify.do). Only required in Non-independent mode.
TheofferIDreturned by get offer api(getOffers.do). Only required in Non-independent mode.
The IATA code of MSC(known as Most Significant Carrier) of the itinerary.
api access id
NAR65434_api_1api access secret
changeit建议设置该请求头,能很大程度地减小网络传输报文的大小
gzipapplication/jsonapplication/jsonThesessionIdreturned by verify api(verify.do)
85540632-ef14-4cb2-900e-453ef0a19477Query timeout, unit: milliseconds, default 5000ms. Note: Due to network transmission and computational performance impacts, the client may still receive a normal result (rather than a timeout) even if this duration is exceeded. This time is used to control the overall response time of the interface within a certain range, with an error generally not exceeding a few hundred milliseconds. If you have strict requirements for the timeout, it is recommended to set the timeout of your HTTP toolkit. If the HTTP toolkit you are using does not support this capability, you may need to leverage other tools—related capabilities are generally provided in most programming languages.
5000Last updated
Was this helpful?

