Use these instructions to create your partner links to Aviasales.
You can quickly create a link to any page of the travel brand's website using our extension for Chrome or using the Create link menu in the top right corner of your Travelpayouts account.
Link to the flight search
To create an affiliate link to the flight search, you need to be signed up for Travelpayouts.
1. Open the Tools page in your Travelpayouts account.
2. Select the Project where you’re planning to promote Aviasales links on the top of the page.
3. Go to aviasales.com website using the link from your Travelpayouts account so that it contains your Travelpayouts ID. This step ensures that rewards for all purchases made through this link will be credited to you.
4. On aviasales.com fill in the required values in the search form (if necessary) and copy the resulting link from the search bar.
5. Copy and paste the link from the travel brand's website in the Destination page field.
6. You can optionally specify SubID to be able to find bookings made using the link in the statistics.
7. Click Generate link & QR code.
8. Your affiliate short link will appear at the top of the list below.
Link to the search results page and the pre-filled search form
You can quickly create links to the search results page and the pre-filled search form manually by using the following templates:
-
Pre-filled search form - https://www.aviasales.com/?params=PARAMS
When clicking on this link, the user will be taken to a page where the search form will already be filled with the required values. The user can apply changes or simply click the Find Tickets button. Such links are convenient because users can adjust their own departure dates. -
Search results page - https://www.aviasales.com/search/PARAMS.
When clicking on this link, the user will be taken to a page where all available tickets for the destinations specified in the parameters will be displayed.
If you want the link to lead to your White Label, use these templates:
- Pre-filled search form — https://YourDomainName/?params=PARAMS
- Search results page — https://YourDomainName/flights/PARAMS
Next, you need to add the necessary values for the params parameter, which consists of encoded destination and additional information, e.g.: https://www.aviasales.com/?params=PAR0101NYC02011.
1. First, enter the departure and destination points in the form of IATA code and flight dates in DDMM format (strictly two characters per day and two characters per month). IATA codes are written in capital Latin letters.
For example,
- PAR1607NYC — Flight from Paris to New York on July 16
- PAR2007IST — Flight from Paris to Istanbul on July 20
- PAR0101NYC0201 — Flight from Paris to New York on January 1, return on January 2
You can create a link without dates for the pre-filled search form, e.g. PARNYC. Or specify only the point of departure: PAR. It is obligatory to specify only the number of passengers, see the next paragraph.
Please note: If you need a link to a complex route consisting of multiple segments, go to the Complex (multi-city) route search section.
The destination point can be not only a city or airport, but also a country. In this case, the segment is coded according to the usual rules. For example, IST1607TH means flight from Istanbul to any city in Thailand on July 16. Country can be specified only for simple searches (one-way or round-trip).
2. Add additional information
Important: Be sure to specify the number of adult passengers or the link will not work.
-
Flight class (one character or less, Latin, lower case):
- Economy — empty (you don’t need to add anything)
- Business — c
- Premium Economy — w
- First Class — f
- Number of adult passengers (one character, number from 0 to 9) - mandatory parameter
- Number of child passengers (one character, number from 0 to 9)
- Number of infant passengers (one character, number from 0 to 9)
For example:
- a business class flight for a family of 3 adults, 2 children and an infant will be presented as c321
- economy class flight of one passenger without children and infants - 1
- first class flight of two adults and one child - f21
- comfort class flight of one adult and one infant - w101
3. Combine destinations and additional information in one line without separators.
For example, a flight from Paris to New York City on July 16, New York City to Paris on July 20 by a family of 3 adults, 2 children, and an infant in business class would look like this: PAR1607NYC2007c321
Reminder: it is mandatory to specify the number of adult passengers.
4. Add this code to the link template.
An example of a link to a search results page:
Example of a link to a page with a pre-filled search form:
Please note! Params are case sensitive, for example:
- PAR1607ROc1 - fly one passenger from Paris to any city in Romania on July 16 in business class.
- PAR1607ROC1 - fly one passenger from Paris to Frederick Douglass - Greater Rochester International Airport on July 16 in economy class.
5. Once the link is created, be sure to use the create link form to transform it into a partner link.
This step is mandatory because it is at this point that your unique Travelpayouts ID will be attached to the link, which will allow you to receive rewards for all purchases made after clicking on your link.
Link to complex (multi-city) route search
A complex or multi-city route consists of several segments — the first flight, the second one, and so on. That said, the round-trip flight is not considered complex.
You can quickly create links to the search results page and the pre-filled search form for complex routes manually by using the following templates:
- Pre-filled search form - https://www.aviasales.com/?params=PARAMS
- Search results page - https://www.aviasales.com/search/PARAMS
Next, you need to add the necessary values for the params parameter, which consists of encoded destination and additional information.
1. First, enter the departure and destination points in the form of IATA code and flight dates in DDMM format (strictly two characters per day and two characters per month). IATA codes are written in capital Latin letters.
For example, your flight can consist of two segments:
- NYC1607PAR — Flight from New York to Paris on July 16
- PAR2007IST — Flight from Paris to Istanbul on July 20
You can create a link without dates for the pre-filled search form, e.g. NYCPARIST. It is obligatory to specify only the number of passengers, see more details in the next steps.
2. Combine the segments into a single line with a "-" separator. Например, NYC1607PAR-PAR2007IST.
3. Repeating IATA codes need to be "collapsed". In our example, when flying from New York to Paris and from Paris to Istanbul in the middle, Paris repeats twice. It should be collapsed and NYC1607PAR-PAR2007IST will become NYC1607PAR2007IST.
4. If the first and last destinations are the same, the last destination must be removed. For example, the flight Phuket - Paris - Istanbul - Phuket HKT1607PAR2207IST0108HKT will turn into HKT1607PAR2207IST0108.
5. Add additional information
Important: Be sure to specify the number of adult passengers or the link will not work.
-
Flight class (one character or less, Latin, lower case):
- Economy — empty (you don’t need to add anything)
- Business — c
- Premium Economy — w
- First Class — f
- Number of adult passengers (one character, number from 0 to 9) - mandatory parameter
- Number of child passengers (one character, number from 0 to 9)
- Number of infant passengers (one character, number from 0 to 9)
For example:
- a business class flight for a family of 3 adults, 2 children and an infant will be presented as c321
- economy class flight of one passenger without children and infants - 1
- first class flight of two adults and one child - f21
- comfort class flight of one adult and one infant - w101
6. Combine destinations and additional information in one line without separators.
For example, a flight from Paris to Istanbul on July 16, and Istanbul to New York on July 20 for a family of 3 adults, 2 children, and an infant in business class would be as follows: PAR1607IST2007NYCc321
7. Add this code to the link template.
An example of a link to a search results page:
- https://www.aviasales.com/search/PAR1607IST2007NYCc321
Example of a link to a page with a pre-filled search form:
- https://www.aviasales.com/?params=PAR1607IST2007NYCc321
8. Once the link is created, be sure to use the create link form to transform it into a partner link.
This step is mandatory because it is at this point that your unique Travelpayouts ID will be attached to the link, which will allow you to receive rewards for all purchases made after clicking on your link.
Link to a specific flight ticket
You can send a short link to a specific flight ticket with your affiliate ID.
For a flight ticket link to contain your affiliate ID, go to the Aviasales.com website using the link from the link creation form or the "Create a link" widget.
After redirecting to Aviasales.com website via your affiliate link, start a search for the destination or the route you need. To get a link to a specific flight ticket, click on the arrow in the search results.
Select the social network you want to send the link to or click Copy link.
As a result, you will have a short link similar to the following https://avs.io/1Psu1
To check that this link contains your partner ID, use any short-link expander. For example linkunshorten.com. Paste the short link into the input field and click on Uncover URL. You will see the full link below. Make sure that there is a marker= value that contains your Travelpayouts partner ID.
Please note! It is not possible to simply add your partner ID to the short link. It is imperative to go first to the Aviasales website with your affiliate ID and only then copy the link to the flight ticket.