Is there a good API for blacklisted domains?
Spammers usually spoof their email address (sometimes using the email addresses of legitimate users like you). They don't need to know their password, they just pretend to send it on your behalf. The same applies to domains. Using one of these to detect spam is likely to be inaccurate.
The email headers (your email software should provide some way to see this) should actually provide information about the IP address where the email originated from. The IP address is one of the few ways to check for spam. You can check it first using something like MX Toolbox to check for multiple blacklists (including spam house)
Other ways to identify spam include DKIM and SPF. Usually your email provider should automatically check for them and score for spam if they don't work with either SKIM or SPF.
a source to share
If you only need to check one email address, I usually use the Mxtoolbox tool http://www.mxtoolbox.com/SuperTool.aspx?action=blacklist :
On the other hand, if you want an API (which the name suggests), my company just released an API feature for blacklists (we offer a number of other features as well). http://whoapi.com/api-domain-blacklist.html
a source to share