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>
    <pages>
      <page pageid="31" ns="4" title="scienceamusante.net:Accueil" contentmodel="wikitext" pagelanguage="fr" touched="2023-06-26T13:08:51Z" lastrevid="25923" counter="" length="736" />
      <page pageid="33" ns="4" title="scienceamusante.net:À propos" contentmodel="wikitext" pagelanguage="fr" touched="2022-01-06T09:09:24Z" lastrevid="25695" counter="" length="355" />
      <page pageid="696" ns="0" title="5-11 octobre 1998 : Semaine de la Science" contentmodel="wikitext" pagelanguage="fr" touched="2014-10-27T10:23:20Z" lastrevid="24675" counter="" length="824" />
      <page pageid="2889" ns="0" title="Prix Roberval Multimédia 2010" contentmodel="wikitext" pagelanguage="fr" touched="2018-09-06T17:35:57Z" lastrevid="25544" counter="" length="6082" />
      <page pageid="3568" ns="8" title="MediaWiki:Citethispage-content" contentmodel="wikitext" pagelanguage="fr" touched="2015-04-27T19:46:32Z" lastrevid="24752" counter="" length="2421" />
    </pages>
  </query>
</api>