Given that I am either logged in or anonymous
When I ask for api.php?action=query&list=users&usprop=<any user name>
Then I would get a list of language names and proficiency levels
These definitions are already published and I see no reason not to make them available through the public api.