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

Domain / IP Whois 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


Domain / IP Whois

Displays owner/contact information for a domain name. Can also be used to determine if a domain name is registered or not.

Note

This tool is not available to free API key users. Access is restricted to paid API keys only.

URL

http://pro.viewdns.info/whois/

Parameters

domain - the domain to perform a whois lookup on
output - the output format required ('xml' or 'json')
apikey - your api key

Sample Query

domain: twitter.com

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

XML Response (output=xml)

<?xml version='1.0' encoding='ISO-8859-1'?>
<viewdns>
  <query>
    <tool>whois_PRO</tool>
    <domain>twitter.com</domain>
  </query>
  <response>
    <registrant>Twitter, Inc.</registrant>
    <registration>
      <created>2011-08-31</created>
      <expires>2019-01-22</expires>
      <updated>2011-08-30</updated>
      <registrar>MELBOURNE IT, LTD. D/B/A INTERNET NAMES WORLDWIDE</registrar>
      <statuses>
        <status>clientTransferProhibited</status>
      </statuses>
    </registration>
    <nameservers>
      <nameserver>ns1.p34.dynect.net (208.78.70.34)</nameserver>
      <nameserver>ns2.p34.dynect.net (204.13.250.34)</nameserver>
      <nameserver>ns3.p34.dynect.net (208.78.71.34)</nameserver>
      <nameserver>ns4.p34.dynect.net (204.13.251.34)</nameserver>
    </nameservers>
    <rawdata>\nDomain Name.......... twitter.com\n  Creation Date........ 2000-01-22\n  
Registration Date.... 2011-08-31\n  Expiry Date.......... 2019-01-22\n  Organisation 
Name.... Twitter, Inc.\n  Organisation Address. 795 Folsom Street\n  Organisation 
Address. Suite 600\n  Organisation Address. San Francisco\n  Organisation Address. 
94107\n  Organisation Address. CA\n  Organisation Address. UNITED STATES\n\n
Admin Name........... Domain Admin\n  Admin Address........ 795 Folsom Street\n  Admin 
Address........ Suite 600\n  Admin Address........ San Francisco\n  Admin Address........ 
94107\n  Admin Address........ CA\n  Admin Address........ UNITED STATES\n  Admin 
Email.......... admin@melbourneitdbs.com\n  Admin Phone.......... +415.2229670\n  
Admin Fax............ +415.2220922\n\nTech Name............ Tech Admin\n  Tech Address......... 
795 Folsom Street\n  Tech Address......... Suite 600\n  Tech Address......... San Francisco\n  
Tech Address......... 94107\n  Tech Address......... CA\n  Tech Address......... UNITED 
STATES\n  Tech Email........... domains-tech@twitter.com\n  Tech Phone........... 
+415.2229670\n  Tech Fax............. +415.2220922\n  Name Server.......... NS2.P34.DYNECT.NET\n  
Name Server.......... NS3.P34.DYNECT.NET\n  Name Server.......... NS4.P34.DYNECT.NET\n  
Name Server.......... NS1.P34.DYNECT.NET\n\n\n</rawdata>
  </response>
</viewdns>

JSON Response (output=json)

{
    "query": {
        "tool": "whois_PRO",
        "domain": "twitter.com"
    },
    "response": {
        "registrant": "Twitter, Inc",
        "registration": {
            "created": "2011-08-31",
            "expires": "2019-01-22",
            "updated": "2011-08-30",
            "registrar": "MELBOURNE IT, LTD. D/B/A INTERNET NAMES WORLDWIDE",
            "statuses": [
                "clientTransferProhibited"
            ]
        },
        "name_servers": [
            "ns1.p34.dynect.net (208.78.70.34)",
            "ns2.p34.dynect.net (204.13.250.34)",
            "ns3.p34.dynect.net (208.78.71.34)",
            "ns4.p34.dynect.net (204.13.251.34)"
        ],
        "rawdata": "\\nDomain Name.......... twitter.com\\n  Creation Date........ 2000-01-22\\n  
        Registration Date.... 2011-08-31\\n  Expiry Date.......... 2019-01-22\\n  Organisation 
        Name.... Twitter, Inc.\\n  Organisation Address. 795 Folsom Street\\n  Organisation Address. 
        Suite 600\\n  Organisation Address. San Francisco\\n  Organisation Address. 94107\\n  
        Organisation Address. CA\\n  Organisation Address. UNITED STATES\\n\\nAdmin Name........... 
        Domain Admin\\n  Admin Address........ 795 Folsom Street\\n  Admin Address........ Suite 600
        \\n  Admin Address........ San Francisco\\n  Admin Address........ 94107\\n  Admin Address
        ........ CA\\n  Admin Address........ UNITED STATES\\n  Admin Email.......... 
        admin@melbourneitdbs.com\\n  Admin Phone.......... +415.2229670\\n  Admin Fax............ 
        +415.2220922\\n\\nTech Name............ Tech Admin\\n  Tech Address......... 795 Folsom 
        Street\\n  Tech Address......... Suite 600\\n  Tech Address......... San Francisco\\n  Tech 
        Address......... 94107\\n  Tech Address......... CA\\n  Tech Address......... UNITED STATES\\n  
        Tech Email........... domains-tech@twitter.com\\n  Tech Phone........... +415.2229670\\n  
        Tech Fax............. +415.2220922\\n  Name Server.......... NS2.P34.DYNECT.NET\\n  Name 
        Server.......... NS3.P34.DYNECT.NET\\n  Name Server.......... NS4.P34.DYNECT.NET\\n  Name 
        Server.......... NS1.P34.DYNECT.NET\\n\\n\\n"
    }
}











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