Domain Profile API

The Domain Profile API provides basic domain name registration details and a preview of additional data available.

Parameters of the Domain Profile API

For the moment, the domain profile service doesn't take parameters.

Example of the Domain Profile API

JSON

Request

Show/Hidden apache code

View source
 
 
  GET /encrypted-area HTTP/1.1
  Host: api.domainapi.com/v1/domain_profile/example.com
  Authorization: Basic YWtpcmF0ZXN0OmR0d3N0ZXN0
 

Response

Show/Hidden apache code

View source
 
 
  Server: Apache-Coyote/1.1
  Content-Type: application/json
  Transfer-Encoding: chunked
  Date: Tue, 07 Mar 2011 15:09:07 GMT
 

 
Show/Hidden javascript code
View source
 
 
  {
      "service": "domain_profile",
      "domain": "example.com",
      "timestamp": 1234567890,
      "content": {
          "domainProfile": {
              "history": {
                  "ip_address": {
                      "events": "6",
                      "timespan_in_years": "5"
                  },
                  "whois": {
                      "earliest_event": "2007-07-01",
                      "records": "22"
                  },
                  "registrar": {
                      "events": "2",
                      "earliest_event": "2003-02-23"
                  },
                  "name_server": {
                      "events": "6",
                      "timespan_in_years": "8"
                  }
              },
              "name_serversList": [
                  {
                      "server": "NS1.EURODNS.COM"
                  },
                  {    
                      "server": "NS2.EURODNS.COM"
                  }
              ],
              "registrant": {
                  "domains": "3",
                  "name": "Example"
              },
              "server": {
                  "other_domains": "129",
                  "ip_address": "127.127.127.127"
              },
              "seo": {
                  "score": "73"
              },
              "registration": {
                  "expires": "2012-03-04",
                  "registrar": "EURODNS S.A",
                  "updated": "2011-01-05",
                  "created": "2000-03-04",
                  "statuses": "clientTransferProhibited"
              }
          }
      }
  }
 

XML

Request

Show/Hidden apache code

View source
 
 
  GET /encrypted-area HTTP/1.1
  Host: api.domainapi.com/v1/domain_profile/xml/example.com
  Authorization: Basic YWtpcmF0ZXN0OmR0d3N0ZXN0
 

Response
Show/Hidden xml code
View source
 
<response>
  <service>domain_profile</service>
  <domain>example.com</domain>
  <timestamp>1234567890</timestamp>
  <content>
    <domainProfile>
      <history>
        <ip_address>
          <events>6</events>
          <timespan_in_years>5</timespan_in_years>
        </ip_address>
        <whois>
          <earliest_event>2007-07-01</earliest_event>
          <records>22</records>
        </whois>
        <registrar>
          <events>2</events>
          <earliest_event>2003-02-23</earliest_event>
        </registrar>
        <name_server>
          <events>6</events>
          <timespan_in_years>8</timespan_in_years>
        </name_server>
      </history>
      <name_serversList>
        <name_servers>
          <server>NS1.EURODNS.COM</server>
        </name_servers>
        <name_servers>
          <server>NS2.EURODNS.COM</server>
        </name_servers>
      </name_serversList>
      <registrant>
        <domains>3</domains>
        <name>Example</name>
      </registrant><
      <server>
        <other_domains>129</other_domains>
        <ip_address>127.127.127.127</ip_address>
      </server>
      <seo>
        <score>73</score>
      </seo>
      <registration>
        <expires>2012-03-04</expires>
        <registrar>EURODNS S.A</registrar>
        <updated>2011-01-05</updated>
        <created>2000-03-04</created>
        <statuses>clientTransferProhibited</statuses>
      </registration>
    </domainProfile>
  </content>
</response>
 
 

Additional information