LuftFly
v1.9.1Airports, weather, forecasts, climate, US flight stats, holidays and travel advisories for AI.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_airports Search airports
Find airports by city name (nearest airports to a city), by coordinates, or by name/code text. Returns IATA/ICAO codes, names and distances. Use this first when the user names a city or place instead of an airport code.
| Parameter | Type | Description |
|---|---|---|
city | string | City name, e.g. Paris. Returns the nearest airports with scheduled service. |
country | string | ISO 3166-1 alpha-2 code to disambiguate (e.g. FR). |
language | string | Optional language for names (adds localized_name where available). |
lat | number | |
limit | integer | Default 10, max 25. |
lon | number | |
query | string | Airport name or code text, e.g. heathrow. |
radius_km | number | Search radius, default 100 (max 500). |
scheduled_only | boolean | Only airports with scheduled passenger service (default true). |
airport_overview Airport overview
One call for the essentials of an airport: identity and location, country travel advisory level, local time, passenger/runway statistics, current weather (METAR), nearby UNESCO sites, and for US airports live FAA delays and 12-month on-time performance.
| Parameter | Type | Description |
|---|---|---|
code * | string | Airport IATA (YUL) or ICAO (CYUL) code. |
language | string | Optional language for names (adds localized_name where available). |
airport_weather Airport weather
Weather for an airport: current METAR, TAF, multi-day forecast (daily or next 24 hours hourly) and monthly climate normals. METAR/TAF only exist for airports with a weather station; forecasts cover about 1,150 large airports.
| Parameter | Type | Description |
|---|---|---|
code * | string | Airport IATA (YUL) or ICAO (CYUL) code. |
parts | array | Default: observation and forecast. |
best_time_to_visit Best time to visit
Monthly comfort score (0-100) for the area around an airport from climate normals, with the three best and worst months. A heuristic, not an official rating.
| Parameter | Type | Description |
|---|---|---|
code * | string | Airport IATA (YUL) or ICAO (CYUL) code. |
activity | string | Default sightseeing. |
flight_info Flight distance, time and CO2
Between two airports: great-circle distance, rough flight time, time difference, and per-passenger CO2 estimate (UK government factors). For routes touching the US it also lists the carriers that fly the route (with passengers, load factor, on-time rate). It is not live flight status or a schedule.
| Parameter | Type | Description |
|---|---|---|
from * | string | Airport IATA (YUL) or ICAO (CYUL) code. |
to * | string | Airport IATA (YUL) or ICAO (CYUL) code. |
cabin_class | string | |
passengers | integer | |
round_trip | boolean |
country_brief Country brief
A destination briefing for a country: facts (capital, currency with rate per euro, languages, driving side, calling code, neighbours), indicators (price level, Big Mac price, safety and infrastructure), the government travel advisory level, CDC health notices and upcoming public holidays.
| Parameter | Type | Description |
|---|---|---|
country * | string | ISO country code, e.g. JP or JPN. |
holiday_days | integer | Look-ahead for holidays, default 120. |
language | string | Optional language for names (adds localized_name where available). |
travel_advisory Government travel advisory
Official government travel advice for a country (UK, Canada, US sources merged into one 1-4 level): summary, entry requirements, health, local laws, natural hazards and emergency numbers. Pick the sections you need.
| Parameter | Type | Description |
|---|---|---|
country * | string | ISO country code. |
sections | array | Default: summary. |
holidays Public holidays and long weekends
Public holidays for a country and year (2026-2028), or the upcoming ones; optional regional holidays (e.g. QC) and long weekends / one-day bridge opportunities.
| Parameter | Type | Description |
|---|---|---|
country * | string | |
long_weekends | boolean | |
region | string | Region/subdivision code such as QC (see regions_available). |
upcoming_days | integer | If set, list holidays in the next N days instead of a year. |
year | integer |
convert_time Convert time between places
Convert a local time between two airports or IANA time zones with the real daylight-saving rules for that date. 'time' is local time in the 'from' place, like 2026-12-01T09:30; omit for now.
| Parameter | Type | Description |
|---|---|---|
from * | string | Airport code or IANA zone, e.g. YUL or America/Toronto. |
to * | string | |
time | string |
convert_currency Convert currency
Convert an amount using European Central Bank reference rates (about 30 currencies). Indicative, not for trading.
| Parameter | Type | Description |
|---|---|---|
from * | string | ISO 4217 code, e.g. USD. |
to * | string | |
amount | number |
us_flight_performance US flight performance and routes
On-time statistics and routes from the US Bureau of Transportation Statistics: for an airport (delays, cancellations, causes, busiest routes), an airline (large US carriers), or a route (carriers, frequency, passengers). Covers domestic flights of the large US carriers plus international routes with a US end. Not live status.
| Parameter | Type | Description |
|---|---|---|
airline | string | Two-letter IATA code of a US carrier, e.g. DL. |
airport | string | Airport IATA (YUL) or ICAO (CYUL) code. |
from | string | Airport IATA (YUL) or ICAO (CYUL) code. |
limit | integer | |
scope | string | |
to | string | Airport IATA (YUL) or ICAO (CYUL) code. |
natural_events Earthquakes and natural events
Recent earthquakes (USGS) and open natural events (NASA EONET: wildfires, storms, volcanoes, floods) near an airport or a coordinate. Not an official warning service.
| Parameter | Type | Description |
|---|---|---|
airport | string | Airport IATA (YUL) or ICAO (CYUL) code. |
days | integer | |
lat | number | |
limit | integer | |
lon | number | |
min_magnitude | number | |
radius_km | number | |
type | string | earthquake, wildfires, volcanoes, severeStorms, floods, ... |
fuel_prices Fuel prices at stations
Pump prices from official open data. national=true gives national average prices for 30 countries (EU, UK, Norway, US), one country or all of them cheapest first for a fuel. Otherwise station-level prices (currently France and Spain): cheapest stations near an airport or coordinate (good for rental-car returns), the cheapest in a country or city, or country statistics. Fuel codes: gasoline_95, gasoline_95_e10, gasoline_98, diesel, diesel_premium, lpg, cng, e85. Prices are as published by the authority with their last-update time.
| Parameter | Type | Description |
|---|---|---|
airport | string | Airport IATA (YUL) or ICAO (CYUL) code. |
city | string | |
country | string | ISO code (FR, ES) for country-wide cheapest or statistics. |
fuel | string | |
lat | number | |
limit | integer | |
lon | number | |
national | boolean | National average prices (any of 30 countries); country optional. |
postcode | string | Postcode prefix. |
radius_km | number | Default 10, max 50. |
sort | string | |
statistics | boolean | With country: average/median/min/max instead of a station list. |
compare_transport_emissions Compare CO2 by transport mode
CO2 for the same trip by plane, train, coach, car, taxi or ferry using UK government factors. Give two airport codes (ground options appear for same-country pairs up to 1,500 km) or your own distance_km. Direct emissions only; indicative.
| Parameter | Type | Description |
|---|---|---|
cabin_class | string | |
distance_km | number | Use instead of from/to to compare modes over a distance you know. |
flight_category | string | Only with distance_km (default international). |
from | string | Airport IATA (YUL) or ICAO (CYUL) code. |
modes | array | Only with distance_km, e.g. ["national_rail", "car_petrol", "air"]. |
passengers | integer | |
round_trip | boolean | |
to | string | Airport IATA (YUL) or ICAO (CYUL) code. |
fx_history Exchange rate history
Ten years of daily ECB reference rates for a currency pair with first, last, change, minimum, maximum and average (a sample of the series is returned; use from/to to zoom). Indicative, not for trading.
| Parameter | Type | Description |
|---|---|---|
quote * | string | Currency to price, e.g. USD. |
base | string | Default EUR. |
from | string | YYYY-MM-DD |
limit | integer | |
to | string | YYYY-MM-DD |
electricity_prices Household electricity prices
Eurostat household electricity prices per kWh by half-year (EU, EFTA and some others) and what 100 km costs in an electric car at that price.
| Parameter | Type | Description |
|---|---|---|
country * | string | ISO country code. |
kwh_per_100km | number | |
limit | integer |
ev_charging EV charging stations
Public EV charging stations near an airport or coordinate from official registers (currently France): power, connectors, free, 24/7. Static register data, not live availability.
| Parameter | Type | Description |
|---|---|---|
airport | string | Airport IATA (YUL) or ICAO (CYUL) code. |
connector | string | |
free | boolean | |
lat | number | |
limit | integer | |
lon | number | |
min_power_kw | number | |
radius_km | number |
air_quality Air quality near a place
Latest air quality readings (PM2.5, PM10, ozone, NO2 ...) from monitoring stations near an airport or coordinate, via OpenAQ. Only stations with commercial-use licences are included; each record names provider and licence. Raw readings, not an official index.
| Parameter | Type | Description |
|---|---|---|
airport | string | Airport IATA (YUL) or ICAO (CYUL) code. |
lat | number | |
limit | integer | |
lon | number | |
radius_km | number | Default 15, max 25. |
border_wait_times Border crossing wait times
Current land border wait times at US ports of entry (CBP) and Canada-US crossings (CBSA, both directions), per lane type (standard, NEXUS/SENTRI, pedestrian, commercial). Filter by direction, crossing name or border. Times change constantly; check the agency before travelling.
| Parameter | Type | Description |
|---|---|---|
border | string | Canada, Mexico or Canada-US. |
entering | string | |
limit | integer | |
q | string | Crossing or town, e.g. Peace Bridge, Detroit. |
wildfires_nearby Satellite wildfire detections
Satellite (NASA FIRMS VIIRS) fire detections of the last hours near an airport or coordinate with a summary (count, nearest distance, total radiative power). Not an official fire report or evacuation notice; an empty answer does not prove there is no fire.
| Parameter | Type | Description |
|---|---|---|
airport | string | Airport IATA (YUL) or ICAO (CYUL) code. |
hours | integer | |
lat | number | |
limit | integer | |
lon | number | |
min_confidence | string | |
radius_km | number |
marine_conditions Buoy and coastal conditions
Latest NOAA NDBC buoy and coastal station observations near an airport or coordinate: wind, gusts, wave height and period, pressure, air and water temperature. Mostly US waters. Not for navigation.
| Parameter | Type | Description |
|---|---|---|
airport | string | Airport IATA (YUL) or ICAO (CYUL) code. |
lat | number | |
limit | integer | |
lon | number | |
radius_km | number |
carbon_intensity Great Britain grid carbon intensity
Current carbon intensity of the Great Britain electricity grid (g CO2 per kWh, index very low to very high), generation mix by fuel and a 24-hour forecast; useful to time electric-car charging. Great Britain only.
airport_passengers Airport passengers per year (EU)
Annual passengers carried since 2015 with year-on-year change for airports reporting to Eurostat (EU, EEA and some neighbours).
| Parameter | Type | Description |
|---|---|---|
airport * | string | Airport IATA (YUL) or ICAO (CYUL) code. |
geo_lookup Country and time zone of a coordinate
Estimates country and time zone for a coordinate from the nearest airports and large cities, with distances and a confidence level (not a boundary lookup: near borders the country can be the neighbour).
| Parameter | Type | Description |
|---|---|---|
lat * | number | |
lon * | number |
airfares Average airfares (US routes)
Average, median and quartile airfares in US dollars from the BTS ticket sample: for one airport pair (from and to) with both directions and quarter changes, or for the routes from or to one airport (most flown, cheapest or most expensive first). Routes with a US end only; sold-ticket averages, not bookable offers.
| Parameter | Type | Description |
|---|---|---|
airport | string | Airport IATA (YUL) or ICAO (CYUL) code. |
direction | string | |
from | string | Airport IATA (YUL) or ICAO (CYUL) code. |
limit | integer | |
market | string | |
sort | string | |
to | string | Airport IATA (YUL) or ICAO (CYUL) code. |
aviation_accidents NTSB aviation accidents
Aviation accidents and incidents from the US NTSB database (2008 to today; US, territories and waters plus some foreign events): for an airport (summary and recent events within 8 km), around a coordinate, by filters, or one case by NTSB number with probable cause and findings. Counts are not rates and say nothing about how safe an airport is. Pilot and owner details are not included.
| Parameter | Type | Description |
|---|---|---|
airport | string | Airport IATA (YUL) or ICAO (CYUL) code. |
category | string | AIR, HELI, GLI, BALL ... |
from | string | |
lat | number | |
limit | integer | |
lon | number | |
min_fatalities | integer | |
ntsb_no | string | e.g. DCA25MA108 |
radius_km | number | |
state | string | |
to | string | |
type | string | |
years | integer |
tides Tide predictions (US)
High and low tide predictions from the nearest NOAA station for an airport or coordinate in the United States and territories. Not for navigation.
| Parameter | Type | Description |
|---|---|---|
airport | string | Airport IATA (YUL) or ICAO (CYUL) code. |
date | string | |
days | integer | |
lat | number | |
lon | number | |
radius_km | number |
data_sources Data sources and freshness
Lists every dataset behind the tools with its source, licence rhythm and last update. Use it to answer 'where does this come from' or 'how fresh is it'.
api_request Raw API request
Escape hatch: GET any LuftFly API path (e.g. /v1/airports/YUL/runways, /v1/rankings/airports?country=US). Prefer the specific tools; use this only when none fits. See https://api.nanxor.com/docs/ for the endpoint list.
| Parameter | Type | Description |
|---|---|---|
path * | string | Path starting with /v1/. |
query | object | Query parameters. |