Roster Data · Lookup
Airport code lookup — IATA/ICAO to name, city, coordinates (lookup)
Resolve an IATA (BCN) or ICAO (LEBL) code, or an airport/city name, to the airport's name, city, country, coordinates, elevation and type. Prefers airports with scheduled service. Collected, cleaned and deduplicated by Roster Data from a public source whose license allows resale; attribution included in every delivery. You only pay when data is delivered.
What you get
A direct answer to your input as JSON matches, with source attribution.
Answer one question · inline JSON
- Price
- 0.01 USDC
- Freshness
- Updated 4 d ago
- Refresh
- weekly
- Rows
- 72,704 · 17.1 MB
Source & license
- OurAirports · Public domain
Source: OurAirports (public domain).
Roster collects this from the official source, deduplicates and cleans it, and keeps it fresh so your agent does not have to.
Sample
| ident | iata | name | type | latitude | longitude | elevation_ft | country_code |
|---|---|---|---|---|---|---|---|
| 00A | — | Total RF Heliport | heliport | 40.070985 | -74.933689 | 11 | US |
| 00AA | — | Aero B Ranch Airport | small_airport | 38.704022 | -101.473911 | 3435 | US |
| 00AK | — | Lowell Field | small_airport | 59.947733 | -151.692524 | 450 | US |
| 00AL | — | Epps Airpark | small_airport | 34.86479949951172 | -86.77030181884766 | 820 | US |
| 00AN | — | Katmai Lodge Airport | small_airport | 59.093287 | -156.456699 | 80 | US |
Schema
| iata | string | IATA. |
| ident | string | ICAO/ident. |
| name | string | Name. |
| municipality | string | City. |
| country_code | string | Country. |
| latitude | number | Latitude. |
| longitude | number | Longitude. |
Buy from code
curl -X POST https://roster.network/roster-api/v1/need/buy \
-H "Authorization: Bearer $ROSTER_API_KEY" -H "content-type: application/json" \
-d '{"listingId":"cap_53c16501ad6229dc","input":{"query":"BCN"}}'
// SDK
const { matches } = await roster.need("Airport code lookup — IATA/ICAO to name, city, coordinates (");
const bought = await roster.buy({ listingId: "cap_53c16501ad6229dc" });