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>
    <pageswithprop gpwpcontinue="411" />
  </query-continue>
  <query>
    <pages>
      <page pageid="1" ns="0" title="Main Page" contentmodel="wikitext" pagelanguage="en-gb" touched="2016-01-14T06:13:07Z" lastrevid="15395" counter="618246" length="4103" />
      <page pageid="24" ns="0" title="Demonic General" contentmodel="wikitext" pagelanguage="en-gb" touched="2022-01-12T18:03:16Z" lastrevid="18033" counter="48163" length="1683" />
      <page pageid="26" ns="0" title="Spider King" contentmodel="wikitext" pagelanguage="en-gb" touched="2023-04-02T00:02:47Z" lastrevid="18778" counter="16023" length="1337" />
      <page pageid="28" ns="0" title="Giant Sand Wurm" contentmodel="wikitext" pagelanguage="en-gb" touched="2021-02-05T00:14:27Z" lastrevid="17550" counter="21508" length="1262" />
      <page pageid="30" ns="0" title="Crystal Giant" contentmodel="wikitext" pagelanguage="en-gb" touched="2021-01-10T18:26:03Z" lastrevid="15938" counter="35798" length="1104" />
      <page pageid="31" ns="0" title="Captain Wylsen" contentmodel="wikitext" pagelanguage="en-gb" touched="2021-01-10T18:26:03Z" lastrevid="13929" counter="33026" length="1195" />
      <page pageid="36" ns="0" title="Imhotep" contentmodel="wikitext" pagelanguage="en-gb" touched="2023-07-05T21:46:50Z" lastrevid="18793" counter="34063" length="2431" />
      <page pageid="304" ns="0" title="Elshira" contentmodel="wikitext" pagelanguage="en-gb" touched="2021-01-10T18:26:03Z" lastrevid="12032" counter="30487" length="1189" />
      <page pageid="324" ns="0" title="Bodyguard and Chief Bodyguard" contentmodel="wikitext" pagelanguage="en-gb" touched="2021-01-10T18:26:03Z" lastrevid="15926" counter="17305" length="2104" />
      <page pageid="374" ns="0" title="Sword of Existence" contentmodel="wikitext" pagelanguage="en-gb" touched="2022-09-23T23:39:13Z" lastrevid="18584" counter="8321" length="1126" />
    </pages>
  </query>
</api>