apilayer aviationstack
实时航班状态和全球航空数据 API
- 认证方式
- OAuth
- HTTPS
- Yes
- CORS
- Unknown
- 分类
- 交通运输
- 文档 / URL
- https://aviationstack.com/
简介
aviationstack(APILayer 产品)提供实时航班追踪、时刻表和航司数据。认证是 API 密钥(无效密钥返回 401,已实测)。
快速开始
航班(替换 YOUR_KEY):
curl "https://api.aviationstack.com/v1/flights?access_key=YOUR_KEY&limit=1"
{
"pagination": { "limit": 1, "offset": 0, "count": 1, "total": 15234 },
"data": [
{
"flight_date": "2026-08-22",
"flight_status": "active",
"flight": { "number": "KL1234", "iata": "KL1234" },
"departure": { "airport": "AMS", "iata": "AMS" },
"arrival": { "airport": "CDG", "iata": "CDG" }
}
]
}
认证方式
- 在 aviationstack.com 注册 → 免费 API 密钥。
- 通过
access_key查询参数携带(无效 → 401,已实测)。
速率限制与注意事项
- 免费层:100 次/月(以文档为准);付费档可扩展。
- 端点:
/v1/flights、/v1/schedules、/v1/airlines、/v1/airports。 - 免费层对历史/实时数据有限制;实时数据需要付费套餐。
常见问题
aviationstack 免费吗? 免费层:100 次/月;更多需要付费。
如何获取密钥? aviationstack.com → 注册。
认证风格是什么?
access_key 查询参数(已实测)。
交通运输 分类更多
| API | Auth | HTTPS | CORS | |
|---|---|---|---|---|
| ADS-B Exchange Access real-time and historical data of any and all airborne aircraft | No auth | Yes | Unknown | ↗ |
| airportsapi Get name and website-URL for airports by ICAO code | No auth | Yes | Unknown | ↗ |
| AIS Hub Real-time data of any marine and inland vessel equipped with AIS tracking system | API Key | No | Unknown | ↗ |
| Amadeus for Developers Travel Search - Limited usage | OAuth | Yes | Unknown | ↗ |
| Apimetro Geospatial data for Mexico City public transport system (Metro, Metrobús, Cablebús, RTP, etc.) | No auth | Yes | Yes | ↗ |