Travel Widgets

Add a Skyscanner Widget to your website to add world class flights search, with just a few lines of code. Best of all, you can earn money with it too!

Depending on the size and type of website you work with, there are a number of ways to use a Skyscanner widget. The illustration below shows the different options available to you.


non-tracked widget Affiliate Widget Direct Partnership

Non-tracked Widget

Affiliate Widget

Direct Partnership

Managed by Not supported, simply grab the code and go! Supported by Affiliate networks. Direct partnership with Skyscanner.
Requirements No requirements. An application is required to an affiliate network Requires a Skyscanner White Label API
Ideal for Ideal for anyone with a website. e.g: Small blogs, charity sites, hobby sites Websites generating £0-1,000 net revenue per month. Larger websites generating £1,000 net revenue per month.
Can i earn revenue? No Yes Yes
Fees/Commission No fees or commission. See networks below for current fees and commission rates. Fee Free - commission will be paid based according to TQS (Traffic Quality Score).
Drives traffic to Skyscanner direct Skyscanner direct Skyscanner direct & Via White Label.
Implementation Easy implementation. Simply copy and paste widget code onto your site. Requires sign up via affiliate networks. See networks for details.

Tradedoubler (RU, PL)

Commission Junction (UK, US, CA, FR)
Make an application to become a Skyscanner partner here.

Non-tracked Widget

Not supported, simply grab the code and go!

No requirements.

Ideal for anyone with a website! For example charity site, travel blog or hobby project.

No revenue earned.

No fees or commission.

Drives traffic to Skyscanner direct.

Easy implementation. Simply copy and paste widget code onto your site.


Affiliate Widget

Supported by Affiliate networks, such as Tradedoubler and Commission Junction.

Application required to affiliate network websites generating £0-1,000 net revenue per month.

Ideal for travel sites, blog owners, small affiliate sites or new businesses.

Revenue earned.

Drives traffic to Skyscanner direct.

Sign up via affiliate networks required. Fees and commission rates apply (see affiliate networks below for details).

Tradedoubler (RU, PL)

Commission Junction (UK, US, CA, FR)

Direct Partnership

Direct Partnership

Direct partnership with Skyscanner.

Requires a Skyscanner white label API.

Ideal for Larger websites generating £1,000 net revenue per month. For example news sites, travel portals, price comparison sites.

Revenue earned.

Fee Free - commission will be paid based according to TQS (Traffic Quality Score).

Drives traffic to Skyscanner direct White Label.

Make an application to become a Skyscanner partner here.

What are widgets?

Widgets are a quick and easy way of providing links to Skyscanner or your White Label for your users.

They can link straight to the front page of our site or your White Label, or send a user into a pre-filled search for a destination relevant to your content.

Basic Widget
Location Widget

How do I use widgets?

Adding a widget to your site takes just two lines of HTML.

The first line defines the type of widget, the locale, the colour, and set the destination for a Location Widget. The second loads our script, which takes your widget options and turns it into a full widget in the user's browser.

See the examples below for the different types of widgets available:

Basic Widget

Our "Basic Widget" provides a clean and simple tracked and attributed referral to or a White Label. Users will be asked to enter any required details to perform a search on our site.

Location Widget

The "Location Widget" gives users a pre-filled destination on our site, allowing them to perform a search immediately on a White Label and leaves them with less details to select when referred to

This widget is best used alongside content about a specific location, giving users a quick link to search for flights to that destination.

Search Widget

When you want to provide search controls on your site, our "Search Widget" gives you everything your user needs to start a search on or our White Label. The user can fill in as much or as little information as they like, the "Search Flights" button will send them to the right place!

Widget options

You can customise your widgets with localisation and colour - see below for details on how to set these options.


Our widgets support all of Skyscanner's common languages - this can be set on your widgets with the "`data-locale`" attribute. See below for examples of some localisation options we support, and please contact us to check if widgets can be displayed in other languages.


Widgets can be displayed in any colour, but for convenience we have a range of pre-set named colours you can use:

  • cirrus
  • loch
  • solar
  • malt
  • dawn
  • glen
  • lunar

To set the widget colour, use the "data-params" property on your widget and set the "colour" option to the name or hex code you want. The text colour on your widget is automatically chosen to contrast well with the background, so you only have to do half the work! See the example below for widget implementations using a range of colour settings.

Scripted location widgets

I have hundreds of content pages, do I have to create a widget manually for each location?

We've got you covered! With scripted location widgets you can write just a little bit of JavaScript and have widgets automatically set their location on each page - use the same code on multiple pages (maybe add it to your template) and have relevant widgets everywhere with minimal work.

In the example below two widgets set their location from meta tags and a custom JavaScript function - if your content has a location name somewhere on the page accessible by JavaScript, our widgets can probably work with it!

Location Attributes

To set the widget's location we provide support for a number of location attributes. In the example above the location is resolved from a simple name, but we support all of the following methods of getting a location:

  • Location name
  • Airport IATA code
  • Latitude & Longitude
  • A phrase or page title including a location name

See below for examples of how to use each of these methods of getting a location.

Location Name

This option is set using the "data-location-name" attribute on your widget.

See above for example using location name from meta tags.


This option is set using the "data-location-iata-code" attribute on your widget.

It may be more useful to you if your site already contains information about airports, and you'd like to use that to generate widgets to specific airports - or when you want a widget to a single airport in a city instead of a search for all airports in that city.

Latitude & Longitude

This option is set using the "`data-location-coords`" attribute on your widget.

It will find the nearest airport to the given coordinates, which should be provided in the format "<longitude>,<latitude>" as a string.

Looking up locations and airports by coordinates in this way might be particularly useful for events and places where you don't have a real "location" name, but do have coordinates. If you're using Google's static maps or adding maps dynamically, you might already have these coordinates in your page somewhere, or can easily add them.

Phrase including location name

This option is set using the "data-location-phrase" attribute on your widget, as shown in the example below.

This may be suitable for pages that do not have any of the other location properties available conveniently, but do have a fairly consistently formatted page title (or other element) such as "Holidays in sunny Florida!", where our widget should succcessfully resolve the destination of "Florida".

Test Location Lookup

You can try out some of our location lookup functionality in the example below.

Widgets for White Labels

I already have a White Label, can I use widgets to send traffic to it?

Of course! Our widgets have been designed to work with our White Labels from the start, and include features such as automatic styling to make your life easier.

To use a widget with your White Label you just need to provide one option: "whitelabeldomain".

This option tells our widgets to refer users to your White Label and allows it to be themed just like your White Label automatically. Because of this, you don't need to specify a colour option when using widgets with White Labels. If you do specify a colour it will override the White Label's theme - so this can still be used when you want to customise widgets further.

See below for examples of widgets redirecting to our White Label demo - simply replace the demo domain with your White Label's domain to use on your site! The widgets match their colour with the "primary button" colour of the White Label, in this case a dark blue.

Subscribe for product updates

Subscribe for product updates
Name *
By using Skscanner's Widgets you agree to our Terms and Conditions