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>
  <warnings>
    <paraminfo xml:space="preserve">Unrecognized value for parameter 'querymodules': allpages%7Csiteinfo</paraminfo>
  </warnings>
  <paraminfo>
    <modules>
      <module classname="ApiParse" description="Parses content and returns parser output.&#10;See the various prop-Modules of action=query to get information from the currentversion of a page.&#10;There are several ways to specify the text to parse:&#10;1) Specify a page or revision, using page, pageid, or oldid.&#10;2) Specify content explicitly, using text, title, and contentmodel.&#10;3) Specify only a summary to parse. prop should be given an empty value." examples="Parse a page api.php?action=parse&amp;page=Project:Sandbox Parse wikitext api.php?action=parse&amp;text={{Project:Sandbox}}&amp;contentmodel=wikitext Parse wikitext, specifying the page title api.php?action=parse&amp;text={{PAGENAME}}&amp;title=Test Parse a summary api.php?action=parse&amp;summary=Some+[[link]]&amp;prop=" version="" prefix="" readrights="" name="parse">
        <helpurls>
          <helpurl>https://www.mediawiki.org/wiki/API:Parsing_wikitext#parse</helpurl>
        </helpurls>
        <allexamples>
          <example description="Parse a page" xml:space="preserve">api.php?action=parse&amp;page=Project:Sandbox</example>
          <example description="Parse wikitext" xml:space="preserve">api.php?action=parse&amp;text={{Project:Sandbox}}&amp;contentmodel=wikitext</example>
          <example description="Parse wikitext, specifying the page title" xml:space="preserve">api.php?action=parse&amp;text={{PAGENAME}}&amp;title=Test</example>
          <example description="Parse a summary" xml:space="preserve">api.php?action=parse&amp;summary=Some+[[link]]&amp;prop=</example>
        </allexamples>
        <parameters>
          <param name="title" description="Title of page the text belongs to. If omitted, contentmodel must be specified, and &quot;API&quot; will be used as the title" type="string" />
          <param name="text" description="Text to parse. Use title or contentmodel to control the content model" type="string" />
          <param name="summary" description="Summary to parse" type="string" />
          <param name="page" description="Parse the content of this page. Cannot be used together with text and title" type="string" />
          <param name="pageid" description="Parse the content of this page. Overrides page" type="integer" />
          <param name="redirects" description="If the page or the pageid parameter is set to a redirect, resolve it" default="false" type="boolean" />
          <param name="oldid" description="Parse the content of this revision. Overrides page and pageid" type="integer" />
          <param name="prop" description="Which pieces of information to get&#10; text           - Gives the parsed text of the wikitext&#10; langlinks      - Gives the language links in the parsed wikitext&#10; categories     - Gives the categories in the parsed wikitext&#10; categorieshtml - Gives the HTML version of the categories&#10; links          - Gives the internal links in the parsed wikitext&#10; templates      - Gives the templates in the parsed wikitext&#10; images         - Gives the images in the parsed wikitext&#10; externallinks  - Gives the external links in the parsed wikitext&#10; sections       - Gives the sections in the parsed wikitext&#10; revid          - Adds the revision ID of the parsed page&#10; displaytitle   - Adds the title of the parsed wikitext&#10; headitems      - Gives items to put in the &lt;head&gt; of the page&#10; headhtml       - Gives parsed &lt;head&gt; of the page&#10; modules        - Gives the ResourceLoader modules used on the page&#10; iwlinks        - Gives interwiki links in the parsed wikitext&#10; wikitext       - Gives the original wikitext that was parsed&#10; properties     - Gives various properties defined in the parsed wikitext&#10; limitreportdata - Gives the limit report in a structured way.&#10;                   Gives no data, when disablepp is set.&#10; limitreporthtml - Gives the HTML version of the limit report.&#10;                   Gives no data, when disablepp is set." default="text|langlinks|categories|links|templates|images|externallinks|sections|revid|displaytitle|iwlinks|properties" multi="" limit="50" lowlimit="50" highlimit="500">
            <type>
              <t>text</t>
              <t>langlinks</t>
              <t>categories</t>
              <t>categorieshtml</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>
              <t>modules</t>
              <t>iwlinks</t>
              <t>wikitext</t>
              <t>properties</t>
              <t>limitreportdata</t>
              <t>limitreporthtml</t>
            </type>
          </param>
          <param name="pst" description="Do a pre-save transform on the input before parsing it&#10;Only valid when used with text" default="false" type="boolean" />
          <param name="onlypst" description="Do a pre-save transform (PST) on the input, but don&#039;t parse it&#10;Returns the same wikitext, after a PST has been applied.&#10;Only valid when used with text" default="false" type="boolean" />
          <param name="effectivelanglinks" description="Includes language links supplied by extensions&#10;(for use with prop=langlinks)" default="false" type="boolean" />
          <param name="uselang" description="Which language to parse the request in" type="string" />
          <param name="section" description="Only retrieve the content of this section number" type="string" />
          <param name="disablepp" description="Disable the PP Report from the parser output" default="false" type="boolean" />
          <param name="disableeditsection" description="Disable edit section links from the parser output" default="false" type="boolean" />
          <param name="generatexml" description="Generate XML parse tree (requires contentmodel=wikitext)" default="false" type="boolean" />
          <param name="preview" description="Parse in preview mode" default="false" type="boolean" />
          <param name="sectionpreview" description="Parse in section preview mode (enables preview mode too)" default="false" type="boolean" />
          <param name="disabletoc" description="Disable table of contents in output" default="false" type="boolean" />
          <param name="contentformat" description="Content serialization format used for the input text&#10;Only valid when used with text">
            <type>
              <t>text/x-wiki</t>
              <t>text/javascript</t>
              <t>application/json</t>
              <t>text/css</t>
              <t>text/plain</t>
            </type>
          </param>
          <param name="contentmodel" description="Content model of the input text. If omitted, title must be specified, and default will be the model of the specified title&#10;Only valid when used with text">
            <type>
              <t>wikitext</t>
              <t>javascript</t>
              <t>json</t>
              <t>css</t>
              <t>text</t>
            </type>
          </param>
        </parameters>
      </module>
    </modules>
    <querymodules />
  </paraminfo>
</api>