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>
    <general mainpage="Main Page" base="http://www.grandtribunal.org/wiki/Main_Page" sitename="Grand Tribunal" generator="MediaWiki 1.20.0" phpversion="5.6.40-29+ubuntu18.04.1+deb.sury.org+1" phpsapi="cgi-fcgi" dbtype="sqlite" dbversion="3.22.0" case="first-letter" rights="&#039;Ars Magica&#039; and &#039;Grand Tribunal&#039; are the intellectual property of Trident, Inc. d/b/a Atlas Games, used with permission." lang="en-gb" fallback8bitEncoding="windows-1252" writeapi="" timezone="Europe/London" timeoffset="60" articlepath="/wiki/$1" scriptpath="/w" script="/w/index.php" variantarticlepath="" server="http://www.grandtribunal.org" wikiid="gt" time="2020-09-23T06:38:52Z" maxuploadsize="104857600">
      <fallback>
        <lang code="en" />
      </fallback>
    </general>
    <namespaces>
      <ns id="-2" case="first-letter" canonical="Media" xml:space="preserve">Media</ns>
      <ns id="-1" case="first-letter" canonical="Special" xml:space="preserve">Special</ns>
      <ns id="0" case="first-letter" content="" xml:space="preserve" />
      <ns id="1" case="first-letter" subpages="" canonical="Talk" xml:space="preserve">Talk</ns>
      <ns id="2" case="first-letter" subpages="" canonical="User" xml:space="preserve">User</ns>
      <ns id="3" case="first-letter" subpages="" canonical="User talk" xml:space="preserve">User talk</ns>
      <ns id="4" case="first-letter" canonical="Project" xml:space="preserve">Grand Tribunal</ns>
      <ns id="5" case="first-letter" subpages="" canonical="Project talk" xml:space="preserve">Grand Tribunal talk</ns>
      <ns id="6" case="first-letter" canonical="File" xml:space="preserve">File</ns>
      <ns id="7" case="first-letter" subpages="" canonical="File talk" xml:space="preserve">File talk</ns>
      <ns id="8" case="first-letter" subpages="" canonical="MediaWiki" xml:space="preserve">MediaWiki</ns>
      <ns id="9" case="first-letter" subpages="" canonical="MediaWiki talk" xml:space="preserve">MediaWiki talk</ns>
      <ns id="10" case="first-letter" canonical="Template" xml:space="preserve">Template</ns>
      <ns id="11" case="first-letter" subpages="" canonical="Template talk" xml:space="preserve">Template talk</ns>
      <ns id="12" case="first-letter" canonical="Help" xml:space="preserve">Help</ns>
      <ns id="13" case="first-letter" subpages="" canonical="Help talk" xml:space="preserve">Help talk</ns>
      <ns id="14" case="first-letter" canonical="Category" xml:space="preserve">Category</ns>
      <ns id="15" case="first-letter" subpages="" canonical="Category talk" xml:space="preserve">Category talk</ns>
    </namespaces>
    <namespacealiases>
      <ns id="6" xml:space="preserve">Image</ns>
      <ns id="7" xml:space="preserve">Image talk</ns>
    </namespacealiases>
    <statistics pages="580" articles="117" views="1075602" edits="3224" images="80" users="258" activeusers="65" admins="3" jobs="0" />
  </query>
</api>