Sorry, no API, but I can get my people to build one for you - give me a day to get back to you on this.
If you have the option to host everything (including geo DB) on your own server, we can make a self-contained sub-system (PHP + MySQL) and give it to you (with our compliments :-)).
Let me know.