There is no official API, but we've put together a python client so we could built a few community apps. As Amadox mentioned we have a standalone console, and there are a few different statistics programs.   Join #screepers on Slack and we can get you up to date.