Thread:Project:Support desk/User contribution statistics by namespace

I i want to build a tool to get the user contribution statistics by namespace. Does the mediawiki API serve these by default or do i have to follow some other path to get these data?