You are looking at the HTML representation of the XML format.
HTML is good for debugging, but probably is not suitable for your application.
See complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <paraminfo>
    <modules>
      <module classname="ApiParse" description="This module parses wikitext and returns parser output" prefix="" name="parse">
        <parameters>
          <param name="title" default="API" description="Title of page the text belongs to" />
          <param name="text" />
          <param name="page" />
          <param name="redirects" type="bool" default="false" />
          <param name="oldid" />
          <param name="prop" default="text|langlinks|categories|links|templates|images|externallinks|sections|revid" multi="" limit="50" description="Which pieces of information to get.&#10;NOTE: Section tree is only generated if there are more than 4 sections, or if the __TOC__ keyword is present">
            <type>
              <t>text</t>
              <t>langlinks</t>
              <t>categories</t>
              <t>links</t>
              <t>templates</t>
              <t>images</t>
              <t>externallinks</t>
              <t>sections</t>
              <t>revid</t>
            </type>
          </param>
          <param name="pst" type="bool" default="false" />
          <param name="onlypst" type="bool" default="false" />
        </parameters>
      </module>
    </modules>
    <querymodules>
      <module classname="ApiQueryAllpages" description="Enumerate all pages sequentially in a given namespace" prefix="ap" name="allpages">
        <parameters>
          <param name="from" />
          <param name="prefix" />
          <param name="namespace" default="0" type="namespace" description="The namespace to enumerate." />
          <param name="filterredir" default="all" description="Which pages to list.">
            <type>
              <t>all</t>
              <t>redirects</t>
              <t>nonredirects</t>
            </type>
          </param>
          <param name="minsize" type="integer" description="Limit to pages with at least this many bytes" />
          <param name="maxsize" type="integer" description="Limit to pages with at most this many bytes" />
          <param name="prtype" multi="" limit="50" description="Limit to protected pages only">
            <type>
              <t>edit</t>
              <t>move</t>
            </type>
          </param>
          <param name="prlevel" multi="" limit="50" description="The protection level (must be used with apprtype= parameter)">
            <type>
              <t />
              <t>autoconfirmed</t>
              <t>sysop</t>
            </type>
          </param>
          <param name="prfiltercascade" default="all" description="Filter protections based on cascadingness (ignored when apprtype isn&#039;t set)">
            <type>
              <t>cascading</t>
              <t>noncascading</t>
              <t>all</t>
            </type>
          </param>
          <param name="limit" default="10" type="limit" max="500" highmax="5000" min="1" description="How many total pages to return." />
          <param name="dir" default="ascending" description="The direction in which to list">
            <type>
              <t>ascending</t>
              <t>descending</t>
            </type>
          </param>
          <param name="filterlanglinks" default="all" description="Filter based on whether a page has langlinks">
            <type>
              <t>withlanglinks</t>
              <t>withoutlanglinks</t>
              <t>all</t>
            </type>
          </param>
        </parameters>
      </module>
      <module classname="ApiQuerySiteinfo" description="Return general information about the site." prefix="si" name="siteinfo">
        <parameters>
          <param name="prop" default="general" multi="" limit="50" description="Which sysinfo properties to get:&#10; &quot;general&quot;      - Overall system information&#10; &quot;namespaces&quot;   - List of registered namespaces and their canonical names&#10; &quot;namespacealiases&quot; - List of registered namespace aliases&#10; &quot;specialpagealiases&quot; - List of special page aliases&#10; &quot;magicwords&quot;   - List of magic words and their aliases&#10; &quot;statistics&quot;   - Returns site statistics&#10; &quot;interwikimap&quot; - Returns interwiki map (optionally filtered)&#10; &quot;dbrepllag&quot;    - Returns database server with the highest replication lag&#10; &quot;usergroups&quot;   - Returns user groups and the associated permissions&#10; &quot;extensions&quot;   - Returns extensions installed on the wiki">
            <type>
              <t>general</t>
              <t>namespaces</t>
              <t>namespacealiases</t>
              <t>specialpagealiases</t>
              <t>magicwords</t>
              <t>interwikimap</t>
              <t>dbrepllag</t>
              <t>statistics</t>
              <t>usergroups</t>
              <t>extensions</t>
            </type>
          </param>
          <param name="filteriw" description="Return only local or only nonlocal entries of the interwiki map">
            <type>
              <t>local</t>
              <t>!local</t>
            </type>
          </param>
          <param name="showalldb" type="bool" default="false" />
        </parameters>
      </module>
    </querymodules>
  </paraminfo>
</api>