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="857" ns="0" title="Dynamic Lighting Examples" touched="2019-06-06T10:29:33Z" lastrevid="18045" counter="159576" length="32953" />
      <page pageid="1362" ns="0" title="メインページ(日本語)" touched="2019-05-17T20:47:58Z" lastrevid="17494" counter="9210" length="5314" />
      <page pageid="2708" ns="0" title="Advanced Dungeons and Dragons" touched="2019-05-17T20:18:27Z" lastrevid="17824" counter="17101" length="43717" />
      <page pageid="2711" ns="0" title="ADnD 2nd Edition Character sheet" touched="2018-11-24T18:35:29Z" lastrevid="17085" counter="18939" length="30681" />
      <page pageid="2735" ns="10" title="Template:Compact toc" touched="2018-07-24T15:32:05Z" lastrevid="13873" counter="444" length="7476" new="" />
      <page pageid="2736" ns="10" title="Template:Compact toc/doc" touched="2017-04-27T17:08:40Z" lastrevid="13878" counter="623" length="11756" />
      <page pageid="3157" ns="0" title="ADnD 2nd Edition Character sheet Simplified" touched="2018-06-16T20:10:31Z" lastrevid="16440" counter="1126" length="5154" />
    </pages>
  </query>
</api>