ViewDNS.info - Your one source for DNS related tools!
ViewDNS.info > API > Documentation >

Spam Database Lookup API



Documentation Home

TOOLS
Abuse Contact Lookup
ASN Lookup
Chinese Firewall Test
DNS Propagation Checker
DNS Record Lookup
DNS Report
DNSSEC Test
Domain/IP Whois
Free Email Lookup
Get HTTP Headers
Google Pagerank Checker
IP History
IP Location Finder
Iran Firewall Test
Is My Site Down
MAC Address Lookup
Ping
Port Scanner
Reverse DNS Lookup
Reverse IP Lookup
Reverse NS Lookup
Reverse Whois Lookup
Spam Database Lookup
Traceroute
URL/String Decode


Spam Database Lookup

Find out if your mail server is listed in any spam databases.

URL

http://pro.viewdns.info/spamdblookup/

Parameters

ip - the IP address to test for spam blacklisting
output - the output format required ('xml' or 'json')
apikey - your api key

Sample Query

ip: 1.2.3.4

GET http://pro.viewdns.info/spamdblookup/?ip=1.2.3.4&apikey=yourapikey&output=output_type

XML Response (output=xml)

<?xml version='1.0' encoding='ISO-8859-1'?>
<viewdns>
  <query>
    <tool>spamdblookup_PRO</tool>
    <ip>1.2.3.4</ip>
  </query>
  <response>
    <db>
      <name>b.barracudacentral.org</name>
      <result>ok</result>
    </db>
    <db>
      <name>bl.deadbeef.com</name>
      <result>ok</result>
    </db>
    <db>
      <name>bl.emailbasura.org</name>
      <result>ok</result>
    </db>
    <db>
      <name>bl.spamcop.net</name>
      <result>ok</result>
    </db>
    <db>
      <name>blacklist.woody.ch</name>
      <result>ok</result>
    </db>
    <db>
      <name>cbl.abuseat.org</name>
      <result>ok</result>
    </db>
    <db>
      <name>combined.rbl.msrbl.net</name>
      <result>ok</result>
    </db>
    <db>
      <name>db.wpbl.info</name>
      <result>ok</result>
    </db>
    <db>
      <name>dbl.spamhaus.org</name>
      <result>ok</result>
    </db>
    <db>
      <name>dnsbl.ahbl.org</name>
      <result>ok</result>
    </db>
    <db>
      <name>dnsbl.cyberlogic.net</name>
      <result>ok</result>
    </db>
    <db>
      <name>dnsbl.njabl.org</name>
      <result>ok</result>
    </db>
    <db>
      <name>dnsbl.sorbs.net</name>
      <result>ok</result>
    </db>
    <db>
      <name>dnsbl-3.uceprotect.net</name>
      <result>ok</result>
    </db>
    <db>
      <name>drone.abuse.ch</name>
      <result>ok</result>
    </db>
    <db>
      <name>http.dnsbl.sorbs.net</name>
      <result>ok</result>
    </db>
    <db>
      <name>httpbl.abuse.ch</name>
      <result>ok</result>
    </db>
    <db>
      <name>images.rbl.msrbl.net</name>
      <result>ok</result>
    </db>
    <db>
      <name>ips.backscatterer.org</name>
      <result>ok</result>
    </db>
    <db>
      <name>nomail.rhsbl.sorbs.net</name>
      <result>ok</result>
    </db>
    <db>
      <name>pbl.spamhaus.org</name>
      <result>ok</result>
    </db>
    <db>
      <name>phishing.rbl.msrbl.net</name>
      <result>ok</result>
    </db>
    <db>
      <name>sbl.spamhaus.org</name>
      <result>ok</result>
    </db>
    <db>
      <name>smtp.dnsbl.sorbs.net</name>
      <result>ok</result>
    </db>
    <db>
      <name>socks.dnsbl.sorbs.net</name>
      <result>ok</result>
    </db>
    <db>
      <name>spam.dnsbl.sorbs.net</name>
      <result>ok</result>
    </db>
    <db>
      <name>spam.rbl.msrbl.net</name>
      <result>ok</result>
    </db>
    <db>
      <name>spam.spamrats.com</name>
      <result>ok</result>
    </db>
    <db>
      <name>ubl.unsubscore.com</name>
      <result>ok</result>
    </db>
    <db>
      <name>virus.rbl.msrbl.net</name>
      <result>ok</result>
    </db>
    <db>
      <name>web.dnsbl.sorbs.net</name>
      <result>ok</result>
    </db>
    <db>
      <name>xbl.spamhaus.org</name>
      <result>ok</result>
    </db>
    <db>
      <name>zen.spamhaus.org</name>
      <result>ok</result>
    </db>
    <db>
      <name>zombie.dnsbl.sorbs.net</name>
      <result>ok</result>
    </db>
  </response>
