RapidAPI logo

flight APIs

Flight booking and real-time flight information from Skyscanner, British Airways and more
Supercharge your AppSupercharge your AppDiscover and connect to thousands of APIs in the world's largest API Hub
flight APIs

The Google Flights API (QPX Express API) is no longer available. Don't worry because there are many Google Flights API alternatives available on the RapidAPI Marketplace, including APIs like Skyscanner, Flight Bookings, & Laminar Flight data. With these APIs, you will have no problem integrating the best flight data into your applications. Browse these flight data & airport APIs to help enrich your website or app!

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.("https://")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication