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 MX 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

https://api.viewdns.info/whois/

Parameters

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

Sample Query - Domain Name

domain: twitter.com

GET https://api.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>
    <organisation>Twitter, Inc.</organisation>
    <registration>
      <created>21-jan-2000</created>
      <expires>21-jan-2020</expires>
      <updated>08-nov-2016</updated>
      <registrar>CSC CORPORATE DOMAINS, INC.</registrar>
      <statuses>
        <status>clientTransferProhibited https://icann.org/epp#clientTransferProhibited</status>
        <status>serverDeleteProhibited https://icann.org/epp#serverDeleteProhibited</status>
        <status>serverTransferProhibited https://icann.org/epp#serverTransferProhibited</status>
        <status>serverUpdateProhibited https://icann.org/epp#serverUpdateProhibited</status>
      </statuses>
    </registration>
    <nameservers>
      <nameserver>D01-01.NS.TWTRDNS.NET</nameserver>
      <nameserver>D01-02.NS.TWTRDNS.NET</nameserver>
      <nameserver>NS3.P34.DYNECT.NET</nameserver>
      <nameserver>NS4.P34.DYNECT.NET</nameserver>
      <nameserver>R01-01.NS.TWTRDNS.NET</nameserver>
      <nameserver>R01-02.NS.TWTRDNS.NET</nameserver>
    </nameservers>
    <rawdata>Domain Name: twitter.com
      Registry Domain ID: 18195971_DOMAIN_COM-VRSN
      Registrar WHOIS Server: whois.corporatedomains.com
      Registrar URL: www.cscprotectsbrands.com
      Updated Date: 2016-11-08T05:07:31Z
      Creation Date: 2000-01-21T16:28:17Z
      Registrar Registration Expiration Date: 2020-01-21T16:28:17Z
      Registrar: CSC CORPORATE DOMAINS, INC.
      Registrar IANA ID: 299
      Registrar Abuse Contact Email: domainabuse@cscglobal.com
      Registrar Abuse Contact Phone: +1.8887802723
      Domain Status: serverTransferProhibited http://www.icann.org/epp#serverTransferProhibited
      Domain Status: serverDeleteProhibited http://www.icann.org/epp#serverDeleteProhibited
      Domain Status: clientTransferProhibited http://www.icann.org/epp#clientTransferProhibited
      Domain Status: serverUpdateProhibited http://www.icann.org/epp#serverUpdateProhibited
      Registry Registrant ID:
      Registrant Name: Twitter, Inc.
      Registrant Organization: Twitter, Inc.
      Registrant Street: 1355 Market Street
      Registrant City: San Francisco
      Registrant State/Province: CA
      Registrant Postal Code: 94103
      Registrant Country: US
      Registrant Phone: +1.4152229670
      Registrant Phone Ext:
      Registrant Fax: +1.4152220922
      Registrant Fax Ext:
      Registrant Email: domains@twitter.com
      Registry Admin ID:
      Admin Name: Domain Admin
      Admin Organization: Twitter, Inc.
      Admin Street: 1355 Market Street
      Admin City: San Francisco
      Admin State/Province: CA
      Admin Postal Code: 94103
      Admin Country: US
      Admin Phone: +1.4152229670
      Admin Phone Ext:
      Admin Fax: +1.4152220922
      Admin Fax Ext:
      Admin Email: domains@twitter.com
      Registry Tech ID:
      Tech Name: Tech Admin
      Tech Organization: Twitter, Inc.
      Tech Street: 1355 Market Street
      Tech City: San Francisco
      Tech State/Province: CA
      Tech Postal Code: 94103
      Tech Country: US
      Tech Phone: +1.4152229670
      Tech Phone Ext:
      Tech Fax: +1.4152220922
      Tech Fax Ext:
      Tech Email: domains-tech@twitter.com
      Name Server: d01-01.ns.twtrdns.net
      Name Server: d01-02.ns.twtrdns.net
      Name Server: r01-02.ns.twtrdns.net
      Name Server: NS3.P34.DYNECT.NET
      Name Server: r01-01.ns.twtrdns.net
      Name Server: NS4.P34.DYNECT.NET
      DNSSEC: unsigned
      URL of the ICANN WHOIS Data Problem Reporting System: http://wdprs.internic.net/
      &gt;&gt;&gt; Last update of WHOIS database: 2016-11-08T05:07:31Z &lt;&lt;&lt;
      For more information on Whois status codes, please visit https://icann.org/epp
      Corporation Service Company(c) (CSC)  The Trusted Partner of More than 50% of the 100 Best Global Brands.
      Contact us to learn more about our enterprise solutions for Global Domain Name Registration and Management, Trademark Research and Watching, Brand, Logo and Auction Monitoring, as well SSL Certificate Services and DNS Hosting.
      NOTICE: You are not authorized to access or query our WHOIS database through the use of high-volume, automated, electronic processes or for the purpose or purposes of using the data in any manner that violates these terms of use. The Data in the CSC WHOIS database is provided by CSC for information purposes only, and to assist persons in obtaining information about or related to a domain name registration record. CSC does not guarantee its accuracy. By submitting a WHOIS query, you agree to abide by the following terms of use: you agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via direct mail, e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes that apply to CSC (or its computer systems). CSC reserves the right to terminate your access to the WHOIS database in its sole discretion for any violations by you of these terms of use. CSC reserves the right to modify these terms at any time.
      Register your domain name at http://www.cscglobal.com</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"
    }
}

