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 apcontinue="Balkon1" />
  </query-continue>
  <query>
    <allpages>
      <p pageid="317" ns="0" title="BBQ" />
      <p pageid="5139" ns="0" title="BBQ 05 oktober 2018" />
      <p pageid="5064" ns="0" title="BBQ 21 september 2018" />
      <p pageid="5063" ns="0" title="BBQ 24 augustus 2018" />
      <p pageid="5062" ns="0" title="BBQ 27 juli 2018" />
      <p pageid="4911" ns="0" title="BIT Nieuwjaarsborrel 2018" />
      <p pageid="5222" ns="0" title="BIT Nieuwjaarsborrel 2019" />
      <p pageid="693" ns="0" title="BORG" />
      <p pageid="3723" ns="0" title="Badkamer Stoneshop-proof maken" />
      <p pageid="206" ns="0" title="BakelietPunkGSM" />
    </allpages>
  </query>
</api>