query_airports
Query airports from OurAirports. Default returns the ~7,500 commercially-significant airports (large airports + medium airports with scheduled service); pass include_minor=true for the full ~85k including small airfields, heliports, etc. Each row carries name, type, IATA/ICAO codes, country, municipality, elevation, scheduled_service. Use for questions like "airports near recent conflict events", "ICAO code for Heathrow", "all scheduled-service airports in Ukraine".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Default 50, max 500. | |
| lat_max | Yes | ||
| lat_min | Yes | ||
| lon_max | Yes | ||
| lon_min | Yes | ||
| iso_country | No | Two-letter ISO country code (e.g. "FR", "US"). Filter optional. | |
| include_minor | No | If true, returns all 85k airports including heliports, small airfields, closed. |