Protocol for KM app/web service?

Is there a way to directly access the web server via an external service? I’m interested in building a web service endpoint hooked into Keyboard Maestro so I can integrate it into other applications. I can crawl the website to find the available macros and authorization, but I’m assuming there’s another method in there.

No, the only API is the very basic HTTP requests used by the web server.

Executing the macro is done with a basic HTTP request over HTTPS with basic authentication.

As for finding the available macros, parsing the (very basic) HTML is the only way (and not guaranteed not to change unfortunately - indeed it does change slightly for 7.0).