/api/v2/callsign

/api/v2/callsign

Receive aircraft data by Callsign.

API URL

https://api.ezz456ch.xyz/api/v2/callsign

Example

index.js
const axios = require('axios');
const callsign = 'tha649';
const url = `https://api.ezz456ch.xyz/api/v2/callsign/${callsign}`;
 
async function getcallsign() {
  try {
    const response = await axios.get(url);
    const data = response.data;
    console.log(data);
  } catch (error) {
    console.log(error);
  }
}
 
getcallsign();

Example Response

{
  ac: [
    {
      hex: '8850b0',
      type: 'adsb_icao',
      flight: 'THA649  ',
      r: 'HS-TEP',
      t: 'A333',
      alt_baro: 40000,
      alt_geom: 42700,
      gs: 454.5,
      ias: 248,
      tas: 470,
      mach: 0.816,
      wd: 235,
      ws: 18,
      oat: -55,
      tat: -26,
      track: 265.33,
      track_rate: -0.03,
      roll: -0.53,
      mag_heading: 265.43,
      true_heading: 264.24,
      baro_rate: -32,
      geom_rate: 0,
      squawk: '6022',
      category: 'A0',
      nav_qnh: 1008,
      nav_altitude_mcp: 40000,
      lat: 15.235931,
      lon: 104.747844,
      nic: 7,
      rc: 371,
      seen_pos: 0.073,
      version: 0,
      nac_p: 7,
      nac_v: 0,
      sil: 2,
      sil_type: 'unknown',
      alert: 0,
      spi: 0,
      mlat: [],
      tisb: [],
      messages: 108671,
      seen: 0.1,
      rssi: -16.2
    }
  ],
  msg: 'No error',
  now: 1709623835611,
  total: 1,
  ctime: 1709623835611,
  ptime: 0
}