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="9" by="Crazyeddie" timestamp="2025-06-04T12:32:48Z" expiry="2025-06-05T12:32:48Z" reason="Autoblocked because your IP address has been recently used by "[[User:Liusijian1987|Liusijian1987]]". The reason given for Liusijian1987's block is "Spamming cocksucker"" automatic="" nocreate="" />
<block id="8" user="Lcy03406" by="Crazyeddie" timestamp="2025-06-03T09:03:21Z" expiry="infinity" reason="Spamming links to external sites" nocreate="" autoblock="" />
<block id="6" user="Zaman146" by="Crazyeddie" timestamp="2025-06-03T08:37:46Z" expiry="infinity" reason="Spamming links to external sites: TWAT" nocreate="" autoblock="" />
<block id="4" user="Liusijian1987" by="Crazyeddie" timestamp="2025-02-04T10:10:55Z" expiry="infinity" reason="Spamming cocksucker" nocreate="" autoblock="" />
<block id="3" user="Agamemnus" by="Crazyeddie" timestamp="2010-08-14T18:08:25Z" expiry="infinity" reason="" nocreate="" autoblock="" noemail="" />
</blocks>
</query>
</api>