</viewdns>

JSON Response (output=json)

{
    "query":{
        "tool":"spamdblookup_PRO",
        "ip":"1.2.3.4"
    },
    "response":{
        "dbs":[{
                "name":"b.barracudacentral.org",
                "result":"ok"
            },
            {
                "name":"bl.deadbeef.com",
                "result":"ok"
            },
            {
                "name":"bl.emailbasura.org",
                "result":"ok"
            },
            {
                "name":"bl.spamcop.net",
                "result":"ok"
            },
            {
                "name":"blacklist.woody.ch",
                "result":"ok"
            },
            {
                "name":"cbl.abuseat.org",
                "result":"ok"
            },
            {
                "name":"combined.rbl.msrbl.net",
                "result":"ok"
            },
            {
                "name":"db.wpbl.info",
                "result":"ok"
            },
            {
                "name":"dbl.spamhaus.org",
                "result":"ok"
            },
            {
                "name":"dnsbl.ahbl.org",
                "result":"ok"
            },
            {
                "name":"dnsbl.cyberlogic.net",
                "result":"ok"
            },
            {
                "name":"dnsbl.njabl.org",
                "result":"ok"
            },
            {
                "name":"dnsbl.sorbs.net",
                "result":"ok"
            },
            {
                "name":"dnsbl-3.uceprotect.net",
                "result":"ok"
            },
            {
                "name":"drone.abuse.ch",
                "result":"ok"
            },
            {
                "name":"http.dnsbl.sorbs.net",
                "result":"ok"
            },
            {
                "name":"httpbl.abuse.ch",
                "result":"ok"
            },
            {
                "name":"images.rbl.msrbl.net",
                "result":"ok"
            },
            {
                "name":"ips.backscatterer.org",
                "result":"ok"
            },
            {
                "name":"nomail.rhsbl.sorbs.net",
                "result":"ok"
            },
            {
                "name":"pbl.spamhaus.org",
                "result":"ok"
            },
            {
                "name":"phishing.rbl.msrbl.net",
                "result":"ok"
            },
            {
                "name":"sbl.spamhaus.org",
                "result":"ok"
            },
            {
                "name":"smtp.dnsbl.sorbs.net",
                "result":"ok"
            },
            {
                "name":"socks.dnsbl.sorbs.net",
                "result":"ok"
            },
            {
                "name":"spam.dnsbl.sorbs.net",
                "result":"ok"
            },
            {
                "name":"spam.rbl.msrbl.net",
                "result":"ok"
            },
            {
                "name":"spam.spamrats.com",
                "result":"ok"
            },
            {
                "name":"ubl.unsubscore.com",
                "result":"ok"
            },
            {
                "name":"virus.rbl.msrbl.net",
                "result":"ok"
            },
            {
                "name":"web.dnsbl.sorbs.net",
                "result":"ok"
            },
            {
                "name":"xbl.spamhaus.org",
                "result":"ok"
            },
            {
                "name":"zen.spamhaus.org",
                "result":"ok"
            },
            {
                "name":"zombie.dnsbl.sorbs.net",
                "result":"ok"
            }
        ]
    }
}







All content © 2016 ViewDNS.info
Feedback / Suggestions / Contact Us   Become an Affiliate