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>
    <links gplcontinue="1|14|Pirates_Buildings" />
  </query-continue>
  <query>
    <pages>
      <page pageid="171" ns="0" title="Artifacts" contentmodel="wikitext" pagelanguage="en" touched="2014-07-30T15:52:38Z" lastrevid="16585" counter="229223" length="47618" />
      <page pageid="5453" ns="0" title="Pirates: Tides of Fortune" contentmodel="wikitext" pagelanguage="en" touched="2016-08-22T12:02:43Z" lastrevid="16308" counter="1727" length="44" redirect="" new="" />
      <page pageid="6" ns="0" title="Pirates: Tides of Fortune Wiki" contentmodel="wikitext" pagelanguage="en" touched="2016-08-22T12:02:42Z" lastrevid="19425" counter="172342" length="2970" />
      <page pageid="442" ns="0" title="Relics" contentmodel="wikitext" pagelanguage="en" touched="2015-05-25T07:52:30Z" lastrevid="18556" counter="112033" length="16182" />
      <page pageid="3366" ns="0" title="Soldiers Inc. Wiki" contentmodel="wikitext" pagelanguage="en" touched="2016-08-22T12:26:32Z" lastrevid="19428" counter="397178" length="5543" />
      <page pageid="5455" ns="0" title="Sparta: War of Empires" contentmodel="wikitext" pagelanguage="en" touched="2018-06-26T14:18:39Z" lastrevid="16318" counter="2414" length="41" redirect="" new="" />
      <page pageid="3985" ns="0" title="Sparta: War of Empires Wiki" contentmodel="wikitext" pagelanguage="en" touched="2018-06-26T16:20:24Z" lastrevid="20263" counter="339387" length="4878" />
      <page pageid="3177" ns="0" title="Stormfall: Age of War Wiki" contentmodel="wikitext" pagelanguage="en" touched="2017-04-14T15:02:21Z" lastrevid="19997" counter="344972" length="5395" />
      <page pageid="5440" ns="0" title="Total Domination" contentmodel="wikitext" pagelanguage="en" touched="2016-08-22T12:02:36Z" lastrevid="16235" counter="1667" length="35" redirect="" new="" />
      <page pageid="154" ns="0" title="Total Domination Wiki" contentmodel="wikitext" pagelanguage="en" touched="2016-08-22T12:02:35Z" lastrevid="19424" counter="296553" length="4135" />
    </pages>
  </query>
</api>