Documentation menu

Endpoint: random-airport

A randomly selected airport. A fresh selection is made for every request.

GEThttps://airports.mimo.dev/api/random-airport

Request

GETrandom-airport
1fetch("https://airports.mimo.dev/api/random-airport")
2 .then((res) => res.json())
3 .then((json) => console.log(json))
4 .catch((error) => console.error(error))

Response

response.json
1{
2 "id": "25850",
3 "ident": "WN55",
4 "type": "small_airport",
5 "name": "Randle-Kiona Airpark",
6 "latitude_deg": "46.51150131225586",
7 "longitude_deg": "-122.00599670410156",
8 "elevation_ft": "934",
9 "continent": "NA",
10 "iso_country": "US",
11 "iso_region": "US-WA",
12 "municipality": "Randle",
13 "scheduled_service": "no",
14 "icao_code": null,
15 "iata_code": null,
16 "gps_code": "WN55",
17 "local_code": "WN55",
18 "home_link": null,
19 "wikipedia_link": null,
20 "keywords": null
21}