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>
    <allredirects garcontinue="Contra/casual_speedrunning" />
  </query-continue>
  <query>
    <pages>
      <page pageid="1744" ns="0" title="Baldur&#039;s Gate II: Shadows of Amn" />
      <page pageid="5951" ns="0" title="Bastion/NG Any% Route" />
      <page pageid="1893" ns="0" title="BioShock 2" />
      <page pageid="5315" ns="0" title="Conkers Bad Fur Day" />
      <page pageid="5319" ns="0" title="Conkers Bad Fur Day/100%" />
      <page pageid="4997" ns="0" title="Contra/Additional Resources" />
      <page pageid="4999" ns="0" title="Contra/Casual Speedrunning" />
      <page pageid="4992" ns="0" title="Contra/Game Mechanics and Glitches" />
      <page pageid="5256" ns="0" title="Contra/additional resources" />
      <page pageid="4991" ns="0" title="Contra/any %" />
    </pages>
  </query>
</api>