You are looking at the HTML representation of the XML format.
HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format.
To see the non HTML representation of the XML format, set format=xml.
See the complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query-continue>
    <allfileusages gafcontinue="BAOS_import_tree_commands.png" />
  </query-continue>
  <query>
    <pages>
      <page pageid="849" ns="6" title="Файл:BAOS add channel F2 button.png" />
      <page pageid="683" ns="6" title="Файл:BAOS add command Relay 1.png" />
      <page pageid="684" ns="6" title="Файл:BAOS bind the command relay on off.png" />
      <page pageid="1256" ns="6" title="Файл:BAOS connection settings.png" />
      <page pageid="1257" ns="6" title="Файл:BAOS connection settings ext.png" />
      <page pageid="546" ns="6" title="Файл:BAOS creation of gateways and channels.png" />
      <page pageid="537" ns="6" title="Файл:BAOS device config DataPoints.png" />
      <page pageid="539" ns="6" title="Файл:BAOS device config General.png" />
      <page pageid="538" ns="6" title="Файл:BAOS device config IPConfiguration.png" />
      <page pageid="540" ns="6" title="Файл:BAOS device config SetRelations.png" />
    </pages>
  </query>
</api>