fa_search_flights_advanced
Search flights using AeroAPI's structured query language. Define predicates with operators and keys to filter by ident, destination, altitude, and more.
Instructions
Search flights using AeroAPI's full structured query language (more expressive than fa_search_flights). The query is a space-separated list of {operator key value} predicates, e.g. "{match ident UAL*} {> alt 300} {= dest KLAX}". Operators: true/false/null/notnull/=/!=/</>/<=/>=, match/notmatch (case-insensitive wildcards), range (two values), in/orig_or_dest/aircraftType/ident/ident_or_reg ({a b c} value lists), airline (1=airline, 0=GA). Common keys: ident, orig, dest (ICAO codes), aircraftType, alt (hundreds of ft), prefix, lifeguard, cancelled, arrived.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | Response shape: "compact" (default) drops fields the response already carries elsewhere; "full" returns every field this server understands. compact strips image/avatar URLs from the response; "full" returns FlightAware's payload untouched. No field projection: this server has no verified record of which FlightAware fields matter, and inventing one would risk dropping a field a caller needs. | |
| query | Yes | Structured "{operator key value}" query, e.g. {match ident UAL*} {> alt 300} | |
| cursor | No | Paging cursor: the cursor query parameter of a previous response's links.next (passing the whole links.next value also works) | |
| max_pages | No | Max pages to fetch, 1-20 (AeroAPI default: 1). Capped at 20 since AeroAPI bills per page. |