Geo & Travel

Airports API

Look up airports worldwide by IATA code, ICAO code, name, or country.

Request Headers

Name Required Description
X-RapidAPI-Key required Your RapidAPI key. Get one free.
X-RapidAPI-Host required airports.p.rapidapi.com

Endpoints

GET /v1/airports

Search airports by IATA, ICAO, name, or country

Parameters

NameTypeRequiredDefaultConstraints
countrystringoptional——
iatastringoptional——
icaostringoptional——
limitintegeroptional——
namestringoptional——
offsetintegeroptional——

Code Examples

curl --request GET \
  --url 'https://airports.p.rapidapi.com/v1/airports?country=example&iata=example' \
  --header 'x-rapidapi-key: YOUR_API_KEY' \
  --header 'x-rapidapi-host: airports.p.rapidapi.com'
GET /v1/airports/countries

List all countries that have airports in the dataset, sorted alphabetically by ISO code.

Code Examples

curl --request GET \
  --url 'https://airports.p.rapidapi.com/v1/airports/countries' \
  --header 'x-rapidapi-key: YOUR_API_KEY' \
  --header 'x-rapidapi-host: airports.p.rapidapi.com'

Interactive Example

airports
$ GET /v1/airports?iata=LAX
{"data":[{"icao":"KLAX","iata":"LAX","name":"Los Angeles International Airport","city":"Los Angeles","country":"US","latitude":33.9425,"longitude":-118.408}],"meta":{"total":1,"limit":10,"offset":0}}

Subscribe & License

Access this API with commercial-ready tiers on RapidAPI. Flexible plans designed for side-projects, startups, and high-volume production architectures.

View Pricing & Subscribe

Developer Support

Need help integrating or have a custom endpoint request? Our engineering team is here to assist with authentication, payload schemas, and high-frequency rate limit increases.

Contact API Engineering

System Performance

Monitored 24/7 with a 99.9% uptime SLA. Built atop cloud-native microservices with globally distributed edge caching to ensure ultra-low latency response times.

All Systems Operational