Sign Up

Log In

Skyscanner Flight Search

FREE
By skyscannerOfficial
Updated 4 months ago
Travel
10/10
Popularity Score
427ms
Latency
56%
Success Rate

Skyscanner Flight Search API Documentation

The Sky Scanner API lets you search for flight & get flight prices from Skyscanners database of prices, as well as get live quotes directly from ticketing agencies.
View API Details

Supercharge your App

Discover and connect to thousands of APIs in the world's largest API Hub

Live Flight Search
POSTCreate session
GETPoll session results
Places
GETList Places
Browse Flight Prices
GETBrowse Quotes
GETBrowse Routes
GETBrowse Flight Dates
Localisation
GETList markets
GETCurrencies
POSTCreate session

Create a flight search session. A successful response contains no content. The URL to poll the results is provided in the Location header of the response.

Sign up to test this endpoint
Log in
Header Parameters
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
countrySTRING
REQUIREDThe market/country your user is in (see docs for list of markets)
currencySTRING
REQUIREDThe currency you want the prices in (3-letter currency code)
localeSTRING
REQUIREDThe locale you want the results in (ISO locale)
originPlaceSTRING
REQUIREDThe origin place (see docs for places)
destinationPlaceSTRING
REQUIREDThe destination place (see docs for places)
outboundDateSTRING
REQUIREDThe outbound date. Format “yyyy-mm-dd”.
adultsNUMBER
REQUIREDNumber of adults (16+ years). Must be between 1 and 8.
Optional Parameters
inboundDateSTRING
OPTIONALThe return date. Format “yyyy-mm-dd”. Use empty string for oneway trip.
cabinClassSTRING
OPTIONALThe cabin class. Can be “economy”, “premiumeconomy”, “business”, “first”
childrenNUMBER
OPTIONALNumber of children (1-16 years). Can be between 0 and 8.
infantsNUMBER
OPTIONALNumber of infants (under 12 months). Can be between 0 and 8.
includeCarriersSTRING
OPTIONALOnly return results from those carriers. Comma-separated list of carrier ids.
excludeCarriersSTRING
OPTIONALFilter out results from those carriers. Comma-separated list of carrier ids.
groupPricingSTRING
OPTIONALIf set to true, prices will be obtained for the whole passenger group and if set to false it will be obtained for one adult. By default it is set to false.
Request Snippet
unirest.post("https://skyscanner-skyscanner-flight-search-v1.p.rapidapi.com/apiservices/pricing/v1.0")
.header("X-RapidAPI-Key", "undefined")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("inboundDate=undefined")
.send("cabinClass=undefined")
.send("children=undefined")
.send("infants=undefined")
.send("includeCarriers=undefined")
.send("excludeCarriers=undefined")
.send("groupPricing=undefined")
.send("country=<required>")
.send("currency=<required>")
.send("locale=<required>")
.send("originPlace=<required>")
.send("destinationPlace=<required>")
.send("outboundDate=<required>")
.send("adults=<required>")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response

loading...

Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://skyscanner-skyscanner-flight-search-v1.p.rapidapi.com/apiservices/pricing/v1.0")
.header("X-RapidAPI-Key", "undefined")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("inboundDate=undefined")
.send("cabinClass=undefined")
.send("children=undefined")
.send("infants=undefined")
.send("includeCarriers=undefined")
.send("excludeCarriers=undefined")
.send("groupPricing=undefined")
.send("country=<required>")
.send("currency=<required>")
.send("locale=<required>")
.send("originPlace=<required>")
.send("destinationPlace=<required>")
.send("outboundDate=<required>")
.send("adults=<required>")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication
Sign up for freeto test this endpoint
Join the world’s largest API marketplace with over half a million developers and thousands of APIs.
DiscoverAPIs
Testfrom the browser
Connectusing code snippets
Managefrom one dashboard