/v2/hex

Receive aircraft data by Hex.

API URL

https://api.adsb.ezz456ch.com/v2/hex

Usage Example

index.js
const axios = require('axios');
const hex = '880444';
const url = `https://api.adsb.ezz456ch.com/v2/hex/${hex}`;
 
async function gethex() {
	try {
		const response = await axios.get(url);
		const data = response.data;
		console.log(data);
	} catch (error) {
		console.log(error);
	}
}
 
gethex();

Example Response

{
	ac: [
		{
			hex: '880444',
			type: 'adsb_icao',
			flight: 'AIQ231  ',
			r: 'HS-ABD',
			t: 'A320',
			alt_baro: 34000,
			alt_geom: 36350,
			gs: 447.3,
			ias: 270,
			tas: 464,
			mach: 0.78,
			wd: 256,
			ws: 17,
			oat: -40,
			tat: -12,
			track: 262.03,
			track_rate: -0.03,
			roll: 0.18,
			mag_heading: 262.97,
			true_heading: 261.8,
			baro_rate: -32,
			geom_rate: 0,
			squawk: '2653',
			category: 'A0',
			nav_qnh: 1006,
			nav_altitude_mcp: 34000,
			lat: 15.23584,
			lon: 104.368286,
			nic: 7,
			rc: 371,
			seen_pos: 0.26,
			version: 0,
			nac_p: 7,
			nac_v: 0,
			sil: 2,
			sil_type: 'unknown',
			alert: 0,
			spi: 0,
			mlat: [],
			tisb: [],
			messages: 55198,
			seen: 0.3,
			rssi: -13.5
		}
	],
	msg: 'No error',
	now: 1709626342611,
	total: 1,
	ctime: 1709626342611,
	ptime: 0
}