Aviasales affiliate links

The easiest way to create your Aviasales partner link

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:

Look at the short video on how to create and use affiliate links:

Affiliate links to the flight search

To create an affiliate link to the flight search, you need to be signed up for Travelpayouts.

1. On your account page, go to the Aviasales program page and click on the Tools section.

2. Open Links category -> Create link.

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 the link and paste it into the Target URL field. 

6. The affiliate link is generated automatically in the Link field on the right. Copy the link from the Affiliate link field and paste it into your website.

Affiliate links to the search results page and the pre-set search form 

The easiest way to send someone a link to the search results for flight tickets with your Travelpayouts partner ID is to copy a short link from the browser's search bar and use the deep link creation form. You need to do this after the search is finished and the list of flight tickets is displayed on the page:

mceclip2.png

After that, you can send this link by email or share it on social networks. 

You can also create a link for a pre-set search form with your partner ID: 

mceclip1.png

You need to add the parameters to the default URL, which are described in the table below.

Query URL to the search results page: DomainName/searches/new

Query URL to the pre-set search form: DomainName/flights/

where DomainName is "aviasales.com" for the search results page and "search.aviasales.com" for the search form, except for when a link leads to an affiliate White Label site. For a White Label, use the affiliate subdomain on which the White Label is hosted.

Please note that the first parameter is added to the address using the "?" question mark character, and all the others using the "&" character.

Important: In the case of White Label, you must specify origin_iata along with destination_iata for the link to the search form with filled-in destinations to work correctly. Otherwise, the link will lead to the main White Label page.

 

Query parameters/descriptions:

Name

Description

Default value

origin_iata

Departure city. Recommended values: "IATA code for city".

MOW

destination_iata

Arrival city. Recommended values: "IATA code for city".

LED

depart_date

Departure date. Recommended format: "Y-m-d" ("yy-mm-dd" for JQuery).

-

return_date

Return date. Recommended format: "Y-m-d" ("yy-mm-dd" for JQuery).

-

oneway

“One way only” check box, equal to 1 or 0.

0

adults

Number of adults (over 12 years old)

1

children

Number of children (2 to 12 years old)

0

infants

Number of infants (0 to 2 years old)

0

trip_class

Ticket class (Economy: 0, Business: 1)

0

currency

Currency of search result (RUB, USD, EUR, UAH, CNY, KZT, AZN, BYN, THB, KGS, UZS)

USD

with_request

Initiate search automatically (true: the search is loaded, false: the form is filled out but the search does not start)

false

marker

Your partner ID

-

Note:

  • adults/children/infants - number of adults, children, and infants – numbers.
    Up to nine seat-occupying passengers (adults + children) can be added in a single query. Infants travel without their own seats and are carried by adults. The number of infants cannot exceed the number of adults. If the number of infants is larger than the number of adults, the excess number of infants is counted as children (with their own seats).

Sample search query with search initialization for both types of links:

After you get the link, you should use deep link creation form or the "Create a link" widget as described above.

Important! 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.

Complex (multi-city) route search

A complex or multi-city route consists of several segments — the first flight, the second one, and so on. Affiliate links to the search for complex routes are formed the same way. The first segment is denoted segments[0]. This parameter is added before each standard parameter in the link. The second segment is segments[1] and the third segment is segments[2], etc.

The resulting link looks like this:
http://search.aviasales.com/flights/?segments[0][origin_iata]=LAX&segments[0][destination_iata]=NYC&segments[0][depart_date]=2022-12-04&segments[1][origin_iata]=LED&segments[1][destination_iata]=BKK&segments[1][depart_date]=2022-12-24&adults=1&children=0&infants=0&trip_class=0&with_request=true 

Please note that the segment number must be specified only in the directions of the flight and dates. The number of passengers and the flight class are set common for the whole set of segments.

  • origin_iata/destination_iata — departure/arrival points — line.
    Recommended values: IATA city code.
  • depart_date/return_date — departure/return dates — line
    Recommended format: Y-m-d (yy-mm-dd — JQuery)
  • adults/children/infants — the number of adults, children, and infants — numeric

In total, the request can include a maximum of nine passengers with seats (adults + children). In this case, infants travel without a seat on the laps of adults. The number of infants cannot be bigger than the number of adults. If there are more infants, additional seats are requested as children (with a seat).

  • trip_class — Flight class (Economy — 0, Business — 1, First — 2)
  • with_request — Initiate search automatically (true: the search is loaded, false: the form is filled out but the search does not start

After you get a link to the search results page, insert it in the link creation form.

If you need to share a link to the multi-search, then you need to send it to this website: http://www.aviasales.com/#multicity

For this link type, you should use the link creation form or the "Create a link" widget too.

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.

mceclip4.png

Select the social network you want to send the link to or click Copy link.

mceclip5.png

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.

mceclip6.png

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.