aopa.org APIaopa.org ↗
Search airports, get runways, METARs, TAFs, NOTAMs, and aviation events via the AOPA API. 6 endpoints covering general aviation data.
curl -X GET 'https://api.parse.bot/scraper/21222cd8-3859-4e17-8616-d5b80527fa75/search_airports?query=Chicago' \ -H 'X-API-Key: $PARSE_API_KEY'
Search for airports by ID, name, city, or state. Returns matching airports with basic identifiers and location.
| Param | Type | Description |
|---|---|---|
| queryrequired | string | Search query (airport ICAO code, FAA code, name, city, or state) |
{
"type": "object",
"fields": {
"airports": "array of airport objects containing airportId, faaId, icaoId, name, city, stateProvince, country, airportUsage, and location"
},
"sample": {
"data": {
"airports": [
{
"city": "Chicago/Rockford",
"name": "Chicago/Rockford International Airport",
"faaId": "RFD",
"icaoId": "KRFD",
"country": "US",
"location": {
"latitude": 42.1953611,
"longitude": -89.0972222
},
"sourceId": 1,
"airportId": 5533,
"airportUsage": "public",
"stateProvince": "IL"
}
]
},
"status": "success"
}
}About the aopa.org API
The AOPA API provides 6 endpoints for accessing general aviation airport data, including search_airports for finding airports by ICAO code, name, city, or state, and get_airport_weather for retrieving METARs and TAFs from stations within 25–50nm of a given location. Additional endpoints cover runway dimensions, active NOTAMs, airport communications, FBO businesses, and nearby aviation events.
Airport Search and Overview
The search_airports endpoint accepts a free-text query parameter and returns an array of airport objects with fields including airportId, faaId, icaoId, name, city, stateProvince, country, airportUsage, and location. This covers ICAO codes, FAA identifiers, and named locations, making it suitable for autocomplete and lookup flows. The get_airport_overview endpoint expands on this, returning flightComms (communication frequencies), businesses (FBOs and services), notaMsUS (active US NOTAMs embedded in the overview), and precise location coordinates for a specific airport ID.
Runways and Weather
The get_airport_runways endpoint returns an array of landing surface objects per airport, each with name, length, width, materialType1, condition, edgeLighting, and takeOffLandAreas. This is useful for performance planning and checking surface conditions. The get_airport_weather endpoint accepts either an airport_id or explicit lat/lon coordinates. It returns nearby METAR observations — including temp_c, wind_speed_kt, visibility_statute_mi, and flight_category — from stations within 25nm, plus TAF forecasts with valid_time_from, valid_time_to, and forecasts arrays from stations within 50nm.
NOTAMs and Aviation Events
The get_airport_notams endpoint returns combined US domestic and international NOTAMs for a given airport, each with notamId, effectiveDate, expirationDate, rawData, report, and an isTfr boolean flag to distinguish Temporary Flight Restrictions from other notices. The search_events endpoint uses lat, lon, and an optional radius in miles to find upcoming aviation events including fly-ins, air shows, seminars, and webinars, with fields for title, description, startDateTimeUTC, endDateTimeUTC, format, city, stateProvince, and cost.
- Build a preflight planning tool that pulls METARs, TAFs, and NOTAMs for a given airport in a single workflow
- Display runway surface type, length, and lighting data to support aircraft performance calculations
- Create an airport search autocomplete using
faaId,icaoId,name, andcityfields - Identify TFRs at a destination by filtering NOTAMs where
isTfris true - Find local fly-ins and air shows near a user's coordinates using
search_eventswith a configurable radius - List FBOs and fuel providers at an airport using the
businessesarray fromget_airport_overview - Map nearby weather stations by querying
get_airport_weatherwith lat/lon and renderingflight_categoryper METAR
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 100 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 250 req/min |
One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.
Does AOPA offer an official developer API?+
What does `get_airport_weather` return and how wide is the search radius?+
icao_code, raw_text, temp_c, wind_speed_kt, visibility_statute_mi, and flight_category. Each TAF includes raw_text, valid_time_from, valid_time_to, and a forecasts array. You can query by airport_id or supply explicit lat and lon values.How are TFRs distinguished from other NOTAMs in `get_airport_notams`?+
isTfr boolean field. Set to true, it indicates the NOTAM is a Temporary Flight Restriction. The response also includes rawData and a parsed report field alongside validity dates, so you can filter or display TFRs separately from routine airport notices.Does the API return pilot certification data, flight training records, or airspace class details?+
Are international airports covered, or is the data limited to the US?+
search_airports endpoint returns a country field and is not restricted to US airports. However, the get_airport_notams response combines US domestic NOTAMs (notaMsUS) and international NOTAMs, and weather data coverage may vary for airports outside the US depending on available reporting stations. International airport support beyond the fields already exposed is not guaranteed. You can fork the API on Parse and revise it to target specific international data sources.