Get flights in distance using FlightXML / JSON

Hi!
I’d like to use the FlightXML/JSON API in order to get a result set of flights within a bounding box of a known latitude/longitude (as described in flightxml.flightaware.com/soap/F … yeInFlight)

There are several input parameters.
For me, lat/lon and distance would probably be sufficient. Are there any examples on how to use that exactly? And how to use the “range” parameter exactly as GET parameter?

Thanks and best regards
Georg

An example of a search query for a lat/lon box is listed in that documentation:


{range lat 36.897669 40.897669} {range lon -79.03655 -75.03655}

You could try a GET operation for SearchBirdseyeInFlight, such as:


https://flightxml.flightaware.com/json/FlightXML2/SearchBirdseyeInFlight?query={range%20lat%2036.897669%2040.897669}%20{range%20lon%20-79.03655%20-75.03655}&howMany=10&offset=0

Alternatively you can use the Search function also:


https://flightxml.flightaware.com/json/FlightXML2/Search?query=-latlong "37.601258 -122.413616 37.636882 -122.291737" -inAir 1&howMany=10&offset=0