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" version="ApiParse: $Id: ApiParse.php 69932 2010-07-26 08:03:21Z tstarling $" prefix="" readrights="" name="parse">
        <parameters>
          <param name="title" description="Title of page the text belongs to" default="API" />
          <param name="text" description="Wikitext to parse" type="string" default="" />
          <param name="summary" description="Summary to parse" type="string" default="" />
          <param name="page" description="Parse the content of this page. Cannot be used together with text and title" type="string" default="" />
          <param name="redirects" description="If the page parameter is set to a redirect, resolve it" type="bool" default="false" />
          <param name="oldid" description="Parse the content of this revision. Overrides page" type="string" default="" />
          <param name="prop" 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" default="text|langlinks|categories|links|templates|images|externallinks|sections|revid|displaytitle" multi="" limit="50">
            <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>
              <t>displaytitle</t>
              <t>headitems</t>
              <t>headhtml</t>
            </type>
          </param>
          <param name="pst" description="Do a pre-save transform on the input before parsing it.&#10;Ignored if page or oldid is used." type="bool" default="false" />
          <param name="onlypst" description="Do a PST on the input, but don&#039;t parse it.&#10;Returns PSTed wikitext. Ignored if page or oldid is used." type="bool" default="false" />
        </parameters>
        <errors>
          <error code="readapidenied" info="You need read permission to use this module" />
          <error code="params" info="The page parameter cannot be used together with the text and title parameters" />
          <error code="missingrev" info="There is no revision ID oldid" />
          <error code="permissiondenied" info="You don&#039;t have permission to view deleted revisions" />
          <error code="missingtitle" info="The page you specified doesn&#039;t exist" />
        </errors>
      </module>
    </modules>
    <querymodules>
      <module classname="ApiQueryAllpages" description="Enumerate all pages sequentially in a given namespace" version="ApiQueryAllpages: $Id: ApiQueryAllpages.php 69932 2010-07-26 08:03:21Z tstarling $" prefix="ap" readrights="" generator="" name="allpages">
        <parameters>
          <param name="from" description="The page title to start enumerating from." type="string" default="" />
          <param name="prefix" description="Search for all page titles that begin with this value." type="string" default="" />
          <param name="namespace" description="The namespace to enumerate." default="0" type="namespace" />
          <param name="filterredir" description="Which pages to list." default="all">
            <type>
              <t>all</t>
              <t>redirects</t>
              <t>nonredirects</t>
            </type>
          </param>
          <param name="minsize" description="Limit to pages with at least this many bytes" type="integer" />
          <param name="maxsize" description="Limit to pages with at most this many bytes" type="integer" />
          <param name="prtype" description="Limit to protected pages only" multi="" limit="50">
            <type>
              <t>edit</t>
              <t>move</t>
              <t>read</t>
            </type>
          </param>
          <param name="prlevel" description="The protection level (must be used with apprtype= parameter)" multi="" limit="50">
            <type>
              <t />
              <t>autoconfirmed</t>
              <t>sysop</t>
              <t>WebSocial</t>
              <t>Biblio21</t>
              <t>RessElectr</t>
              <t>SmartGuard</t>
              <t>SmartGuardT</t>
              <t>SmartGuardB</t>
              <t>PrixLivreJeuness</t>
              <t>ValorisationJeun</t>
              <t>ArrondissemenMHM</t>
              <t>ArrondissemenSO</t>
              <t>Tabledesbiblio</t>
              <t>VeilleWikiBPM</t>
              <t>RoyaumeB</t>
              <t>ProfilBiblio</t>
              <t>Encore</t>
            </type>
          </param>
          <param name="prfiltercascade" description="Filter protections based on cascadingness (ignored when apprtype isn&#039;t set)" default="all">
            <type>
              <t>cascading</t>
              <t>noncascading</t>
              <t>all</t>
            </type>
          </param>
          <param name="limit" description="How many total pages to return." default="10" type="limit" max="500" highmax="5000" min="1" />
          <param name="dir" description="The direction in which to list" default="ascending">
            <type>
              <t>ascending</t>
              <t>descending</t>
            </type>
          </param>
          <param name="filterlanglinks" description="Filter based on whether a page has langlinks" default="all">
            <type>
              <t>withlanglinks</t>
              <t>withoutlanglinks</t>
              <t>all</t>
            </type>
          </param>
        </parameters>
        <errors>
          <error code="readapidenied" info="You need read permission to use this module" />
          <error code="invalidtitle" info="Bad title ``title&#039;&#039;" />
          <error code="invalidtitle" info="Bad title ``key&#039;&#039;" />
          <error code="params" info="Use &quot;gapfilterredir=nonredirects&quot; option instead of &quot;redirects&quot; when using allpages as a generator" />
          <error code="params" info="prlevel may not be used without prtype" />
        </errors>
      </module>
      <module classname="ApiQuerySiteinfo" description="Return general information about the site." version="ApiQuerySiteinfo: $Id: ApiQuerySiteinfo.php 69932 2010-07-26 08:03:21Z tstarling $" prefix="si" readrights="" name="siteinfo">
        <parameters>
          <param name="prop" description="Which sysinfo properties to get:&#10; general      - Overall system information&#10; namespaces   - List of registered namespaces and their canonical names&#10; namespacealiases - List of registered namespace aliases&#10; specialpagealiases - List of special page aliases&#10; magicwords   - List of magic words and their aliases&#10; statistics   - Returns site statistics&#10; interwikimap - Returns interwiki map (optionally filtered)&#10; dbrepllag    - Returns database server with the highest replication lag&#10; usergroups   - Returns user groups and the associated permissions&#10; extensions   - Returns extensions installed on the wiki&#10; fileextensions - Returns list of file extensions allowed to be uploaded&#10; rightsinfo   - Returns wiki rights (license) information if available&#10; languages    - Returns a list of languages MediaWiki supports" default="general" multi="" limit="50">
            <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>
              <t>fileextensions</t>
              <t>rightsinfo</t>
              <t>languages</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" description="List all database servers, not just the one lagging the most" type="bool" default="false" />
          <param name="numberingroup" description="Lists the number of users in user groups" type="bool" default="false" />
        </parameters>
        <errors>
          <error code="readapidenied" info="You need read permission to use this module" />
          <error code="invalidtitle" info="Bad title ``title&#039;&#039;" />
          <error code="invalidtitle" info="Bad title ``key&#039;&#039;" />
          <error code="includeAllDenied" info="Cannot view all servers info unless $wgShowHostnames is true" />
        </errors>
      </module>
    </querymodules>
  </paraminfo>
</api>