get https://api.yayzy.com/business/airports
This API makes it easy for you to collect your customers flight information that can be used to further personalize the flight carbon footprint
Get airports by name
Search for an airport by name, city or IATA code
Example request
Query params:
name=barajas
Example response
{
"airports": [
{
"_id": "6218b010ba28c21aa5a3ef1c",
"name": "Barajas",
"city": "Madrid",
"country": "Spain",
"iata": "MAD",
"icao": "LEMD",
"latitude": 40.493556,
"longitude": -3.566764,
"altitude": 2000,
"timezone": "1",
"dst": "E",
"tz": "Europe/Madrid"
}
]
}