opensky-cli
v0.1.2
Published
CLI for the opensky API
Downloads
112
Readme
opensky-cli
Unofficial CLI for the OpenSky Network API - live aircraft tracking data. Made with api2cli.dev.
Note: This is a community-maintained project and is not officially affiliated with or endorsed by OpenSky Network. This tool is for non-commercial use only. Commercial use requires written permission from OpenSky Network.
Attribution
This tool uses data from The OpenSky Network. If you use this data in a publication, please cite:
Matthias Schäfer, Martin Strohmeier, Vincent Lenders, Ivan Martinovic and Matthias Wilhelm. "Bringing Up OpenSky: A Large-scale ADS-B Sensor Network for Research." In Proceedings of the 13th IEEE/ACM International Symposium on Information Processing in Sensor Networks (IPSN), pages 83-94, April 2014.
Install
npx api2cli install pyry/opensky-cliThis clones the repo, builds the CLI, links it to your PATH, and installs the AgentSkill to your coding agents.
Install AgentSkill only
npx skills add pyry/opensky-cliUsage
Authentication is optional. Anonymous access works with rate limits.
# Optional: set credentials for higher rate limits
opensky-cli auth set "username:password"
opensky-cli --helpResources
states
| Command | Description |
|---------|-------------|
| opensky-cli states all --json | Get all current aircraft state vectors |
| opensky-cli states all --lamin 45.8 --lomin 5.9 --lamax 47.8 --lomax 10.5 --json | Get states in bounding box |
| opensky-cli states all --icao24 abc9f3 --json | Get state for specific aircraft |
| opensky-cli states all --extended --json | Get states with aircraft category |
| opensky-cli states own --json | Get states for your own sensors (requires auth) |
flights
| Command | Description |
|---------|-------------|
| opensky-cli flights all --begin <unix> --end <unix> --json | Get all flights in time interval |
| opensky-cli flights aircraft --icao24 abc9f3 --begin <unix> --end <unix> --json | Get flights for specific aircraft |
| opensky-cli flights arrivals --airport EDDF --begin <unix> --end <unix> --json | Get arrivals at airport |
| opensky-cli flights departures --airport EDDF --begin <unix> --end <unix> --json | Get departures from airport |
tracks
| Command | Description |
|---------|-------------|
| opensky-cli tracks get --icao24 abc9f3 --json | Get trajectory for an aircraft |
| opensky-cli tracks get --icao24 abc9f3 --time <unix> --json | Get trajectory at specific time |
Global Flags
All commands support: --json, --format <text|json|csv|yaml>, --verbose, --no-color, --no-header
