What is the official way to consume the WordPress API? (api.wordpress.org)

So far as I know, it’s available to use. Your site already hits it a few times each day for plugin updates, theme updates, etc.

It’s not really well-documented, though … so when you start building your code, please document what calls you’re using and how you’re using them in the Codex so everyone else can benefit.