RapidAPI logo

AirHex

FREE
By airhex
Updated 4 months ago
Travel
5.8/10
Popularity Score
71ms
Latency
-
Success Rate

AirHex API Documentation

AirHex is a service with daily updated supplemental travel content, which includes airline logos, airline check-in URL's and handy purified IATA database

View API Details
GETAirlines Check-In URL
GETAirlines marketing names
GETAirlines Check-In URL
Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
iataSTRING
REQUIREDAirline's IATA code
Optional Parameters
md5apikeySTRING
OPTIONALPlease register at http://airhex.com to use your own API key
Code Snippet
unirest.get("https://airhex-airhex-v1.p.rapidapi.com/content/check-in/")
.header("X-RapidAPI-Host", "airhex-airhex-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
General
Request URL: https://airhex-airhex-v1.p.rapidapi.com/content/check-in/
Request Method: GET
Response Headers
Response Body

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://airhex-airhex-v1.p.rapidapi.com/content/check-in/")
.header("X-RapidAPI-Host", "airhex-airhex-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