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>
    <blocks>
      <block id="13" user="Freya" by="Sunchaser" timestamp="2018-05-02T14:15:30Z" expiry="infinity" reason="Create error" />
      <block id="11" user="SherrieGa" by="Sunchaser" timestamp="2013-03-07T17:40:13Z" expiry="infinity" reason="Spamming links to external sites" nocreate="" autoblock="" />
      <block id="10" user="Tudor" by="Sunchaser" timestamp="2011-03-31T16:06:49Z" expiry="infinity" reason="Inactive" nocreate="" autoblock="" />
      <block id="8" user="Karl" by="Sunchaser" timestamp="2011-03-31T16:06:27Z" expiry="infinity" reason="Inactive" nocreate="" autoblock="" />
      <block id="7" user="Dracu" by="Sunchaser" timestamp="2011-03-31T16:06:04Z" expiry="infinity" reason="Inactive" nocreate="" autoblock="" />
      <block id="6" user="Lucas" by="Sunchaser" timestamp="2011-03-31T16:04:23Z" expiry="infinity" reason="Inactive" nocreate="" autoblock="" />
      <block id="2" user="Thoward" by="Sunchaser" timestamp="2011-02-22T13:23:47Z" expiry="infinity" reason="Removing content from pages" nocreate="" autoblock="" noemail="" />
      <block id="1" user="Raffaele" by="Sunchaser" timestamp="2010-11-01T09:25:12Z" expiry="infinity" reason="Inactive" nocreate="" />
    </blocks>
  </query>
</api>