Aviationstack Integration¶
Official Aviationstack API Documentation
Aviationstack provides flight, airport, airline, route, schedule, and timetable data. Use KeyPool to call Aviationstack with your team token and a stable base URL.
Endpoint¶
{YOUR_KEYPOOL_BASE_URL}/v1/aviationstack
Authentication¶
Send your KeyPool team token as a bearer token. Do not pass an upstream access_key query parameter.
Authorization: Bearer {KEYPOOL_TOKEN}
Quick Start¶
List Flights¶
curl -G "${KEYPOOL_BASE_URL}/v1/aviationstack/v1/flights" \
-H "Authorization: Bearer ${KEYPOOL_TOKEN}" \
--data-urlencode "limit=10" \
--data-urlencode "dep_iata=SFO"
List Airports¶
curl -G "${KEYPOOL_BASE_URL}/v1/aviationstack/v1/airports" \
-H "Authorization: Bearer ${KEYPOOL_TOKEN}" \
--data-urlencode "search=San Francisco"
Common Endpoints¶
| Endpoint | Purpose |
|---|---|
/v1/flights |
Live flight data |
/v1/airports |
Airport records |
/v1/airlines |
Airline records |
/v1/airplanes |
Airplane records |
/v1/routes |
Route data |
/v1/schedules |
Schedule data |
/v1/timetable |
Airport timetable data |
Interactive API Reference¶
For in-browser testing, see API Reference -> Aviationstack.