You are looking at the HTML representation of the XML format.
HTML is good for debugging, but probably is not suitable for your application.
See complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query>
    <random>
      <page id="811" ns="0" title="Last Empire War Z Diamonds Free Cheats 2024 (generator!)" />
      <page id="41" ns="0" title="News:" />
    </random>
  </query>
</api>