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>
  <warnings>
    <parse xml:space="preserve">No 'title' or 'contentmodel' was given, assuming wikitext.</parse>
  </warnings>
  <parse title="API" displaytitle="API">
    <text xml:space="preserve">&lt;p&gt;&lt;a href=&quot;/modlab/index.php?title=Mod_Lab:Sandbox&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Mod Lab:Sandbox (page does not exist)&quot;&gt;Mod Lab:Sandbox&lt;/a&gt;
&lt;/p&gt;
&lt;!-- 
NewPP limit report
CPU time usage: 0.012 seconds
Real time usage: 0.011 seconds
Preprocessor visited node count: 2/1000000
Preprocessor generated node count: 12/1000000
Post‐expand include size: 20/2097152 bytes
Template argument size: 0/2097152 bytes
Highest expansion depth: 2/40
Expensive parser function count: 0/100
--&gt;
</text>
    <langlinks />
    <categories />
    <links>
      <pl ns="4" xml:space="preserve">Mod Lab:Sandbox</pl>
    </links>
    <templates>
      <tl ns="4" xml:space="preserve">Mod Lab:Sandbox</tl>
    </templates>
    <images />
    <externallinks />
    <sections />
    <iwlinks />
    <properties />
  </parse>
</api>