@ddima16/flightradarapi
v1.4.7
Published
SDK for FlightRadar24 (Cloudflare Bypass Fork)
Maintainers
Readme
FlightRadarAPI
Unofficial SDK for FlightRadar24 for Node.js.
This SDK should only be used for your own educational purposes. If you are interested in accessing Flightradar24 data commercially, please contact [email protected]. See more information at Flightradar24's terms and conditions.
Official FR24 API: https://fr24api.flightradar24.com/
Note: This is a maintained fork of JeanExtreme002/FlightRadarAPI featuring integrated Cloudflare bypass support.
🛡️ Cloudflare Bypass (Required)
FlightRadar24 uses Cloudflare protection. To bypass this, you must use a Cloudflare Worker as a proxy.
Cloudflare Workers are free for up to 100,000 requests per day — perfect for personal and educational use.
Deploy the Worker
Or deploy manually — see the worker source code.
Installing FlightRadarAPI:
$ npm install @ddima16/flightradarapiBasic Usage:
Import the class FlightRadar24API and create an instance of it.
const { FlightRadar24API, Countries } = require("@ddima16/flightradarapi");
// Initialize with your worker proxy URL
const frApi = new FlightRadar24API("https://your-worker.workers.dev/?url=");
// Or via environment variable: FR24_PROXY_URL=https://your-worker.workers.dev/?url=Getting flights list:
let flights = await frApi.getFlights(); // Returns a list of Flight objectsGetting airports list (requires country selection):
// Get airports from specific countries
let airports = await frApi.getAirports([Countries.BRAZIL, Countries.UNITED_STATES]); // Returns a list of Airport objectsGetting airlines list:
let airlines = await frApi.getAirlines(); // Returns detailed airline information with IATA/ICAO codesGetting zones list:
let zones = await frApi.getZones();Using Countries enum:
// Available countries in the Countries enum
const { Countries } = require("@ddima16/flightradarapi");
// Examples of country codes:
Countries.UNITED_STATES // "united-states"
Countries.BRAZIL // "brazil"
Countries.GERMANY // "germany"
Countries.FRANCE // "france"
// ... and many moreDocumentation
Explore the documentation of FlightRadarAPI package, for Python or NodeJS, through this site.
Maintained with ❤️ by @ddima16
