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="Repair_(disambiguation)" />
  </query-continue>
  <query>
    <pages>
      <page pageid="3525" ns="0" title="Redshire">
        <revisions>
          <rev contentformat="text/x-wiki" contentmodel="wikitext" xml:space="preserve">{{MapDetails
|Size = 1000×1000
|Map type = Summer
|Battle Tier limit = 5-10
}}

A rolling area, dominated by a couple of hills. The village of Redshire gives places to hide from hill to its northeast. Artillery will play a powerful role on this map. 
{{VideoYT|Z9NwMVdY338}}
{{To Do}}
[[Category:Maps]]</rev>
        </revisions>
      </page>
      <page pageid="106494" ns="0" title="References (WoWP)">
        <revisions>
          <rev contentformat="text/x-wiki" contentmodel="wikitext" xml:space="preserve">General Placeholder page. Any text here will be moved eventually.</rev>
        </revisions>
      </page>
    </pages>
  </query>
</api>