Is it what you're looking for? Search example.
It reutrns the latest version of org.mongodb:bson like below.
<response>
<lst name="responseHeader">
<int name="status">0</int>
<int name="QTime">2</int>
<lst name="params">
<str name="q">g:org.mongodb AND a:bson</str>
<str name="core"/>
<str name="indent">off</str>
<str name="spellcheck">true</str>
<str name="fl">id,g,a,latestVersion,p,ec,repositoryId,text,timestamp,versionCount</str>
<str name="start"/>
<str name="spellcheck.count">5</str>
<str name="sort">score desc,timestamp desc,g asc,a asc</str>
<str name="rows">20</str>
<str name="wt">xml</str>
<str name="version">2.2</str>
</lst>
</lst>
<result name="response" numFound="1" start="0">
<doc>
<str name="a">bson</str>
<arr name="ec">
<str>-sources.jar</str>
<str>.pom</str>
<str>-javadoc.jar</str>
<str>.jar</str>
</arr>
<str name="g">org.mongodb</str>
<str name="id">org.mongodb:bson</str>
<str name="latestVersion">5.4.0</str>
<str name="p">jar</str>
<str name="repositoryId">central</str>
<arr name="text">
<str>org.mongodb</str>
<str>bson</str>
<str>-sources.jar</str>
<str>.pom</str>
<str>-javadoc.jar</str>
<str>.jar</str>
</arr>
<long name="timestamp">1742506485247</long>
<int name="versionCount">204</int>
</doc>
</result>
<lst name="spellcheck">
<lst name="suggestions"/>
</lst>
</response>