RapidAPI logo

Sign Up

Log In

ADSBexchange.com

PAID
By adsbx
Updated 17 days ago
Travel, Transportation
8.2/10
Popularity Score
1362ms
Latency
100%
Success Rate

ADSBexchange.com API Documentation

Data for Live Air Traffic and Flight locations via ADS-B/MLAT - This API for non-commercial, personal use only.

View API Details
Multiple Aircraft
GETAircraft by Squawk
Aircraft in Radius
GETAircraft within 25nm Radius
GETAircraft within 5nm Radius
GETAircraft within 1nm Radius
GETAircraft within 250nm Radius
GETAircraft within 10nm Radius
GETAircraft within 100nm Radius
Single Aircraft
GETSingle Aircraft Position by ICAO
GETSingle Aircraft Position by Registration
Military
GETAll Military Aircraft Positions
GETAircraft by Squawk

Returns one or more aircraft currently broadcasting a specific squawk code

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
sqkNUMBER
REQUIRED4-digit Transponder Squawk Code in Octal (ie.1200, 7700, 1234 etc.)
Request Snippet
unirest.get("https://adsbexchange-com1.p.rapidapi.com/sqk/{sqk}/")
.header("X-RapidAPI-Host", "adsbexchange-com1.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://adsbexchange-com1.p.rapidapi.com/sqk/{sqk}/")
.header("X-RapidAPI-Host", "adsbexchange-com1.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