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>
    <pages>
      <page pageid="1" ns="0" title="Main Page">
        <revisions>
          <rev user="Rich" comment="Redirected page to [[Republic of Yorkshire]]" />
        </revisions>
      </page>
    </pages>
    <general mainpage="Republic of Yorkshire" base="http://yorkshire.estate/Republic_of_Yorkshire" sitename="Yorkshire" logo="http://yorkshire.estate/images/8/8d/Yorkshire_logo.png" generator="MediaWiki 1.23.3" phpversion="7.4.3-4ubuntu2.23" phpsapi="apache2handler" dbtype="mysql" dbversion="8.0.39-0ubuntu0.20.04.1" imagewhitelistenabled="" langconversion="" titleconversion="" linkprefixcharset="" linkprefix="" linktrail="/^([a-z]+)(.*)$/sD" case="first-letter" lang="en-gb" fallback8bitEncoding="windows-1252" writeapi="" timezone="UTC" timeoffset="0" articlepath="/$1" scriptpath="" script="/index.php" server="http://yorkshire.estate" wikiid="yorkshire-mw_" time="2024-12-12T05:02:46Z" maxuploadsize="104857600" favicon="http://yorkshire.estate/favicon.ico">
      <fallback>
        <lang code="en" />
      </fallback>
      <thumblimits>
        <limit>120</limit>
        <limit>150</limit>
        <limit>180</limit>
        <limit>200</limit>
        <limit>250</limit>
        <limit>300</limit>
      </thumblimits>
      <imagelimits>
        <limit width="320" height="240" />
        <limit width="640" height="480" />
        <limit width="800" height="600" />
        <limit width="1024" height="768" />
        <limit width="1280" height="1024" />
      </imagelimits>
    </general>
  </query>
</api>