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="TROJAN.DD.SLIME_Slime_(Big)" />
  </query-continue>
  <query>
    <pages>
      <page pageid="5346" ns="0" title="TMG Blueprint Piece" touched="2021-08-07T08:41:19Z" lastrevid="17025" counter="" length="1622" />
      <page pageid="2930" ns="0" title="TMG Building" touched="2021-07-07T10:34:14Z" lastrevid="35519" counter="" length="1577" />
      <page pageid="10290" ns="0" title="TMG Building (False)" touched="2018-05-15T01:12:57Z" lastrevid="32979" counter="" length="3791" />
      <page pageid="3838" ns="0" title="TROJAN.DD.SLIME Slime" touched="2021-12-18T14:01:31Z" lastrevid="13635" counter="" length="1712" />
    </pages>
  </query>
</api>