Affiliate link for flight search results page

To create an affiliate link to the flight search results page, you must be registered with Travelpayouts.

The easiest way to send someone a link to the search result for flight tickets with your Travelpayouts affiliate token is to copy a short link from the search bar and use the link generator. You need to do this after the search is finished and the list of flight tickets is displayed on the page:

mceclip0.png

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

Options for generating an affiliate link for search of flight tickets

Depending on the website that the link leads to, the request address will differ. You need to add the parameters to the address, which are described in the table below.

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

Query URL: DomainName/searches/new

where DomainName is "jetradar.com", 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.

Query parameters/descriptions

Name

Description

Default value

origin_iata

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

Moscow (MOW)

destination_iata

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

St. Petersburg (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 search does not start)

false

Note:

  • adults/children/infants - number of adults, children, and infants – numbers.

No more than nine seat-occupying passengers (adults + children) can be in a single query. Infants travel without their own seat and are carried by the 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).

After you get a link to the search result page you should use Link Generator.

Sample search query with search initialization:

http://jetradar.com/searches/new?origin_iata=MOW&destination_iata=CAS&adults=1&children=1&infants=0&trip_class=0&depart_date=2016-12-01&return_date=2016-12-15&with_request=true

Was this article helpful?

Have more questions? Submit a request