AFAIK, there is no API for a such thing, but I could be wrong. I'll definitely do it, if it's possible at all.
I use a couple of domains myself.