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

Abuse Contact 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


Abuse Contact Lookup

Used to find the abuse contact address for a domain name. This is where you would send complaints about spam originating from that domain.

URL

http://pro.viewdns.info/abuselookup/

Parameters

domain - the domain name to find the abuse contact for
output - the output format required ('xml' or 'json')
apikey - your api key

Sample Query

domain: twitter.com

GET http://pro.viewdns.info/abuselookup/?domain=twitter.com&apikey=yourapikey&output=output_type

XML Response (output=xml)

<?xml version='1.0' encoding='ISO-8859-1'?>
<viewdns>
  <query>
    <tool>abusecontact_PRO</tool>
    <domain>twitter.com</domain>
  </query>
  <response>
    <abusecontact>abuse@twitter.com</abusecontact>
  </response>
</viewdns>

JSON Response (output=json)

{
    "query": {
        "tool": "abusecontact_PRO",
        "domain": "twitter.com"
    },
    "response": {
        "abusecontact": "abuse@twitter.com"
    }
}







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