Sample Query - IP Address

ip: 8.8.8.8

GET https://api.viewdns.info/whois/?domain=8.8.8.8&apikey=yourapikey&output=output_type

XML Response (output=xml)

<?xml version='1.0' encoding='ISO-8859-1'?>
<viewdns>
  <query>
    <tool>whois_PRO</tool>
    <ip>8.8.8.8</ip>
  </query>
  <response>
    <rir>ARIN</rir>
    <cidr>8.8.8.0/24</cidr>
    <as></as>
    <owner>Level 3 Communications, Inc.</owner>
    <country>US</country>
    <created>1992-12-01</created>
    <updated>2012-02-24</updated>
    <rawdata>#
      # ARIN WHOIS data and services are subject to the Terms of Use
      # available at: https://www.arin.net/whois_tou.html
      #
      # If you see inaccuracies in the results, please report at
      # https://www.arin.net/public/whoisinaccuracy/index.xhtml
      #
      #
      # The following results may also be obtained via:
      # https://whois.arin.net/rest/nets;q=8.8.8.8?showDetails=true&showARIN=false&showNonArinTopLevelNet=false&ext=netref2
      #
      # start
      NetRange:       8.0.0.0 - 8.255.255.255
      CIDR:           8.0.0.0/8
      NetName:        LVLT-ORG-8-8
      NetHandle:      NET-8-0-0-0-1
      Parent:          ()
      NetType:        Direct Allocation
      OriginAS:
      Organization:   Level 3 Communications, Inc. (LVLT)
      RegDate:        1992-12-01
      Updated:        2012-02-24
      Ref:            https://whois.arin.net/rest/net/NET-8-0-0-0-1
      OrgName:        Level 3 Communications, Inc.
      OrgId:          LVLT
      Address:        1025 Eldorado Blvd.
      City:           Broomfield
      StateProv:      CO
      PostalCode:     80021
      Country:        US
      RegDate:        1998-05-21
      Updated:        2017-01-28
      Comment:        ADDRESSES WITHIN THIS BLOCK ARE NON-PORTABLE
      Ref:            https://whois.arin.net/rest/org/LVLT
      OrgNOCHandle: NOCSU27-ARIN
      OrgNOCName:   NOC Support
      OrgNOCPhone:  +1-877-453-8353
      OrgNOCEmail:  noc.coreip@level3.com
      OrgNOCRef:    https://whois.arin.net/rest/poc/NOCSU27-ARIN
      OrgAbuseHandle: APL8-ARIN
      OrgAbuseName:   Abuse POC LVLT
      OrgAbusePhone:  +1-877-453-8353
      OrgAbuseEmail:  security@level3.com
      OrgAbuseRef:    https://whois.arin.net/rest/poc/APL8-ARIN
      OrgTechHandle: IPADD5-ARIN
      OrgTechName:   ipaddressing
      OrgTechPhone:  +1-877-453-8353
      OrgTechEmail:  ipaddressing@level3.com
      OrgTechRef:    https://whois.arin.net/rest/poc/IPADD5-ARIN
      # end
      # start
      NetRange:       8.8.8.0 - 8.8.8.255
      CIDR:           8.8.8.0/24
      NetName:        LVLT-GOGL-8-8-8
      NetHandle:      NET-8-8-8-0-1
      Parent:         LVLT-ORG-8-8 (NET-8-0-0-0-1)
      NetType:        Reallocated
      OriginAS:
      Organization:   Google Inc. (GOGL)
      RegDate:        2014-03-14
      Updated:        2014-03-14
      Ref:            https://whois.arin.net/rest/net/NET-8-8-8-0-1
      OrgName:        Google Inc.
      OrgId:          GOGL
      Address:        1600 Amphitheatre Parkway
      City:           Mountain View
      StateProv:      CA
      PostalCode:     94043
      Country:        US
      RegDate:        2000-03-30
      Updated:        2017-01-28
      Ref:            https://whois.arin.net/rest/org/GOGL
      OrgTechHandle: ZG39-ARIN
      OrgTechName:   Google Inc
      OrgTechPhone:  +1-650-253-0000
      OrgTechEmail:  arin-contact@google.com
      OrgTechRef:    https://whois.arin.net/rest/poc/ZG39-ARIN
      OrgAbuseHandle: ABUSE5250-ARIN
      OrgAbuseName:   Abuse
      OrgAbusePhone:  +1-650-253-0000
      OrgAbuseEmail:  network-abuse@google.com
      OrgAbuseRef:    https://whois.arin.net/rest/poc/ABUSE5250-ARIN
      # end
      #
      # ARIN WHOIS data and services are subject to the Terms of Use
      # available at: https://www.arin.net/whois_tou.html
      #
      # If you see inaccuracies in the results, please report at
      # https://www.arin.net/public/whoisinaccuracy/index.xhtml
      #</rawdata>
  </response>
