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="PA9TV" comment="" />
        </revisions>
      </page>
    </pages>
    <general mainpage="Main Page" base="https://www.hamspirit.nl/mediawiki/index.php/Main_Page" sitename="Hamspirit wiki" logo="https://www.hamspirit.nl/artwork/International_amateur_radio_symbol_134.png" generator="MediaWiki 1.23.2" phpversion="7.4.3-4ubuntu2.24" phpsapi="apache2handler" dbtype="postgres" dbversion="14.13 (Ubuntu 14.13-0ubuntu0.22.04.1)" imagewhitelistenabled="" langconversion="" titleconversion="" linkprefixcharset="" linkprefix="" linktrail="/^([a-z]+)(.*)$/sD" case="first-letter" lang="en" fallback8bitEncoding="windows-1252" writeapi="" timezone="Europe/Berlin" timeoffset="60" articlepath="/mediawiki/index.php/$1" scriptpath="/mediawiki" script="/mediawiki/index.php" server="https://www.hamspirit.nl" wikiid="ham_wiki" time="2024-12-04T03:49:41Z" maxuploadsize="104857600" favicon="https://www.hamspirit.nl/favicon.ico">
      <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>