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!
Sample Response:
States received: 4718 aircraft
Timestamp: 2026-03-02 05:48:58
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
Sample Data
[
[
"39de4f",
"TVF65ZR ",
"France",
1772430538,
1772430538,
-2.3281,
46.2539,
11277.6,
false,
226.16,
220.76,
0.33,
null,
11285.22,
"7644",
false,
0
],
[
"a7f44d",
"SKW5794 ",
"United States",
1772430537,
1772430538,
-122.0587,
37.1944,
5585.46,
false,
204.89,
133.27,
7.8,
null,
5654.04,
"3276",
false,
0
],
[
"801638",
"AXB1518 ",
"India",
1772430491,
1772430492,
92.0628,
25.6329,
4061.46,
false,
151.53,
325.93,
-8.45,
null,
4152.9,
null,
false,
0
]
]