IATACodes

FREE
7.4/10
Popularity Score
281ms
Latency
100%
Success Rate

IATACodes API Documentation

Get aviation-specific codes (IATA/ICAO) and flight data.

View API Details
POSTautocompleteQuery
POSTgetAircrafts
POSTgetAircraftsByCodes
POSTgetAirlines
POSTgetAirlinesByCodes
POSTgetAirplaneByRegistrationNumber
POSTgetAirplanes
POSTgetAirplanesByAirline
POSTgetAirports
POSTgetAirportsByCodes
POSTgetCities
POSTgetCitiesByCodes
POSTgetCountries
POSTgetCountriesByCodes
POSTgetNearByAirports
POSTgetRoutes
POSTgetRoutesByArrivalCodes
POSTgetRoutesByDepartureCodes
POSTgetRoutesByFlightNumbers
POSTgetSingleAirportTimetable
POSTgetTaxes
POSTgetTaxesByCodes
POSTgetTimezones
POSTgetWorldFlights
POSTautocompleteQuery

Find airports and cities by query string

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
querySTRING
REQUIREDRequest query
apiKeyCREDENTIALS
REQUIREDApi key obtained from IATACodes
Optional Parameters
languageSELECT
OPTIONALLanguage. Possible values: en (by default), fr, de, es, it, ru, th, tr
Code Snippet
unirest.post("https://IATACodesstefan-skliarovV1.p.rapidapi.com/autocompleteQuery")
.header("X-RapidAPI-Host", "IATACodesstefan-skliarovV1.p.rapidapi.com")
.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);
});
Sample Response
General
Request URL: https://IATACodesstefan-skliarovV1.p.rapidapi.com/autocompleteQuery
Request Method: POST
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.post("https://IATACodesstefan-skliarovV1.p.rapidapi.com/autocompleteQuery")
.header("X-RapidAPI-Host", "IATACodesstefan-skliarovV1.p.rapidapi.com")
.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