FlightAware Discussions

Switch from Json to XML/ Select fields to receive


Hello, everybody.
I’m new for the APIs, so sorry for my nub questions in advance.


  • How to change the format of received information from Json to XML? Simple substitution does not work for me.
  • Is it possible to filter information fields i receiving to get only fields that i need?



The json endpoint is intended for RESTful requests. To receive XML format replies please make a SOAP request instead.

By changing “json” for “soap” in the request URL your requests will be sent to the correct endpoint. We have a few SOAP examples here for FlightXML2. Most examples use formatted printing instead of printing the raw XML. They may require some minor changes to make it visible.