/v2/all_with_pos
Receive all aircraft data with position.
API URL
https://api.adsb.ezz456ch.com/v2/all_with_pos
Usage Example
index.js
const axios = require('axios');
const url = 'https://api.adsb.ezz456ch.com/v2/all_with_pos';
async function getallwithpos() {
try {
const response = await axios.get(url);
const data = response.data;
console.log(data);
} catch (error) {
console.log(error);
}
}
getallwithpos();
Example Response
{
"ac": [
{
"hex": "885106",
"type": "adsb_icao",
"flight": "THA621 ",
"r": "HS-THF",
"t": "A359",
"alt_baro": 43000,
"alt_geom": 45550,
"calc_track": 267,
"category": "A5",
"lat": 13.810959,
"lon": 104.093328,
"nic": 8,
"rc": 186,
"seen_pos": 59.78,
"version": 2,
"sil_type": "perhour",
"alert": 0,
"spi": 0,
"mlat": [],
"tisb": [],
"messages": 14539,
"seen": 55.2,
"rssi": -18.9
},
{
"hex": "8852e1",
"type": "adsb_icao",
"flight": "THA671 ",
"r": "HS-TWA",
"t": "B789",
"alt_baro": 40000,
"alt_geom": 42625,
"gs": 455.8,
"ias": 248,
"tas": 474,
"mach": 0.82,
"wd": 236,
"ws": 21,
"oat": -53,
"tat": -24,
"track": 264.96,
"track_rate": 0,
"roll": 0,
"mag_heading": 264.9,
"true_heading": 263.75,
"baro_rate": 64,
"geom_rate": 0,
"squawk": "3754",
"emergency": "none",
"category": "A5",
"nav_qnh": 1012.8,
"nav_altitude_mcp": 40000,
"nav_modes": [
"autopilot",
"vnav",
"lnav",
"tcas"
],
"lat": 15.185806,
"lon": 104.150728,
"nic": 8,
"rc": 186,
"seen_pos": 0.248,
"version": 2,
"nic_baro": 1,
"nac_p": 9,
"nac_v": 1,
"sil": 3,
"sil_type": "perhour",
"gva": 1,
"sda": 2,
"alert": 0,
"spi": 0,
"mlat": [],
"tisb": [],
"messages": 163181,
"seen": 0.2,
"rssi": -13.6
}
],
"msg": "No error",
"now": 1709625530611,
"total": 2,
"ctime": 1709625530611,
"ptime": 0
}