Skip to content

LuisSevillano/flightradar24-to-csv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FlightRadar24 to CSV

NodeJS script to download and parse data from Flight Radar in tsv and GeoJSON format. To generate the files:

  1. If the aircraft number is known run node index.js followed by the flightId. For example:
$ node index.js 21b090f8
  1. If just know the flight number but not the flightId use FlightRadar24 data portal to get it:

    • Search by flight number id, by aircraft, origin/destination airport etc.
    • Click on play on the desired flight in the Flight history list.
    • Get the value from URL after the # symbol: flightradar24.com/data/flights/vy1292#21b394f6
    • Finally run node index.js flightId.

Video demo.

After the script you will get a folder with the files inside.

latitude longitude altitude_feet altitude_meters speed_kmh speed_kts speed_mph verticalSpeed_fpm verticalSpeed_ms heading squawk timestamp
33.643417 -84.441605 0 0 18.5 10 11.5 0 0 278 0 1509928818
33.643372 -84.441307 0 0 18.5 10 11.5 0 0 317 0 1509928839
33.643661 -84.441185 0 0 35.2 19 21.9 0 0 357 7144 1509929041
{
   "type":"FeatureCollection",
   "features":[
      {
         "type":"Feature",
         "geometry":{
            "type":"LineString",
            "coordinates":[
               [
                  0.225525,
                  51.878933
               ]
...

Note:

The default value of this tool gets the data from the HF803 flight that flies from Yaounde (NSI) to Abidjan (ABJ) . FlightRadar24 keeps only the data for a few weeks so it is likely that when you try this script this default value does not work.

Terms

Please check Flightradar24 Terms of Service. The information provided through this respository is intended strictly for educational purposes only.