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="Hlavní strana" base="https://wikisofia.cz/wiki/Hlavn%C3%AD_strana" sitename="Wikisofia" logo="/skins/common/images/logo_wiki_sofia.png" generator="MediaWiki 1.22.5" phpversion="5.4.45" phpsapi="apache2handler" dbtype="mysql" dbversion="5.1.73" imagewhitelistenabled="" langconversion="" titleconversion="" linkprefix="" linktrail="/^([a-záčďéěíňóřšťúůýž]+)(.*)$/sDu" case="first-letter" rights="" lang="cs" fallback8bitEncoding="cp1250" writeapi="" timezone="CET" timeoffset="120" articlepath="/wiki/$1" scriptpath="" script="/index.php" variantarticlepath="" server="https://wikisofia.cz" wikiid="wiki_wikisofia" time="2019-06-18T04:35:13Z" maxuploadsize="104857600">
      <fallback>
        <lang code="en" />
      </fallback>
    </general>
    <namespaces>
      <ns id="-2" case="first-letter" canonical="Media" xml:space="preserve">Média</ns>
      <ns id="-1" case="first-letter" canonical="Special" xml:space="preserve">Speciální</ns>
      <ns id="0" case="first-letter" content="" xml:space="preserve" />
      <ns id="1" case="first-letter" subpages="" canonical="Talk" xml:space="preserve">Diskuse</ns>
      <ns id="2" case="first-letter" subpages="" canonical="User" xml:space="preserve">Uživatel</ns>
      <ns id="3" case="first-letter" subpages="" canonical="User talk" xml:space="preserve">Diskuse s uživatelem</ns>
      <ns id="4" case="first-letter" subpages="" canonical="Project" xml:space="preserve">Wikisofia</ns>
      <ns id="5" case="first-letter" subpages="" canonical="Project talk" xml:space="preserve">Diskuse k Wikisofia</ns>
      <ns id="6" case="first-letter" canonical="File" xml:space="preserve">Soubor</ns>
      <ns id="7" case="first-letter" subpages="" canonical="File talk" xml:space="preserve">Diskuse k souboru</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">Diskuse k MediaWiki</ns>
      <ns id="10" case="first-letter" canonical="Template" xml:space="preserve">Šablona</ns>
      <ns id="11" case="first-letter" subpages="" canonical="Template talk" xml:space="preserve">Diskuse k šabloně</ns>
      <ns id="12" case="first-letter" subpages="" canonical="Help" xml:space="preserve">Nápověda</ns>
      <ns id="13" case="first-letter" subpages="" canonical="Help talk" xml:space="preserve">Diskuse k nápovědě</ns>
      <ns id="14" case="first-letter" canonical="Category" xml:space="preserve">Kategorie</ns>
      <ns id="15" case="first-letter" subpages="" canonical="Category talk" xml:space="preserve">Diskuse ke kategorii</ns>
      <ns id="100" case="first-letter" canonical="Portál" xml:space="preserve">Portál</ns>
      <ns id="101" case="first-letter" canonical="Portál diskuse" xml:space="preserve">Portál diskuse</ns>
      <ns id="274" case="first-letter" canonical="Widget" xml:space="preserve">Widget</ns>
      <ns id="275" case="first-letter" subpages="" canonical="Widget talk" xml:space="preserve">Widget talk</ns>
    </namespaces>
    <namespacealiases>
      <ns id="2" xml:space="preserve">Uživatelka</ns>
      <ns id="3" xml:space="preserve">Diskuse s uživatelkou</ns>
      <ns id="3" xml:space="preserve">Uživatel diskuse</ns>
      <ns id="3" xml:space="preserve">Uživatelka diskuse</ns>
      <ns id="5" xml:space="preserve">Wikisofia diskuse</ns>
      <ns id="6" xml:space="preserve">Image</ns>
      <ns id="7" xml:space="preserve">Image talk</ns>
      <ns id="7" xml:space="preserve">Soubor diskuse</ns>
      <ns id="9" xml:space="preserve">MediaWiki diskuse</ns>
      <ns id="11" xml:space="preserve">Šablona diskuse</ns>
      <ns id="13" xml:space="preserve">Nápověda diskuse</ns>
      <ns id="15" xml:space="preserve">Kategorie diskuse</ns>
    </namespacealiases>
    <statistics pages="5834" articles="2046" views="20577670" edits="60742" images="977" users="3200" activeusers="5" admins="51" jobs="387" />
  </query>
</api>