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 24 h ago
- Refresh
- weekly
- Rows
- 72,627 · 17.0 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
| iata | name | type | ident | latitude | longitude | region_code | country_code |
|---|---|---|---|---|---|---|---|
| — | Total RF Heliport | heliport | 00A | 40.070985 | -74.933689 | US-PA | US |
| — | Aero B Ranch Airport | small_airport | 00AA | 38.704022 | -101.473911 | US-KS | US |
| — | Lowell Field | small_airport | 00AK | 59.947733 | -151.692524 | US-AK | US |
| — | Epps Airpark | small_airport | 00AL | 34.86479949951172 | -86.77030181884766 | US-AL | US |
| — | Katmai Lodge Airport | small_airport | 00AN | 59.093287 | -156.456699 | US-AK | 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" });