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 lestart="2019-11-02T13:26:20Z" />
  </query-continue>
  <query>
    <logevents>
      <item logid="6411" ns="0" title="Брокер Amarkets" pageid="1254" type="patrol" action="patrol" user="Admin" timestamp="2023-03-15T17:01:28Z" comment="">
        <patrol cur="6287" prev="6286" auto="1" />
      </item>
      <item logid="6410" ns="0" title="Брокер Amarkets" pageid="1254" type="patrol" action="patrol" user="Admin" timestamp="2021-12-17T19:54:43Z" comment="">
        <patrol cur="6286" prev="6284" auto="1" />
      </item>
      <item logid="6409" ns="0" title="Брокер AForex (Amarkets)" pageid="2752" type="move" action="move" user="Admin" timestamp="2021-12-17T19:35:38Z" comment="">
        <move new_ns="0" new_title="Брокер Amarkets" />
      </item>
      <item logid="6408" ns="0" title="Брокер Fort Financial Services" pageid="0" type="delete" action="delete" user="Admin" timestamp="2021-12-17T19:30:13Z" comment="содержимое: «&#039;&#039;&#039;Fort Financial Services&#039;&#039;&#039; – относительно молодая компания, со стремлением объединит…» (единственным автором был [[Special:Contributions/Admin|Admin]])" />
      <item logid="6407" ns="0" title="Флетовать" pageid="149" type="patrol" action="patrol" user="Admin" timestamp="2019-12-10T19:08:14Z" comment="">
        <patrol cur="6283" prev="2362" auto="1" />
      </item>
      <item logid="6406" ns="0" title="Брокер Tickmill" pageid="959" type="patrol" action="patrol" user="Admin" timestamp="2019-11-02T13:34:24Z" comment="">
        <patrol cur="6282" prev="2651" auto="1" />
      </item>
      <item logid="6405" ns="0" title="Брокер TeleTrade" pageid="1240" type="patrol" action="patrol" user="Admin" timestamp="2019-11-02T13:33:20Z" comment="">
        <patrol cur="6281" prev="3360" auto="1" />
      </item>
      <item logid="6404" ns="0" title="Брокер Saxo Bank" pageid="1239" type="patrol" action="patrol" user="Admin" timestamp="2019-11-02T13:31:30Z" comment="">
        <patrol cur="6280" prev="3358" auto="1" />
      </item>
      <item logid="6403" ns="0" title="Брокер RoboForex" pageid="620" type="patrol" action="patrol" user="Admin" timestamp="2019-11-02T13:28:35Z" comment="">
        <patrol cur="6279" prev="3377" auto="1" />
      </item>
      <item logid="6402" ns="0" title="Брокер Oanda" pageid="1237" type="patrol" action="patrol" user="Admin" timestamp="2019-11-02T13:26:47Z" comment="">
        <patrol cur="6278" prev="3354" auto="1" />
      </item>
    </logevents>
  </query>
</api>