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="2024-01-31T23:20:12Z" />
  </query-continue>
  <query>
    <logevents>
      <item logid="18167" pageid="2414" ns="0" title="Bruinvis" type="patrol" action="patrol" user="Willem" timestamp="2024-02-22T14:00:23Z" comment="">
        <patrol cur="16147" prev="16146" auto="1" />
      </item>
      <item logid="18166" pageid="2414" ns="0" title="Bruinvis" type="patrol" action="patrol" user="Willem" timestamp="2024-02-22T14:00:15Z" comment="">
        <patrol cur="16146" prev="16145" auto="1" />
      </item>
      <item logid="18165" pageid="0" ns="6" title="Bestand:Bruinvis.jpg" type="delete" action="delete" user="Willem" timestamp="2024-02-22T13:59:25Z" comment="" />
      <item logid="18164" pageid="2414" ns="0" title="Bruinvis" type="patrol" action="patrol" user="Willem" timestamp="2024-02-20T18:41:07Z" comment="">
        <patrol cur="16145" prev="13717" auto="1" />
      </item>
      <item logid="18163" pageid="0" ns="0" title="Noordt" type="delete" action="delete" user="Willem" timestamp="2024-02-02T11:03:10Z" comment="De inhoud was: &quot;*  [[Categorie:Wijken in Enkhuizen]]&quot;" />
      <item logid="18162" pageid="3611" ns="0" title="Waagstraat" type="patrol" action="patrol" user="Willem" timestamp="2024-02-02T11:02:50Z" comment="">
        <patrol cur="16144" prev="14420" auto="1" />
      </item>
      <item logid="18161" pageid="3521" ns="0" title="Noorder Havendijk" type="patrol" action="patrol" user="Willem" timestamp="2024-02-02T11:02:21Z" comment="">
        <patrol cur="16143" prev="14427" auto="1" />
      </item>
      <item logid="18160" pageid="0" ns="14" title="Categorie:Pagina&#039;s met onjuiste bestandskoppelingen" type="protect" action="protect" user="Willem" timestamp="2024-02-02T10:17:36Z" comment="">
        <param>‎[create=sysop] (vervalt niet)</param>
        <param />
      </item>
      <item logid="18159" pageid="5171" ns="0" title="Dubbele Anker" type="protect" action="protect" user="Willem" timestamp="2024-01-31T23:20:36Z" comment="">
        <param>‎[edit=sysop] (vervalt niet) ‎[move=sysop] (vervalt niet)</param>
        <param />
      </item>
      <item logid="18158" pageid="5171" ns="0" title="Dubbele Anker" type="patrol" action="patrol" user="Willem" timestamp="2024-01-31T23:20:23Z" comment="">
        <patrol cur="16141" prev="16140" auto="1" />
      </item>
    </logevents>
  </query>
</api>