OpenSky API Test

Authentication Status
Current Method: OAuth2
OAuth2 credentials configured
Configuration
To configure OAuth2 credentials:
  1. Open your .env file
  2. 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: 11059 aircraft
Timestamp: 2025-11-21 16:41:03
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

[
    [
        "4b1815",
        "SWR1ZB  ",
        "Switzerland",
        1763743262,
        1763743262,
        19.234,
        41.3375,
        11582.4,
        false,
        226.45,
        320.16,
        0.33,
        null,
        11612.88,
        "5507",
        false,
        0
    ],
    [
        "39de4e",
        "TVF50KR ",
        "France",
        1763743262,
        1763743262,
        22.8094,
        38.0695,
        10980.42,
        false,
        230.89,
        322.7,
        -0.33,
        null,
        11231.88,
        "2063",
        false,
        0
    ],
    [
        "80162c",
        "AXB522  ",
        "India",
        1763743242,
        1763743243,
        69.506,
        18.2948,
        10668,
        false,
        235.83,
        116.01,
        0,
        null,
        11285.22,
        null,
        false,
        0
    ]
]