ADSBx Flight Sim Traffic

FREEMIUM
By adsbx
Updated 2 months ago
Travel, Transportation
9.2/10
Popularity Score
882ms
Latency
100%
Success Rate

ADSBx Flight Sim Traffic API Documentation

ADSBexchange.com traffic feed for flight simulators

View API Details
GET25 nm query
GET25 nm query

Returns all aircraft within 25nm radius of specified Lat/Lon

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
latNUMBER
REQUIREDLatitude (-90 to 90)
lonNUMBER
REQUIREDLongitude (-180 to 180) Hint: US is negative longitude!
Code Snippet
unirest.get("https://adsbx-flight-sim-traffic.p.rapidapi.com/api/aircraft/json/lat/{lat}/lon/{lon}/dist/25/")
.header("X-RapidAPI-Host", "adsbx-flight-sim-traffic.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://adsbx-flight-sim-traffic.p.rapidapi.com/api/aircraft/json/lat/{lat}/lon/{lon}/dist/25/
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://adsbx-flight-sim-traffic.p.rapidapi.com/api/aircraft/json/lat/{lat}/lon/{lon}/dist/25/")
.header("X-RapidAPI-Host", "adsbx-flight-sim-traffic.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