OpenSky API Test
Authentication Status
Current Method: OAuth2
OAuth2 credentials configured
OAuth2 credentials configured
Configuration
To configure OAuth2 credentials:
- Open your
.envfile - Uncomment and set the following variables:
OPENSKY_CLIENT_ID=your_client_id
OPENSKY_CLIENT_SECRET=your_client_secret
Or use environment variables:
export OPENSKY_CLIENT_ID=your_client_id
export OPENSKY_CLIENT_SECRET=your_client_secret
Test OAuth2 token generation:
export TOKEN=$(curl -X POST "https://auth.opensky-network.org/auth/realms/opensky-network/protocol/openid-connect/token" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "grant_type=client_credentials" \
-d "client_id=$OPENSKY_CLIENT_ID" \
-d "client_secret=$OPENSKY_CLIENT_SECRET" | jq -r .access_token)
echo "Token: $TOKEN"
API Connection Test
Test Result
✅ API connection successful!
Rate Limits & Features
Anonymous Access
- 400 requests/day
- Basic aircraft states
- No historical data
Authenticated Access
- 4000 requests/day
- Historical flight data
- Extended aircraft info
- Higher rate limits
Flight Data Test Results
Test Parameters:
- Route: EDDF → OMDB
- Date Used: 2025-11-14 (7 days ago for free tier)
- UTC Begin: 1763078400 (2025-11-14 00:00:00)
- UTC End: 1763164799 (2025-11-14 23:59:59)
API Call:
curl -H "Authorization: Bearer $TOKEN" \
"https://opensky-network.org/api/flights/departure?airport=EDDF&begin=1763078400&end=1763164799"
Results:
✅ Found 3 flights from EDDF to OMDB
| Callsign | ICAO24 | Departure | Arrival | Time |
|---|---|---|---|---|
| UAE46 | 89631c | EDDF | OMDB | 13:57 - 19:42 |
| DLH630 | 3c6572 | EDDF | OMDB | 12:52 - 18:49 |
| UAE44 | 896216 | EDDF | OMDB | 08:57 - 14:42 |