The Wayback Machine - https://web.archive.org/all/20060316043336/http://www.enom.com/resellers/InterfaceInfo.asp
 Total Domain Names on the eNom Platform: 6,342,852 create your FREE account  |   log-in  
 RESELLERS  api info 

Web Site Creator API Sample Scripts
         and Information




You must be an official eNom Reseller to use eNom's industry-leading API.
Find out more about becoming an eNom reseller.



If you would like to use our credit card processing feature or use our hosted reseller site solutions be sure to check out our PDQ and Registry Rocket services.

Create an account in our development environment to test our automated registration system using the domain name registration code on your servers.

How to Register Domain Names Through eNom

Follow this process to create a web site that registers domain names using eNom's automated domain name registration system.

  1. Sign up for your eNom Reseller account.
  2. URL Interface COM Object" file for information on how to use the provided COM object to register names using our system. Otherwise read "Interfacing with eNom" below. You may test all you like using the test server.
  3. URL Interface COM Object".

    The HTTP Protocol


    The server side of this protocol is simply an asp page running on IIS. Although it is a web page, it is not meant to be accessed directly by your users. It is meant to be accessed from your back end program running on your web site. This is just to make it easier for you to develop an interface to it.
    When building and testing your scripts you need to connect to "resellertest.enom.com". This is a test environment set up exclusively for test data. To begin live transactions you will need to connect to "reseller.enom.com".

    HTTP requests are TCP connections to port 80 on the given server. After you connect to the server, the HTTP request is sent as follows (example URL string shown):
    GET /interface.asp?command=check&tld=com&sld=mydomain&responsetype=text HTTP/1.0
    The URL string parameter will be described below. After you send the request, the response will come back in the following format (example data shown):
    HTTP/1.1 200 OK
    Server: Microsoft-IIS/4.0
    Date: Mon, 10 Apr 2000 20:05:54 GMT
    Content-Type: text/html
    Set-Cookie: ASPSESSIONIDGQGGQGPQ=NJIFGMHCGPINKAKLLJCICJFN; path=/
    Cache-control: private

    Command=CHECK
    RRPCode=210
    RRPText=Domain name available
    ErrCount=0
    The header information may vary. A blank line signals the end of the headers. The page is simply a list of name=value pairs (if debugging is activated on the server, there may be additional text before the name=value pairs. This can be ignored. Start parsing data when you receive an '=' char in the line). The server closes the connection after it sends the page.

    Parameters


    The GET request requires that all parameters be passed in the URL. The URL in the GET request will always start with:
    /interface.asp?
    If you are using the URLInterface.dll object for Windows you will need to follow this syntax when using the object:
    Set Enom = Server.CreateObject( "Enom.EnomURL" )
    Use the AddParam function to build the querystring:
    The first value is the param name and the second is the value.
    Enom.AddParam "UID", Session( "loginid" )
    Enom.AddParam "PW", Session( "password" )
    Enom.AddParam "SLD", "Second level name"
    Enom.AddParam "TLD", "Top level name"
    Then submit the request with the DoRequest function:
    Note: this is the command name.
    Enom.DoRequest "PURCHASE"
    Parse the Response by calling the Enom.Response( "Param name" ) function.

    And finally close the object:
    Set Enom = Nothing
    Click here for a list of commands, all possible parameters, and their use.


    Sign-up Now Reseller FAQ

Related Links



Product News

© eNom inc. 1998-2006 - Terms and Conditions
Partners: Try this whois    search the web
User's Choice Award Name Intelligence Award   .com .net .org   ICANN Accredited