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>
    <logevents lecontinue="20180921085136|914" />
  </query-continue>
  <query>
    <logevents>
      <item logid="924" ns="0" title="Santiago Gascó Altaba" pageid="433" type="patrol" action="patrol" user="Mus Lim" timestamp="2019-05-25T13:19:46Z" comment="">
        <patrol cur="895" prev="0" auto="1" />
      </item>
      <item logid="923" ns="4" title="WikiMANNia:Pagina principale" pageid="1" type="patrol" action="patrol" user="Mus Lim" timestamp="2018-12-30T11:43:52Z" comment="">
        <patrol cur="894" prev="838" auto="1" />
      </item>
      <item logid="922" ns="100" title="Portale:Portali/Nuovi articoli (archivio)" pageid="294" type="patrol" action="patrol" user="Mus Lim" timestamp="2018-12-30T11:35:12Z" comment="">
        <patrol cur="893" prev="890" auto="1" />
      </item>
      <item logid="921" ns="100" title="Portale:Portali/Nuovi articoli" pageid="295" type="patrol" action="patrol" user="Mus Lim" timestamp="2018-12-30T11:34:22Z" comment="">
        <patrol cur="892" prev="891" auto="1" />
      </item>
      <item logid="920" ns="100" title="Portale:Portali/Nuovi articoli" pageid="295" type="patrol" action="patrol" user="Mus Lim" timestamp="2018-12-30T11:30:38Z" comment="">
        <patrol cur="891" prev="647" auto="1" />
      </item>
      <item logid="919" ns="100" title="Portale:Portali/Nuovi articoli (archivio)" pageid="294" type="patrol" action="patrol" user="Mus Lim" timestamp="2018-12-30T11:30:24Z" comment="">
        <patrol cur="890" prev="668" auto="1" />
      </item>
      <item logid="918" ns="0" title="Uomo" pageid="238" type="patrol" action="patrol" user="Mus Lim" timestamp="2018-11-09T16:29:48Z" comment="">
        <patrol cur="889" prev="888" auto="1" />
      </item>
      <item logid="917" ns="0" title="Uomo" pageid="238" type="patrol" action="patrol" user="Mus Lim" timestamp="2018-11-09T16:29:13Z" comment="">
        <patrol cur="888" prev="864" auto="1" />
      </item>
      <item logid="916" ns="0" title="Femminismo" pageid="149" type="patrol" action="patrol" user="Mus Lim" timestamp="2018-11-09T06:56:48Z" comment="">
        <patrol cur="887" prev="608" auto="1" />
      </item>
      <item logid="915" ns="8" title="MediaWiki:Projectpage-url" pageid="432" type="patrol" action="patrol" user="Mus Lim" timestamp="2018-09-21T08:54:41Z" comment="">
        <patrol cur="886" prev="0" auto="1" />
      </item>
    </logevents>
  </query>
</api>