RapidAPI logo

Sign Up

Log In

Skyscanner Flight Search

FREE
By skyscannerOfficial
Updated 3 months ago
Travel, Transportation
10/10
Popularity Score
305ms
Latency
41%
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
Live Flight Search
POSTCreate session
GETPoll session results
Places
GETList Places
Browse Flight Prices
GETBrowse Quotes
GETBrowse Routes
GETBrowse Dates
GETBrowse Dates Inbound
GETBrowse Quotes Inbound
GETBrowse Routes Inbound
Localisation
GETList markets
GETCurrencies
GETBrowse Quotes

Retrieve the cheapest quotes from our cache prices.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
countrySTRING
REQUIREDThe market country your user is in
currencySTRING
REQUIREDThe currency you want the prices in
localeSTRING
REQUIREDThe locale you want the results in (ISO locale)
originplaceSTRING
REQUIREDThe origin place (see places)
destinationplaceSTRING
REQUIREDThe destination place (see places)
outboundpartialdateSTRING
REQUIREDThe outbound date. Format “yyyy-mm-dd”, “yyyy-mm” or “anytime”.
Optional Parameters
inboundpartialdateSTRING
OPTIONALThe return date. Format “yyyy-mm-dd”, “yyyy-mm” or “anytime”. Use empty string for oneway trip.
Request Snippet
unirest.get("https://skyscanner-skyscanner-flight-search-v1.p.rapidapi.com/apiservices/browsequotes/v1.0/US/USD/en-US/SFO-sky/JFK-sky/2019-01-01?inboundpartialdate=2019-09-01")
.header("X-RapidAPI-Host", "skyscanner-skyscanner-flight-search-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
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.get("https://skyscanner-skyscanner-flight-search-v1.p.rapidapi.com/apiservices/browsequotes/v1.0/US/USD/en-US/SFO-sky/JFK-sky/2019-01-01?inboundpartialdate=2019-09-01")
.header("X-RapidAPI-Host", "skyscanner-skyscanner-flight-search-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication