API Documentation

Hosting History

Overview

The DomainTools API is organized into distinct products with queries that follow a RESTful URL structure wherever possible. Each product offers free, un-authenticated access for the sample URLs listed with each product. If you haven’t already, you may want to review the getting started document to learn about authentication and response formats.

The Hosting History API provides a list of changes that have occurred in a Domain Name’s registrar, IP address, and name servers. IP and name server events include the value before and after the change and indicate the type of action that triggered the event.

https://api.domaintools.com/v1/domaintools.com/hosting-history/

Sample Response:

{
  response: {
    domain_name: 'domaintools.com',
    ip_history: [
      {
        action: 'N',
        action_in_words: 'New',
        actiondate: '2004-05-03',
        domain: 'DOMAINTOOLS.COM',
        post_ip: '63.247.77.156',
        pre_ip: null
      },
      {
        action: 'D',
        action_in_words: 'Not Resolvable',
        actiondate: '2005-10-02',
        domain: 'DOMAINTOOLS.COM',
        post_ip: '',
        pre_ip: '63.247.77.156'
      },
      {
        action: 'C',
        action_in_words: 'Change',
        actiondate: '2007-03-10',
        domain: 'DOMAINTOOLS.COM',
        post_ip: '66.249.17.251',
        pre_ip: '66.249.4.251'
      },
      ...
    ],
    nameserver_history: [
      {
        action: 'T',
        action_in_words: 'Transfer',
        actiondate: '2002-04-14',
        domain: 'DOMAINTOOLS.COM',
        post_mns: 'Xxxnameservers.com',
        pre_mns: 'Interland.net'
      },
      {
        action: 'T',
        action_in_words: 'Transfer',
        actiondate: '2004-11-25',
        domain: 'DOMAINTOOLS.COM',
        post_mns: 'Host.org',
        pre_mns: 'Xxxnameservers.com'
      },
      ...
    ],
    registrar_history: [
      {
        date_created: '1998-08-02',
        date_expires: '2003-08-01',
        date_lastchecked: '2003-06-28',
        date_updated: '2002-04-12',
        domain: 'DOMAINTOOLS.COM',
        registrar: 'Tucows',
        registrartag: 'Tucows'
      },
      {
        date_created: '1998-08-02',
        date_expires: '2006-08-01',
        date_lastchecked: '2005-08-21',
        date_updated: '2005-03-08',
        domain: 'DOMAINTOOLS.COM',
        registrar: 'GoDaddy.com',
        registrartag: 'Go Daddy Software Inc'
      },
      ...
    ]
  }
}

You must provide your
API credentials
to use this API.

Sample Queries

[HTML]
[JSON]
[XML]

General Information
Products