best response confirmed by Juan Carlos González Martín (MVP)
Solution

No, there is no official API.

But you can take a look at this effort:

https://github.com/Microsoft/Advanced-Threat-Analytics

although not officially supported.

www.000webhost.com