MediaWiki:Apihelp-parse-paramvalue-prop-categories/en

Gives the categories in the parsed wikitext.