Search airports by name, city or code

Searches airports by name, city or code, optionally in one country. Larger airports are listed first.

Request

GEThttps://airport-airline-lookup.p.apihiver.com/v1/airports?q=delhi
*
String. Name, city or code, e.g. 'mumbai' or 'heathrow'.
String. ISO country code filter, e.g. IN.
Number. Maximum number of results (1–50, default 10).
Language
Client
1curl --request GET \
2  --url 'https://airport-airline-lookup.p.apihiver.com/v1/airports?q=delhi&country=%7Bcountry%7D&limit=%7Blimit%7D' \
3  --header 'Accept: application/json' \
4  --header 'X-API-Key: YOUR_API_KEY'

Search airports by name, city or code: Airport & Airline Lookup API reference

Searches airports by name, city or code, optionally in one country. Larger airports are listed first. This endpoint is part of the Airport & Airline Lookup API: Look up airports and airlines worldwide by IATA/ICAO code or name — location, type, elevation, country, call sign and more.

Example response (200, application/json)

Success.

1{
2  "count": 6,
3  "results": [
4    {
5      "lat": 28.55563,
6      "lon": 77.09519,
7      "city": "New Delhi",
8      "iata": "DEL",
9      "icao": "VIDP",
10      "name": "Indira Gandhi International Airport",
11      "type": "large",
12      "country": "India",
13      "website": "https://www.newdelhiairport.in/",
14      "wikipedia": "https://en.wikipedia.org/wiki/Indira_Gandhi_International_Airport",
15      "region_code": "IN-DL",
16      "country_code": "IN",
17      "elevation_ft": 777,
18      "scheduled_service": true
19    },
20    {
21      "lat": 28.585453,
22      "lon": 77.203563,
23      "city": "New Delhi",
24      "iata": null,
25      "icao": "VIDD",
26      "name": "Safdarjung Airport",
27      "type": "medium",
28      "country": "India",
29      "website": null,
30      "wikipedia": "https://en.wikipedia.org/wiki/Safdarjung_Airport",
31      "region_code": "IN-DL",
32      "country_code": "IN",
33      "elevation_ft": 705,
34      "scheduled_service": false
35    },
36    {
37      "lat": 42.8846,
38      "lon": -80.4062,
39      "city": "Delhi",
40      "iata": null,
41      "icao": "CDH6",
42      "name": "Delhi Airport",
43      "type": "small",
44      "country": "Canada",
45      "website": null,
46      "wikipedia": "https://en.wikipedia.org/wiki/Delhi_Aerodrome",
47      "region_code": "CA-ON",
48      "country_code": "CA",
49      "elevation_ft": 775,
50      "scheduled_service": false
51    }
52  ]
53}

Errors

  • 400 — A required parameter is missing or a value has the wrong format.
    1{
    2  "error": {
    3    "code": "INVALID_INPUT",
    4    "message": "q: Field required"
    5  }
    6}

Gateway errors (missing key, no subscription, rate limits) are listed in Error codes.