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="2556" ns="0" title="War Commander Generator Cheats 2023-2025 (No Human Verification)" />
      <page id="2798" ns="0" title="Age Of Magic Generator Cheats 2025 No Human Veryfication (codes)" />
    </random>
  </query>
</api>