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>
    <pages>
      <page pageid="4059" ns="0" title="Frequently asked questions and answers" contentmodel="wikitext" pagelanguage="ru" touched="2018-06-11T09:33:09Z" lastrevid="9158" counter="2465" length="294" new="" />
      <page pageid="4057" ns="0" title="Packet level" contentmodel="wikitext" pagelanguage="ru" touched="2018-06-20T07:01:39Z" lastrevid="21297" counter="4905" length="558" />
      <page pageid="1253" ns="0" title="Базовая информация (сервер)" contentmodel="wikitext" pagelanguage="ru" touched="2016-08-22T19:19:43Z" lastrevid="9140" counter="138110" length="7963" />
      <page pageid="608" ns="0" title="Форматы файлов (клиент)" contentmodel="wikitext" pagelanguage="ru" touched="2015-09-03T15:26:02Z" lastrevid="8927" counter="25996" length="110" />
      <page pageid="1283" ns="0" title="Форматы файлов (сервер)" contentmodel="wikitext" pagelanguage="ru" touched="2015-09-03T15:20:14Z" lastrevid="8930" counter="11145" length="83" />
    </pages>
  </query>
</api>