Thread:Project:Support desk/Retrieving category page using API/reply

Category links are skin-specific, so you can't get that as the resulting text.

You can query that info through the API as well. See |categories&rvprop=content&clprop=sortkey|hidden&format=xml&titles=Category:Tools&list=categorymembers&cmtitle=Category:Tools&cmlimit=500&cmprop=title|sortkeyprefix|type