Essentially it is the WordPress plugin:
https://github.com/discourse/wp-discourse
Which talks to our API. No, we don’t have a documented public API yet, but remember that Discourse is a JavaScript application – not a traditional HTML website – so all its communication with the server is pretty much by definition an API.