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="https://wiki.kag2d.com/wiki/Main_Page" sitename="King Arthur&#039;s Gold Wiki" logo="//wiki.kag2d.com/assets/maclogo.png" generator="MediaWiki 1.23.14" phpversion="5.6.40-13+ubuntu16.04.1+deb.sury.org+1" phpsapi="fpm-fcgi" dbtype="mysql" dbversion="5.5.5-10.1.41-MariaDB-1~xenial" imagewhitelistenabled="" langconversion="" titleconversion="" linkprefixcharset="" linkprefix="" linktrail="/^([a-z]+)(.*)$/sD" case="first-letter" lang="en" fallback8bitEncoding="windows-1252" writeapi="" timezone="Europe/Berlin" timeoffset="60" articlepath="/wiki/$1" scriptpath="" script="/index.php" server="//wiki.kag2d.com" wikiid="kagwiki" time="2024-11-24T23:28:32Z" maxuploadsize="104857600" minuploadchunksize="1024" favicon="//wiki.kag2d.com/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>
    <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" subpages="" canonical="Project" xml:space="preserve">King Arthur's Gold Wiki</ns>
      <ns id="5" case="first-letter" subpages="" canonical="Project talk" xml:space="preserve">King Arthur's Gold Wiki 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" subpages="" 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="2947" articles="911" views="11781615" edits="37277" images="449" users="5735" activeusers="0" admins="13" jobs="183" />
  </query>
</api>