</viewdns>

JSON Response (output=json)

{
	"query": {
		"tool": "whois_PRO",
		"ip": "8.8.8.8"
	},
	"response": {
		"rir": "ARIN",
		"cidr": "8.8.8.0\/24",
		"as": "",
		"owner": "Level 3 Communications, Inc.",
		"country": "US",
		"created": "1992-12-01",
		"updated": "2012-02-24",
		"rawdata": "#\n# ARIN WHOIS data and services are subject to the Terms of Use\n# available at: https:\/\/www.arin.net\/whois_tou.html\n#\n# If you see inaccuracies in the results, please report at\n# https:\/\/www.arin.net\/public\/whoisinaccuracy\/index.xhtml\n#\n\n\n#\n# The following results may also be obtained via:\n# https:\/\/whois.arin.net\/rest\/nets;q=8.8.8.8?showDetails=true&showARIN=false&showNonArinTopLevelNet=false&ext=netref2\n#\n\n\n# start\n\nNetRange:       8.0.0.0 - 8.255.255.255\nCIDR:           8.0.0.0\/8\nNetName:        LVLT-ORG-8-8\nNetHandle:      NET-8-0-0-0-1\nParent:          ()\nNetType:        Direct Allocation\nOriginAS:       \nOrganization:   Level 3 Communications, Inc. (LVLT)\nRegDate:        1992-12-01\nUpdated:        2012-02-24\nRef:            https:\/\/whois.arin.net\/rest\/net\/NET-8-0-0-0-1\n\n\n\nOrgName:        Level 3 Communications, Inc.\nOrgId:          LVLT\nAddress:        1025 Eldorado Blvd.\nCity:           Broomfield\nStateProv:      CO\nPostalCode:     80021\nCountry:        US\nRegDate:        1998-05-21\nUpdated:        2017-01-28\nComment:        ADDRESSES WITHIN THIS BLOCK ARE NON-PORTABLE\nRef:            https:\/\/whois.arin.net\/rest\/org\/LVLT\n\n\nOrgNOCHandle: NOCSU27-ARIN\nOrgNOCName:   NOC Support\nOrgNOCPhone:  +1-877-453-8353 \nOrgNOCEmail:  noc.coreip@level3.com\nOrgNOCRef:    https:\/\/whois.arin.net\/rest\/poc\/NOCSU27-ARIN\n\nOrgAbuseHandle: APL8-ARIN\nOrgAbuseName:   Abuse POC LVLT\nOrgAbusePhone:  +1-877-453-8353 \nOrgAbuseEmail:  security@level3.com\nOrgAbuseRef:    https:\/\/whois.arin.net\/rest\/poc\/APL8-ARIN\n\nOrgTechHandle: IPADD5-ARIN\nOrgTechName:   ipaddressing\nOrgTechPhone:  +1-877-453-8353 \nOrgTechEmail:  ipaddressing@level3.com\nOrgTechRef:    https:\/\/whois.arin.net\/rest\/poc\/IPADD5-ARIN\n\n# end\n\n\n# start\n\nNetRange:       8.8.8.0 - 8.8.8.255\nCIDR:           8.8.8.0\/24\nNetName:        LVLT-GOGL-8-8-8\nNetHandle:      NET-8-8-8-0-1\nParent:         LVLT-ORG-8-8 (NET-8-0-0-0-1)\nNetType:        Reallocated\nOriginAS:       \nOrganization:   Google Inc. (GOGL)\nRegDate:        2014-03-14\nUpdated:        2014-03-14\nRef:            https:\/\/whois.arin.net\/rest\/net\/NET-8-8-8-0-1\n\n\n\nOrgName:        Google Inc.\nOrgId:          GOGL\nAddress:        1600 Amphitheatre Parkway\nCity:           Mountain View\nStateProv:      CA\nPostalCode:     94043\nCountry:        US\nRegDate:        2000-03-30\nUpdated:        2017-01-28\nRef:            https:\/\/whois.arin.net\/rest\/org\/GOGL\n\n\nOrgTechHandle: ZG39-ARIN\nOrgTechName:   Google Inc\nOrgTechPhone:  +1-650-253-0000 \nOrgTechEmail:  arin-contact@google.com\nOrgTechRef:    https:\/\/whois.arin.net\/rest\/poc\/ZG39-ARIN\n\nOrgAbuseHandle: ABUSE5250-ARIN\nOrgAbuseName:   Abuse\nOrgAbusePhone:  +1-650-253-0000 \nOrgAbuseEmail:  network-abuse@google.com\nOrgAbuseRef:    https:\/\/whois.arin.net\/rest\/poc\/ABUSE5250-ARIN\n\n# end\n\n\n\n#\n# ARIN WHOIS data and services are subject to the Terms of Use\n# available at: https:\/\/www.arin.net\/whois_tou.html\n#\n# If you see inaccuracies in the results, please report at\n# https:\/\/www.arin.net\/public\/whoisinaccuracy\/index.xhtml\n#"
	}
}











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