← 返回
AI智能

A simple Flight Tracker

Flight tracking and scheduling. Track live flights in real-time by region, callsign, or airport using OpenSky Network. Search flight schedules between airports. Use for queries like "What flights are over Switzerland?" or "When do flights from Hamburg arrive in Zurich?" or "Track flight SWR123".
航班追踪与调度。通过OpenSky网络实时追踪地区、呼号或机场的航班。查询机场间航班时刻表。适用于“哪些航班正在瑞士上空?”、“汉堡至苏黎世航班何时到达?”或“追踪SWR123航班”等查询。
xenofex7
AI智能 clawhub v1.1.0 1 版本 97877 Key: 无需
★ 5
Stars
📥 5,248
下载
💾 1,127
安装
1
版本
#aviation#flight#latest#opensky#tracking

概述

Flight Tracker

Track flights in real-time and search flight schedules between airports.

Quick Commands

Live Flight Tracking

Flights over a region (bounding box)

# Switzerland (lat_min, lat_max, lon_min, lon_max)
curl -s "https://opensky-network.org/api/states/all?lamin=45.8&lomin=5.9&lamax=47.8&lomax=10.5" | \
  jq -r '.states[] | "\(.[1]) - \(.[2]) | Alt: \(.[7])m | Speed: \(.[9])m/s | From: \(.[5])"'

Track specific flight by callsign

curl -s "https://opensky-network.org/api/states/all?icao24=<aircraft-icao>" | jq .

Get live flight info

# Use helper script
python3 scripts/track.py --region switzerland
python3 scripts/track.py --callsign SWR123
python3 scripts/track.py --airport LSZH

Flight Schedules

Search for scheduled flights between airports:

# Basic usage (shows search links)
python3 scripts/schedule.py HAM ZRH

# With specific date
python3 scripts/schedule.py --from HAM --to ZRH --date 2026-01-15

# With API key (optional, for detailed results)
export AVIATIONSTACK_API_KEY='your_key_here'
python3 scripts/schedule.py HAM ZRH

Without API key: Shows helpful search links (Google Flights, FlightRadar24, airline websites)

With API key: Fetches live schedule data with departure/arrival times, terminals, gates, and status

Free API key available at aviationstack.com (100 requests/month)

Regions

Pre-defined regions in the script:

  • switzerland: Swiss airspace
  • europe: European airspace (rough bounds)
  • zurich: Area around Zurich
  • geneva: Area around Geneva

API Endpoints

All states

GET https://opensky-network.org/api/states/all

Optional parameters:

  • lamin, lomin, lamax, lomax: Bounding box
  • icao24: Specific aircraft (hex code)
  • time: Unix timestamp (0 = now)

Response Format

Each flight state contains:

[0]  icao24      - Aircraft ICAO24 address (hex)
[1]  callsign    - Flight callsign (e.g., "SWR123")
[2]  origin_country - Country name
[5]  origin      - Origin airport (if available)
[7]  baro_altitude - Altitude in meters
[9]  velocity    - Speed in m/s
[10] heading     - Direction in degrees
[11] vertical_rate - Climb/descent rate in m/s

Airport Codes

ICAO (for live tracking)

  • LSZH - Zurich
  • LSGG - Geneva
  • LSZB - Bern
  • LSZA - Lugano
  • LFSB - Basel-Mulhouse (EuroAirport)

IATA (for schedules)

  • ZRH - Zurich
  • GVA - Geneva
  • BSL - Basel
  • BRN - Bern
  • LUG - Lugano
  • HAM - Hamburg
  • FRA - Frankfurt
  • MUC - Munich
  • BER - Berlin
  • LHR - London Heathrow
  • CDG - Paris CDG
  • AMS - Amsterdam

Notes

Live Tracking (OpenSky Network)

  • Free API with rate limits (anonymous: 400/day)
  • Real-time data from ADS-B receivers worldwide
  • No API key required
  • Data updated every 10 seconds
  • Create account for higher limits and historical data

Flight Schedules (AviationStack)

  • Optional API key for detailed schedule data
  • Free tier: 100 requests/month
  • Without API: provides search links to Google Flights, FlightRadar24, etc.
  • Supports date-specific queries

版本历史

共 1 个版本

  • v1.1.0 当前
    2026-03-28 10:30 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,349 📥 317,694
content-creation

BookStack

xenofex7
BookStack Wiki与文档API集成。支持通过编程方式管理知识库,包括创建、读取、更新和删除书籍、章节、页面及书架,并提供全局全文搜索功能。适用于以下场景:(1) 创建或编辑Wiki页面和文档;(2) 以书籍和章节形式组织内容;(3
★ 3 📥 3,231
ai-intelligence

self-improving agent

pskoett
捕获经验教训、错误和纠正,以实现持续改进。使用时机:(1)命令或操作意外失败;(2)用户纠正……
★ 4,055 📥 795,847