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>
    <alltransclusions gatcontinue="PublishInfo|38" />
  </query-continue>
  <query>
    <pages>
      <page pageid="26" ns="8" title="MediaWiki:Footer" />
      <page pageid="28" ns="12" title="Help:Fontello" />
      <page pageid="29" ns="0" title="Могіт Райна" />
      <page pageid="31" ns="0" title="Серія перша. Шантану визнає Деваврату своїм сином" />
      <page pageid="32" ns="0" title="Серія друга. Бгішма рятує Вічітравір’ю" />
      <page pageid="35" ns="0" title="Термінологія" />
      <page pageid="157" ns="0" title="Використання матеріалів" />
      <page pageid="187" ns="8" title="MediaWiki:Footer/en" />
      <page pageid="202" ns="10" title="Template:Reflist" />
      <page pageid="211" ns="0" title="Terms of use" />
    </pages>
  </query>
</api>