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-continue>
    <pageswithprop gpwpcontinue="1791" />
  </query-continue>
  <query>
    <pages>
      <page pageid="1" ns="0" title="メインページ" contentmodel="wikitext" pagelanguage="ja" touched="2019-04-02T21:49:04Z" lastrevid="66287" counter="1388712" length="4941" />
      <page pageid="973" ns="100" title="ポータル:アニメ" contentmodel="wikitext" pagelanguage="ja" touched="2013-06-29T07:34:43Z" lastrevid="63718" counter="20249" length="6163" />
      <page pageid="975" ns="100" title="ポータル:コミック" contentmodel="wikitext" pagelanguage="ja" touched="2018-03-24T14:06:09Z" lastrevid="66667" counter="17370" length="2707" />
      <page pageid="980" ns="100" title="ポータル:ドラマCD" contentmodel="wikitext" pagelanguage="ja" touched="2017-09-03T13:00:33Z" lastrevid="66635" counter="20738" length="2623" />
      <page pageid="984" ns="100" title="ポータル:小説" contentmodel="wikitext" pagelanguage="ja" touched="2014-03-02T05:37:04Z" lastrevid="63960" counter="7118" length="6281" />
      <page pageid="1581" ns="0" title="異名の一覧" contentmodel="wikitext" pagelanguage="ja" touched="2012-05-24T00:00:00Z" lastrevid="57183" counter="52381" length="3123" />
      <page pageid="1787" ns="104" title="索引:か" contentmodel="wikitext" pagelanguage="ja" touched="2012-01-01T00:00:00Z" lastrevid="58830" counter="30794" length="9724" />
      <page pageid="1788" ns="104" title="索引:さ" contentmodel="wikitext" pagelanguage="ja" touched="2012-05-24T00:00:00Z" lastrevid="58678" counter="21067" length="8478" />
      <page pageid="1789" ns="104" title="索引:た" contentmodel="wikitext" pagelanguage="ja" touched="2012-01-01T00:00:00Z" lastrevid="58267" counter="14904" length="6576" />
      <page pageid="1790" ns="104" title="索引:な" contentmodel="wikitext" pagelanguage="ja" touched="2011-06-09T04:50:09Z" lastrevid="39418" counter="5643" length="820" />
    </pages>
  </query>
</api>