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>
    <allpages gapcontinue="あとがき" />
  </query-continue>
  <query>
    <pages>
      <page pageid="4042" ns="0" title="VS.こち亀 こちら葛飾区亀有公園前派出所ノベライズアンソロジー" contentmodel="wikitext" pagelanguage="ja" touched="2017-09-03T00:48:25Z" lastrevid="66406" counter="2465" length="1503" new="" />
      <page pageid="146" ns="0" title="あいつがそいつでこいつがそれで" contentmodel="wikitext" pagelanguage="ja" touched="2017-06-18T13:06:02Z" lastrevid="65810" counter="65372" length="19580" />
      <page pageid="3023" ns="0" title="あきれてものも言えねえぜ!" contentmodel="wikitext" pagelanguage="ja" touched="2012-01-01T00:00:00Z" lastrevid="39556" counter="740" length="88" redirect="" new="" />
      <page pageid="356" ns="0" title="あごの骨砕き機" contentmodel="wikitext" pagelanguage="ja" touched="2014-09-13T11:00:47Z" lastrevid="60728" counter="7836" length="680" />
    </pages>
  </query>
</api>