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>
    <userinfo id="0" name="172.16.28.90" anon="" blockid="1402" blockedby="DacentecAdmin" blockedbyid="1" blockreason="Autoblocked because your IP address has been recently used by &quot;[[User:%login%|%login%]]&quot;.&#10;The reason given for %login%&#039;s block is &quot;Users blocked by BlockandNuke.&quot;" blockedtimestamp="2025-10-23T08:04:17Z" blockexpiry="2025-10-24T08:04:17Z">
      <groups>
        <g>*</g>
      </groups>
      <rights>
        <r>createaccount</r>
        <r>read</r>
        <r>createtalk</r>
        <r>writeapi</r>
        <r>editmyusercss</r>
        <r>editmyuserjs</r>
        <r>viewmywatchlist</r>
        <r>editmywatchlist</r>
        <r>viewmyprivateinfo</r>
        <r>editmyprivateinfo</r>
        <r>editmyoptions</r>
      </rights>
    </userinfo>
  </query>
</api>