Registry / http-networking / FlightRadarAPI

FlightRadarAPI

JSON →
library1.5.1pypypi✓ verified 82d ago

Python SDK for FlightRadar24, providing access to real-time flight tracking data including flights, airlines, airports, and more. Currently at version 1.4.0, with monthly releases. Works with Python >=3.7.

pip install FlightRadarAPI
INSTALL
IMPORT
SIG · FLIGHTRADARAPI
F
FlightRadarAPI
http-networkingpythonv1.5.1
Install
3.3s avg
Import
Disk
60MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.5.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 70.6MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 3.3s · import 0.000s · 69MB
60MB installed
● package 60MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

FlightRadar24API
from FlightRadar24 import FlightRadar24API
from FlightRadarAPI import FlightRadarAPI

Initialize the API with credentials and fetch live flight data.

from FlightRadarAPI import FlightRadarAPI # Initialize with your FlightRadar24 username/password or token username = os.environ.get('FR24_USERNAME', '') password = os.environ.get('FR24_PASSWORD', '') api = FlightRadarAPI(username=username, password=password) # Get real-time flights (returns list of Flight objects) flights = api.get_flights() for flight in flights: print(flight.callsign, flight.latitude, flight.longitude)
Debug
Known issues
breakingThe SDK changed from a module-level function-based API to a class-based API in version 1.0.0. Old code using `import FlightRadarAPI` and calling functions directly will break.
fix
Use `from FlightRadarAPI import FlightRadarAPI` and instantiate the class.
affects: <1.0.0
deprecatedThe `get_flights` method now requires authentication (username/password or token). Anonymous access is no longer supported.
fix
Provide valid credentials via environment variables or constructor arguments.
affects: >=0.0.0
gotchaFlightRadarAPI uses rate limits; frequent requests may result in temporary bans. Use with respect and caching.
fix
Implement request throttling and respect HTTP 429 responses.
affects: all
Upgrade
Version history
1.5.1latest on PyPI · released May 12, 2026
Audit
Dependencies
requestsrequiredHTTP library for API calls
Agent activity
61 hits · last 30 days
node
56
OpenAI (training)
1
Resources
FlightRadarAPI — pip install FlightRadarAPI · libregistry