You can determine the api's format by calling the api at
/endpoint/index.{format} with {format} being json, txt (= php var_dump) or html (default, styling of the variable dump in lists. Well that's
technically XML but there is quite some stuff you don't want and when in doubt XML parsers don't like html.
I figure you want to get this data in ManiaScript (from the XML clause) and for that you would need some way to set the autentification header in the request (+ provide API credentials in the script).
"Mirroring" the API one a server of yours returning the xml encoded requests fetched internally with some credentials is probably not in Nadeo's interest. At least if you don't have some other authentification mechanism, maybe some sort of session management...
As for the URLs you asked about, you can have a look at the WS-SDK implementation:
rankings and
servers[1]
e.g.
http://ws.maniaplanet.com/servers/index ... s=TMCanyon
[1]
viewtopic.php?f=282&t=26043&p=204976&hi ... st#p204989