reseller

is added when reseller has a customer specific business

Check Availability

Description

Checks the availability of the specified domain name(s).

Parameters

Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
domain-name Array of Strings Required Domain name(s) that you need to check the availability for
tlds Array of Strings Required TLDs for which the domain name availability needs to be checked See details

HTTP Method

GET

Example Test URL Request


https://domaincheck.httpapi.com/api/domains/available.json?auth-userid=0&api-key=key&domain-name=domain1&domain-name=domain2&tlds=com&tlds=net

Response

Returns a hash map containing domain name availability status for the requested TLDs:

  • Domain Availability Status (status)

    • available - domain name available for registration

    • regthroughus - domain name currently registered through the Registrar whose connection is being used to check the availability of the domain name

    • regthroughothers - domain name currently registered through a Registrar other than the one whose connection is being used to check the availability of the domain name. If you wish to manage such a domain name through your Reseller / Registrar Account, you may pass a Domain Transfer API call. See details

    • unknown - returned, if for some reason, the Registry connections are not available. You should ideally re-check the domain name availability after some time.

      Note
      • In case of Donuts TLDs, domain name availability can be checked for a maximum of 5 domain names per Donuts TLD group in one API call. Including more than 5 domain names belonging to the same Donuts TLD group in an API call will return the status as unknown for all the domain names.

        Additional Information

        Donuts TLDs

      • In case of .CA TLD, domain name availability can be checked for a maximum of 15 strings in one API call. Including more than 15 strings in an API call will return the status as unknown for all the strings.

  • Trademark Claims Key (tm-claims-key) - will be returned only if the domain name is available and Trademark for that domain name is listed in the Trademark Clearinghouse database

  • Premium Names (costHash) - A hash map will be returned only if the
    domain is a premium name along with the pricing of the domain ("create",
    "renew", "transfer") and the selling currency symbol

  • Early Access Program (costHash) - A hash map will be returned only
    if the domain is in EAP along with the early access fee
    ("early_access_fee") and the selling currency symbol. The early access fee
    is the non-refundable component which needs to added to the selling price
    of the domain

  • Additional Information

    Trademark Claim Process

  • 3rd Level .UK domain name (ror) - will be returned for an available 2nd Level .UK domain name, if the corresponding 3rd Level .UK domain name already exists. Currently, a 2nd Level .UK domain name can only be registered by the person/entity that owns the 3rd Level .UK domain name, if it already exists.

    Note

    For .UK availability check, the API call need to have only one domain name. Otherwise, the ror parameter will not be returned in the result.

Getting Order Id

Description

Gets the Order Id of a Registered domain name.

Parameters

Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
domain-name String Required The Registered domain name whose Order Id you want to know.

HTTP Method

GET

Example Test URL Request

https://test.httpapi.com/api/domains/orderid.json?auth-userid=0&api-key=key&domain-name=domain.com

Response

Returns the Order Id (Integer) associated with a registered domain name.

Restoring a domain name

Restore

Restores the specified Domain Registration Order.

Parameters

Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
order-id Integer Required Order Id of the Domain Registration Order that you want to restore
invoice-option String Required This will decide how the Customer Invoice will be handled. Set any of below mentioned Invoice Options for your Customer:
  • NoInvoice: This will not raise any Invoice. The Order will be restored.

  • PayInvoice: This will raise an Invoice and:

    • if there are sufficient funds in the Customer's Debit Account, then the Invoice will be paid and the Order will be restored.

    • if there are insufficient funds in the Customer's Debit Account, then the Order will remain pending in the system.

  • KeepInvoice: This will raise an Invoice for the Customer to pay later. The Order will be restored.

HTTP Method

POST

Example Test URL Request


https://test.httpapi.com/api/domains/restore.json?auth-userid=0&api-key=key&order-id=0&invoice-option=KeepInvoice

Response

Returns a hash map containing the below details:

  • Domain Name (description)

  • Order ID of the Domain Registration Order (entityid)

  • Action ID of the Domain Restoration Action (eaqid)

  • Description of the Domain Restoration Action (actiontypedesc)

  • Domain Restoration Action Status (actionstatus)

  • Description of the Domain Restoration Action Status (actionstatusdesc)

  • Invoice ID of the Domain Restoration Invoice (invoiceid)

  • Selling Currency of the Reseller (sellingcurrencysymbol)

  • Selling Price for Customers (sellingamount)

  • Customer ID associated with the Domain Registration Order (customerid)

Note

invoiceid, sellingcurrencysymbol, sellingamount and customerid will not be returned if invoice-option is set to NoInvoice.

In case of any errors, a status key with value as ERROR alongwith an error message will be returned.

Cancelling a Transfer

Description

Cancels the Transfer-In Order that is awaiting Admin approval.

Parameters

Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
order-id Integer Required Order Id of the Transfer request that you want to Cancel

HTTP Method

POST

Example Test URL Request


https://test.httpapi.com/api/domains/cancel-transfer.json?auth-userid=0&api-key=key&order-id=0

Response

Returns Success (String) if the transfer request is cancelled.

In case of any errors, a status key with value as ERROR alongwith an error message will be returned.

Change Log

HTTP API Change Log


18 July, 2013 - Support for .IN.NET General Availability Pre-Registration and IDNs

Support for General Availability Pre-Registration and Internationalized Domain Names (IDNs) enabled under .IN.NET extension

Related API calls:


20 May, 2013 - Support for .CC / .TV IDNs

Support for Internationalized Domain Names (IDNs) enabled under .CC / .TV extensions

Related API calls:


15 April, 2013 - Support for .CO Asiatic IDNs

Support for Asiatic Internationalized Domain Names (IDNs) enabled under .CO extension

Related API calls:


18 February, 2013 - Support for .PW Landrush and IDNs

Support for Landrush and Internationalized Domain Names (IDNs) enabled under .PW extension

Related API calls:


29 January, 2013 - Support for other-state option in the Customer Signup API call, Fetch Domain Registration Order Details using Domain Name, Support for .NAME IDNs

Support for other-state option enabled in the Customer Signup API call

Related API calls:

API call to fetch Domain Registration Order Details using Domain Name introduced

Related API calls:

Support for Internationalized Domain Names (IDNs) enabled under .NAME extension

Related API calls:


17 January, 2013 - Support for Scandinavian IDN Languages under .CO extension

Support for Scandinavian IDN Languages enabled under .CO extension

Related API calls:


14 January, 2013 - Support for .CA IDNs

Support for Internationalized Domain Names (IDNs) enabled under .CA extension

Related API calls:


25 December, 2012 - Support for .NL

Support for .NL enabled

Related API calls:

  • Add Contact

  • All other Domain Management API calls to support .NL without any change


12 December, 2012 - GEO Hosting

API calls to manage GEO Hosting (US, UK and IN) Orders introduced

Related API calls:

Existing calls for Multi Domain Hosting Plans and Reseller Hosting Plans will continue to work for the time being.


21 November, 2012 - .EU Changes

Introduced the below changes:

  • API call to Trade a .EU domain name deprecated. Changes to Registrant Contact Details to be handled through the Contact Modification API call and this will be a non-billable action.

  • .EU Specific Transfer API call deprecated. .EU Domain Transfers to be handled through the Normal Transfer API call.

Related API calls:


30 October, 2012 - Temporary Password Generation for Customers

Call to generate a temporary password for Customers introduced

Related API call:

12 October, 2012 - Support for .ASIA / .TEL IDNs

Support for Internationalized Domain Names (IDNs) enabled under .ASIA / .TEL extensions

Related API calls:

11 October, 2012 - Disable SSL for Single Domain Hosting and Multi Domain Hosting

API Call to disable SSL for Web (Linux and Windows) Hosting and Multi Domain (Linux and Windows) Hosting introduced

Related API calls:

27 September, 2012 - Support for .BIZ / .EU IDNs

Support for Internationalized Domain Names (IDNs) enabled under .BIZ / .EU extensions

Related API calls:

20 September, 2012 - VPS Linux Hosting

Support for VPS Linux Hosting Order Management enabled

Related API calls:

13 September, 2012 - Change in Response for Domains Search Call

The Domain Search API call modified to return additional data about Privacy Protection status

Related API call:

11 September, 2012 - Support for .INFO / .ORG IDNs

Support for Internationalized Domain Names (IDNs) enabled under .INFO / .ORG extensions

Related API calls:


1 August, 2012 - Support for .PRO

Support for .PRO enabled

Related API calls:


26 July, 2012 - Auth-Code Requirement for .AU

Submission of auth-code of a .AU domain name made compulsory at the time of initiating the Transfer itself

Related API call:


15 June, 2012 - .UK Migration to EPP

API call to activate a transferred .UK domain name deprecated. .UK Domain Transfers to be handled through the Normal Transfer API call.

Related API call:


4 June, 2012 - Reseller Windows Hosting

Support for Reseller Windows Hosting Order Management enabled

Related API calls:

30 April, 2012 - Fetch DNS Records for Web Services, Multi Domain Hosting and Reseller Hosting

API calls to fetch DNS records for for Web Services, Multi Domain (Linux and Windows) Hosting and Reseller Linux Hosting introduced

Related API calls:

26 March, 2012 - Transfer Without Auth-Code, Support for .COM / .NET / .DE / .ES / .CO IDNs

The requirement of providing an auth-code at the time of placing a Transfer Order removed. A Transfer Order may be placed without an auth-code which can be submitted later by the Admin Contact or from within the Customer Control Panel.

Related API call:

Support for Internationalized Domain Names (IDNs) enabled under .COM / .NET / .DE / .ES / .CO extensions.

Related API calls:

11 March, 2012 - Deleted Domain Registration Order Search Split

The Deleted Domain Registration Order Search split into Deleted and Archived Orders Search:

  • Value of status parameter to be mentioned as Deleted for searching Orders deleted in the past 30 days

  • Value of status parameter to be mentioned as Archived for searching Orders deleted more than 30 days ago

Related API call:


5 March, 2012 - Changes to the .AU Contact Information Collection

Changes made to the .AU Contact Information collection process:

  • During Registration, the EligibilityID Type and EligibilityID need to be provided.

  • Eligibility Type and Registrant Name will be fetched automatically for ABN, ACN, ARBN and Other EligibilityID Type values.

  • Eligibility Type and Eligibility Name will be fetched automatically for VIC BN, NSW BN, SA BN, NT BN, WA BN, TAS BN, ACT BN and QLD BN EligibilityID Type values. Registrant Name to be provided.

  • If the EligibilityID Type is selected as Trademark, the Eligibility Type needs to be selected as either Trademark Owner or Pending TM Owner.

Related API call:


21 February, 2012 - Multi Domain Windows Hosting

Support for Multi Domain Windows Hosting Order Management enabled

Related API calls:

20 February, 2012 - Reseller Linux Hosting

Support for Reseller Linux Hosting Order Management enabled

Related API calls:


20 January, 2012 - Support for .AU

Support for .AU enabled

Related API calls:


12 January, 2012 - Website Design Services Deprecated, Support for .RU

API calls for managing Website Design Services deprecated

Related API calls:

Support for .RU enabled

Related API calls:


05 December, 2011 - Support for .XXX

Support for .XXX enabled

Related API calls:


26 August, 2011 - Multi Domain Linux Hosting

Support for Multi Domain Linux Order Management enabled

Related API calls:


15 July, 2011 - Auth-Code Requirement for .WS

Submission of auth-code for Transfer of a .WS domain name made compulsory

Related API call:


28 March, 2011 - Support for .ES

Support for .ES enabled

Related API calls:


11 March, 2011 - Support for .DE

Support for .DE enabled

Related API calls:


04 January, 2011 - Support for DNS Management

Support for DNS Management enabled

Related API calls:

10 December, 2010 - Version Upgrade

Beta tag removed and HTTP API upgraded to full version

29 May, 2010 - Launch

HTTP API (beta) launched

Request Parameter Data Types

Although all parameters are sent as strings over HTTP, we have specified the types of parameters used in the HTTP API requests to help you identify the values that can be passed.

  • Boolean: Possible values are true or false.

    Example: ?variable=true

  • Integer: Possible values are positive whole numbers.

    Example: ?variable=1234

  • Float: Possible values are positive numbers with a decimal component.

    Example: ?variable=12.34

  • String: Possible values are context-dependent sequence of characters.

    Example: ?variable=abc123.com

  • Array: Possible values are any context-dependent collection of values of the same type. Arrays are specified by assigning different values of the same type to the same parameter name multiple times. The order in which values are assigned does not matter.

    Example: ?variable=1&variable=2&variable=3&variable=4

  • Map: Possible values are any collection of name-value pairs where name is of type string and value can be any context-dependent type. Name-value pairs are associated with each other by adding the same numeric suffix to them. The numeric suffix, starts from 1 and is incremented for each subsequent name-value pair.

    Example: ?domain-name1=abc.com&nameserver1=abc.example.com&domain-name2=xyz.com&nameserver2=xyz.example.com
    This associates abc.example.com with abc.com and xyz.example.com with xyz.com

Note
  • The parameter values in the API calls are case sensitive and must be passed correctly to fetch complete details in the response.

    For example, the API call to fetch the details of a Domain Registration Order has a paramater options. Values can be: All, OrderDetails, ContactIds, RegistrantContactDetails, AdminContactDetails, TechContactDetails, BillingContactDetails, NsDetails, DomainStatus, DNSSECDetails.

    These values are case sensitive and need to passed in the exact manner as mentioned above.

    https://test.httpapi.com/api/domains/details-by-name.json?auth-userid=0&api-key=key&domain-name=yourdomain.com&options=OrderDetails

  • For associating extra details with a particular Contact or a domain name, the details must be passed in the API call in the form of attr-name and attr-value pairs.
    These name-value pairs must be passed sequentially, such as attr-name1=param&attr-value1=value&attr-name2=param&attr-value2=value. Usage such as attr-name1=param&attr-value1=value&attr-name3=param&attr-value3=value is incorrect.

    Example:

    Correct API call

    https://test.httpapi.com/api/contacts/add.json?auth-userid=0&api-key=key&name=abc&company=company&email=urname@domain.com&address-line-1=address1&city=city&country=nn&zipcode=0&phone-cc=0&phone=0&customer-id=0&type=Contact&attr-name1=title&attr-value1={Title of the Contact in the Company}&attr-name2=website&attr-value2={Company Website}

    Incorrect API call

    https://test.httpapi.com/api/contacts/add.json?auth-userid=0&api-key=key&name=abc&company=company&email=urname@domain.com&address-line-1=address1&city=city&country=nn&zipcode=0&phone-cc=0&phone=0&customer-id=0&type=Contact&attr-name1=title&attr-value1={Title of the Contact in the Company}&attr-name3=website&attr-value3={Company Website}

Response Formats

Available Response Formats

The HTTP API currently supports the following response formats:

  • XML
  • JSON

Requesting a specific Response Format

You can specify the required Response Format as an extension to the URL path as illustrated below:

Example (JSON): /api/domains/register.json?parameters

Example (XML): /api/domains/register.xml?parameters

Note

JSON response is returned by default, if no response format is specified.

Register

Note

It is recommended, that you read TLD and their Contacts specific information, prior to continuing reading further:

Description

Registers a domain name.

Parameters

Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
domain-name String Required

Domain name that you need to Register.

For an Internationalized Domain Name, refer to the supported character sets mentioned below:

Note

The domain name used in the API call can be in Unicode (the native language) or in Punycode format.

Example: The domain name can be provided as ѯҋ111 (Unicode) or xn--111-dkd4l (Punycode).

domain-name=ѯҋ111
domain-name=xn--111-dkd4l

years Integer Required Number of years for which you wish to Register this domain name.
ns Array of Strings Required The Name Servers of the domain name.
customer-id Integer Required The Customer for whom you wish to Register this domain name.
reg-contact-id Integer Required The Registrant Contact of the domain name.
admin-contact-id Integer Required

The Administrative Contact of the domain name.

Note

Pass -1 for the following TLDs:

  • .EU

  • .NZ

  • .RU

  • .UK

tech-contact-id Integer Required

The Technical Contact of the domain name.

Note

Pass -1 for the following TLDs:

  • .EU

  • .NZ

  • .RU

  • .UK

billing-contact-id Integer Required

The Billing Contact of the domain name.

Note

Pass -1 for the following TLDs:

  • .AT

  • .BERLIN

  • .CA

  • .EU

  • .NL

  • .NZ

  • .RU

  • .UK

  • .LONDON

invoice-option String Required This will decide how the Customer Invoice will be handled. Set any of below mentioned Invoice Options for your Customer:
  • NoInvoice: This will not raise any Invoice. The Order will be executed.

  • PayInvoice: This will raise an Invoice and:

    • if there are sufficient funds in the Customer's Debit Account, then the Invoice will be paid and the Order will be executed.

    • if there are insufficient funds in the Customer's Debit Account, then the Order will remain pending in the system.

  • KeepInvoice: This will raise an Invoice for the Customer to pay later. The Order will be executed.

  • OnlyAdd: This will raise an Invoice for the Customer to pay later. The registration action request will remain pending.

purchase-privacy Boolean optional

Adds the Privacy Protection service for the domain name.

Privacy Protection is not supported for the following TLDs (extensions):

  • .ASIA

  • .AT

  • .AU

  • .CA

  • .CN

  • .ORG.CO, .MIL.CO, .GOV.CO, .EDU.CO

  • .DE

  • .ES

  • .EU

  • .HN

  • .IN

  • .NL

  • .NZ

  • .PRO

  • .RU

  • .SX

  • .TEL

  • .UK

  • .US

protect-privacy Boolean Optional

Enables / Disables the Privacy Protection setting for the domain name.

auto-renew Boolean Required

Enables / Disables the Auto Renewal setting for the domain name.

attr-name Map[name] Optional Mapping key of the extra details needed to register a domain name. Refer the description of attr-value.
attr-value Map[value] Optional

Mapping value of the extra details required to register a domain name. This together with attr-name shall contain the extra details.

  • To register an Internationalized Domain Name:

    idnLanguageCode: While registering an IDN, you need to provide the corresponding language code:

    • .BHARAT: The language code needs to be mentioned as hin-deva.

      attr-name1=idnLanguageCode&attr-value1=hin-deva

    • .BIZ IDN: The language code depends upon the language whose characters are used in the domain name. Supported languages and the corresponding language codes are:

      • Chinese - zh

      • Danish - da

      • Finnish - fi

      • German - de

      • Hungarian - hu

      • Icelandic - is

      • Japanese - jp

      • Korean - ko

      • Lithuanian - lt

      • Latvian - lv

      • Norwegian - no

      • Polish - pl

      • Portuguese - pt

      • Spanish - es

      • Swedish - sv

      attr-name1=idnLanguageCode&attr-value1=ko

    • .CA IDN: The language code needs to be mentioned as fr.

      attr-name1=idnLanguageCode&attr-value1=fr

    • .CC / .TV IDN: The language code depends upon the language whose characters are used in the domain name. You can refer to the list of languages supported and the corresponding language code.

      attr-name1=idnLanguageCode&attr-value1=aze

    • .CO IDN: The language code depends upon the language whose characters are used in the domain name. Supported languages and the corresponding language codes are:

      • Chinese - zh

      • Danish - da

      • Finnish - fi

      • Icelandic - is

      • Japanese - jp

      • Korean - ko

      • Norwegian - no

      • Spanish - es

      • Swedish - sv

      attr-name1=idnLanguageCode&attr-value1=da

    • .COM / .NET IDN: The language code depends upon the language whose characters are used in the domain name. You can refer to the list of languages supported and the corresponding language code.

      attr-name1=idnLanguageCode&attr-value1=aze

    • .DE IDN: The language code needs to be mentioned as de.

      attr-name1=idnLanguageCode&attr-value1=de

    • .ES IDN: The language code needs to be mentioned as es.

      attr-name1=idnLanguageCode&attr-value1=es

    • .EU IDN: The language code needs to be mentioned as latin.

      attr-name1=idnLanguageCode&attr-value1=latin

    • .IN.NET IDN: The language code depends upon the language whose characters are used in the domain name. Supported languages and the corresponding language codes are:

      • Arabic - ara

      • Chinese - chi

      • Cyrillic - cyr

      • Greek - gre

      • Hebrew - heb

      • Japanese - jpn

      • Korean - kor

      • Lao - lao

      • Latin - lat

      • Thai - tha

      attr-name1=idnLanguageCode&attr-value1=jpn

    • .INFO IDN: The language code depends upon the language whose characters are used in the domain name. Supported languages and the corresponding language codes are:

      • Danish - da

      • German - de

      • Hungarian - hu

      • Icelandic - is

      • Korean - ko

      • Latvian - lv

      • Lithuanian - lt

      • Polish - pl

      • Spanish - es

      • Swedish - sv

      attr-name1=idnLanguageCode&attr-value1=ko

    • .NAME IDN: The language code depends upon the language whose characters are used in the domain name. You can refer to the list of languages supported and the corresponding language code.

      attr-name1=idnLanguageCode&attr-value1=aze

    • .ORG IDN: The language code depends upon the language whose characters are used in the domain name. Supported languages and the corresponding language codes are:

      • Chinese - zh-cn (for IDN.org domain name and .机构 domain name - the Chinese IDN for .org)

      • Cyrillic - ru (for .орг domain name - the Russian IDN for .org)

      • Danish - da

      • German - de

      • Hindi - hin-deva (for .संगठन domain name - the Hindi IDN for .org)

      • Hungarian - hu

      • Icelandic - is

      • Korean - ko

      • Latvian - lv

      • Lithuanian - lt

      • Polish - pl

      • Spanish - es

      • Swedish - sv

      attr-name1=idnLanguageCode&attr-value1=ko

    • .PW IDN: The language code depends upon the language whose characters are used in the domain name. Supported languages and the corresponding language codes are:

      • Arabic - ara

      • Chinese - chi

      • Cyrillic - cyr

      • Greek - gre

      • Hebrew - heb

      • Japanese - jpn

      • Korean - kor

      • Lao - lao

      • Latin - lat

      • Thai - tha

      attr-name1=idnLanguageCode&attr-value1=tha

    • .TEL IDN: The language code depends upon the language whose characters are used in the domain name. Supported languages and the corresponding language codes are:

      • Chinese - zh

      • Danish - da

      • French - fr

      • Finnish - fi

      • German - de

      • Hungarian - hu

      • Icelandic - is

      • Japanese - jp

      • Korean - ko

      • Latvian - lv

      • Lithuanian - lt

      • Norwegian - no

      • Polish - pl

      • Portuguese - pt

      • Russian - ru

      • Spanish - es

      • Swedish - sv

      attr-name1=idnLanguageCode&attr-value1=ko

    • CentralNic IDN: The language code depends upon the language whose characters are used in the domain name. Supported languages and the corresponding language codes are:

      • .EU.COM:

        • Arabic - ara

        • Cyrillic - cyr

        • Greek - gre

        • Hebrew - heb

        • Latin - lat

      • .GB.COM, .QC.COM, .DE.COM, .GB.NET, .NO.COM, .HU.COM, .UY.COM, .ZA.COM, .BR.COM, .SE.COM, .SE.NET, .UK.COM and .UK.NET:

        • Latin - lat

      • .AE.ORG and .SA.COM:

        • Arabic - ara

      • .KR.COM:

        • Korean - kor

      • .US.COM:

        • Arabic - ara

        • Chinese - chi

        • Cyrillic - cyr

        • Greek - gre

        • Hebrew - heb

        • Japanese - jpn

        • Latin - lat

      • .GR.COM:

        • Greek - gre

      • .JPN.COM:

        • Japanese - jpn

      • .CN.COM:

        • Chinese - chi

      • .RU.COM:

        • Cyrillic - cyr

      attr-name1=idnLanguageCode&attr-value1=lat

    • .在线 (Chinese IDN for .online): The language code needs to be mentioned as zh.

      attr-name1=idnLanguageCode&attr-value1=zh

    • .中文网 (Chinese IDN for .network): The language code needs to be mentioned as zh.

      attr-name1=idnLanguageCode&attr-value1=zh

  • To register a Domain Name in the Sunrise Phase:

    • phase: Mention the phase as sunrise.

      attr-name1=phase&attr-value1=sunrise

    • smd: Pass the content of the smd file as the value for this attr-name.

      attr-name2=smd&attr-value2=<smd_file_content>

  • To register a Domain Name in the Pre-Registration Phase:

    phase: Mention the phase as

    • prega for regular pre-registration

      attr-name1=phase&attr-value1=prega

    • landrush for priority pre-registration

      attr-name1=phase&attr-value1=landrush

  • To register a domain name that has a Trademark Claim:

    tm-claim: Mention the value for this additional parameter as accepted.

    attr-name1=tm-claim&attr-value1=accepted

  • To register a .ASIA domain name:

    cedcontactid: While registering a .ASIA domain name, 'Charter Eligibility Declaration Contact ID' is mandatory. This parameter represents the CED
    Contact ID. You may select any one of the Admin, Technical, Billing or Registrant Contacts as a value for this parameter.

    attr-name1=cedcontactid&attr-value1=0

  • To register a .AU domain name:

    • id-type: Mention the appropriate EligibilityID Type as the value for this attr-name. This is
      mandatory. See details

      Send either of the following as the attr-value:

      • ACN: This is the Registrant's Australian Company Number.

      • ABN: This is the Registrant's Australian Business Number.

      • VIC BN: This is the Registrant's Victoria Business Number.

      • NSW BN: This is the Registrant's New South Wales Business Number.

      • SA BN: This is the Registrant's South Australia Business Number.

      • NT BN: This is the Registrant's Northern Territory Business Number.

      • WA BN: This is the Registrant's Western Australia Business Number.

      • TAS BN: This is the Registrant's Tasmania Business Number.

      • ACT BN: This is the Registrant's Australian Capital Territory Business Number.

      • QLD BN: This is the Registrant's Queensland Business Number.

      • TM: This is the Registrant's Trademark number.

      • ARBN: This is the Registrant's Registrant's Australian Registered Body Number (ARBN).

      • Other

      attr-name1=id-type&attr-value1=ACN

    • id: Mention the appropriate ID as the value for this attr-name, depending upon the EligibilityID Type selected. This is
      mandatory. This may be
      either a number or string. See details

      attr-name2=id&attr-value2=079 009 340

    • policyReason: Mention the appropriate Eligibility Reason as the value for this attr-name. This is mandatory.
      See details

      attr-name3=policyReason&attr-value3=1

      Note

      Mention the attr-value3 as 1 to indicate Domain Name is an Exact Match OR Abbreviation OR Acronym of your Entity or Trading Name. and send
      2 to indicate Close and substantial connection between the domain name and the operations of your Entity.

    • isAUWarranty: You need to display and accept a warranty from the Registrant. When sending this attribute, it's value needs to be
      true. See details

      attr-name4=isAUWarranty&attr-value4=true

    • eligibilityType: This is mandatory for only the id-type values Trademark and Other. Mention the appropriate value as below.

      id-type eligibilityType
      Trademark Trademark Owner
      or
      Pending TM Owner
      Other Other

      attr-name5=eligibilityType&attr-value5=Trademark

    • eligibilityName: This is mandatory for only the id-type value Trademark. Mention the appropriate Eligibility Name (company name) as the value for this attr-name.
      See details

      attr-name6=eligibilityName&attr-value6=.AU DOMAIN ADMINISTRATION LIMITED

    • registrantName: This is mandatory for only the id-type values VIC BN, NSW BN, SA BN, NT BN, WA BN, TAS BN, ACT BN, QLD BN, Trademark and Other. Mention the appropriate Registrant Name as the value for this attr-name. This value needs to be the proprietor's name and the proprietor should be an individual.
      See details

      attr-name7=registrantName&attr-value7=RICHARD MARK


  • To register a .BR (third level) domain name:

    organisationId: Only Brazilian nationals or organizations can register .BR domains. Hence, a tax ID (CPF in case of an individual contact) or an organisation ID (CNPJ in case of a company contact) of the person/organisation needs to be supplied. The tax/organization ID must either not be currently registered in our database or it should be a transferred authority to the registrar through the .BR registry web interface.

    In addition, depending on the contact, you will need to specify the “type” as BrOrgContact (for the Registrant contact) or BrContact (for the Admin/Technical/Billing contact).

    A BrgOrgContact will need the following additional attributes:

    attr-name1=organisationId&attr-value1=123456

  • To register a .CN domain name:

    If the Registrant plans on hosting the domain name in China, he/she needs to ensure that he/she has a valid MIIT ICP Number and include the below parameters:

    • cnhosting: This parameter indicates that the domain name will be hosted in China. The value needs to be passed as true.

      attr-name1=cnhosting&attr-value1=true

    • cnhostingclause: Through this parameter, the Registrant agrees to the terms and conditions for hosting the domain name in China. The value needs to be passed as yes.

      attr-name2=cnhostingclause&attr-value2=yes

  • To register a .QUEBEC domain name:

    intended-use: This parameter indicates the intended use of the .QUEBEC domain name. For example, commercial use, statistic website, cultural, etc.

    attr-name1=intended-use&attr-value1=commercial use

  • To register a .TEL domain name:

    • whois-type: This parameter indicates whether the Registrant is an Individual or an Oragnization. The value needs to be passed as either Natural (for Individual) or Legal (for Oragnization).

      attr-name1=whois-type&attr-value1=Legal

    • publish: This parameter indicates whether the Contact Details associated with a .TEL domain name need to be published or excluded from the publicly available Whois database. The value needs to be passed as either Y or N.

      This parameter is required if whois-type parameter is Natural, otherwise is it Optional.

      attr-name2=publish&attr-value2=Y

    Note

    You may exclude the whois-type parameter itself from the API call, since it is optional. In that case,:

    • whois-type will be automatically set to Legal,

      AND

    • you need not pass the publish parameter.

  • To register a 2nd Level .UK domain name with a non UK Registrant Contact, specify an additional Service Contact: See details:

    service-contact: Mention the Contact ID of the Service Contact.

    attr-name1=service-contact&attr-value1=0

  • To register a .LAWYER, .ATTORNEY, .LTDA, .SRL domain name:

    REGULATORY BODY: The Regulatory Body information is collected during the registration process. This information is only required if the registrant is offering professional services related to the TLD

    attr-name1=regulatorybody&attr-value1=<regulatory-body-here>

  • To register a .AIRFORCE, .ARMY, .DEGREE, .ENGINEER, .GIVES, .MARKET, .MORTGAGE, .NAVY, .REHAB, .SOFTWARE, .VET, .VOTE, .VOTO domain name:

    TNC: stands for Terms and Conditions

    Any other value for attr-value1 except y or Y will result in an error "Please accept the Terms & Conditions".

    attr-name1=tnc&attr-value1=y

  • To register a .DENTIST domain name:

    TNC: stands for Terms and Conditions

    Any other value for attr-value1 except y or Y will result in an error "Please accept the Terms & Conditions".

    REGULATORY BODY: The Regulatory Body information is collected during the registration process. This information is only required if the registrant is offering professional services related to the TLD

    attr-name1=tnc&attr-value1=y&attr-name2=regulatorybody&attr-value2=<regulatory-body>

HTTP Method

POST

Example Test URL Request


https://test.httpapi.com/api/domains/register.xml?auth-userid=0&api-key=key&domain-name=domain.com&years=1&ns=ns1.domain.com&ns=ns2.domain.com&customer-id=0&reg-contact-id=0&admin-contact-id=0&tech-contact-id=0&billing-contact-id=0&invoice-option=KeepInvoice

Example Test URL Request for Registering a Domain Name with Privacy Protection


https://test.httpapi.com/api/domains/register.xml?auth-userid=0&api-key=key&domain-name=domain.com&years=1&ns=ns1.domain.com&ns=ns2.domain.com&customer-id=0&reg-contact-id=0&admin-contact-id=0&tech-contact-id=0&billing-contact-id=0&invoice-option=KeepInvoice&purchase-privacy=true

Example Test URL Request for Registering a Domain Name in the Sunrise Phase


https://test.httpapi.com/api/domains/register.xml?auth-userid=0&api-key=key&domain-name=domains1.bike&years=1&ns=ns1.domain.com&ns=ns2.domain.com&customerid=0&reg-contact-id=0&admin-contact-id=0&tech-contact-id=0&billing-contact-id=0&invoice-option=KeepInvoice&attr-name1=phase&attr-value1=sunrise&attr-name2=smd&attr-value2=<smd_file_content>

Example Test URL Request for Registering a .AU Domain Name


https://test.httpapi.com/api/domains/register.xml?auth-userid=0&api-key=key&domain-name=domain.net.au&years=2&ns=ns1.domain.com&ns=ns2.domain.com&customer-id=0&reg-contact-id=0&admin-contact-id=0&tech-contact-id=0&billing-contact-id=0&invoice-option=KeepInvoice&attr-name1=id-type&attr-value1=ACN&attr-name2=id&attr-value2=079 009 340&attr-name3=policyReason&attr-value3=1&attr-name4=isAUWarranty&attr-value4=true

Example Test URL Request for Registering a .CN Domain Name


https://test.httpapi.com/api/domains/register.xml?auth-userid=0&api-key=key&domain-name=domain.cn&years=1&ns=ns1.domain.com&ns=ns2.domain.com&customer-id=0&reg-contact-id=0&admin-contact-id=0&tech-contact-id=0&billing-contact-id=0&invoice-option=KeepInvoice&attr-name1=cnhosting&attr-value1=true&attr-name2=cnhostingclause&attr-value2=yes

Example Test URL Request for Registering a .COM IDN


https://test.httpapi.com/api/domains/register.xml?auth-userid=0&api-key=key&domain-name=ѯҋ112.com&years=1&ns=ns1.domain.com&ns=ns2.domain.com&customer-id=0&reg-contact-id=0&admin-contact-id=0&tech-contact-id=0&billing-contact-id=0&invoice-option=KeepInvoice&attr-name1=idnLanguageCode&attr-value1=aze

Example Test URL Request for Registering a .TEL Domain Name


https://test.httpapi.com/api/domains/register.xml?auth-userid=0&api-key=key&domain-name=domain.tel&years=1&ns=ns1.domain.com&ns=ns2.domain.com&customer-id=0&reg-contact-id=0&admin-contact-id=0&tech-contact-id=0&billing-contact-id=0&invoice-option=KeepInvoice&attr-name1=whois-type&attr-value1=Natural&attr-name2=publish&attr-value2=N

Example Test URL Request for Registry Premium domain registration


https://test.httpapi.com/api/domains/register.xml?auth-userid=0&api-key=key&domain-name=domain.com&years=1&ns=ns1.domain.com&ns=ns2.domain.com&customer-id=0&reg-contact-id=0&admin-contact-id=0&tech-contact-id=0&billing-contact-id=0&invoice-option=KeepInvoice
&attr-name1=premium&attr-value1=true

Example Test URL Request for domain registration in EAP


https://test.httpapi.com/api/domains/register.xml?auth-userid=0&api-key=key&domain-name=domain.com&years=1&ns=ns1.domain.com&ns=ns2.domain.com&customer-id=0&reg-contact-id=0&admin-contact-id=0&tech-contact-id=0&billing-contact-id=0&invoice-option=KeepInvoice&attr-name1=eap&attr-value1=true

Example Test URL Request for Registry Premium domain registration in EAP


https://test.httpapi.com/api/domains/register.xml?auth-userid=0&api-key=key&domain-name=domain.com&years=1&ns=ns1.domain.com&ns=ns2.domain.com&customer-id=0&reg-contact-id=0&admin-contact-id=0&tech-contact-id=0&billing-contact-id=0&invoice-option=KeepInvoice&attr-name1=premium&attr-value1=true&attr-name2=eap&attr-value2=true

Response

Returns a hash map containing the below details:

  • Domain Name (description)

  • Order ID of the Domain Registration Order (entityid)

  • Action Type (actiontype)

  • Description of the Domain Registration Action (actiontypedesc)

  • Action ID of the Domain Registration Action (eaqid)

  • Domain Registration Action Status (actionstatus)

  • Description of the Domain Registration Action Status (actionstatusdesc)

  • Invoice ID of the Domain Registration Invoice (invoiceid)

  • Selling Currency of the Reseller (sellingcurrencysymbol)

  • Transaction Amount in the Selling Currency (sellingamount)

  • Unutilized Transaction Amount in the Selling Currency (unutilisedsellingamount)

  • Customer ID associated with the Domain Registration Order (customerid)

  • Privacy Protection Details (privacydetails)

    • Domain Name (description)

    • Order ID of the Domain Registration Order (entityid)

    • Action Type (actiontype)

    • Description of the Privacy Protection Purchase Action (actiontypedesc)

    • Action ID of the Privacy Protection Purchase Action (eaqid)

    • Privacy Protection Purchase Action Status (actionstatus)

    • Description of the Privacy Protection Purchase Action Status (actionstatusdesc)

    • Invoice ID of the Privacy Protection Purchase Invoice (invoiceid)

    • Selling Currency of the Reseller (sellingcurrencysymbol)

    • Transaction Amount in the Selling Currency (sellingamount)

    • Unutilized Transaction Amount in the Selling Currency (unutilisedsellingamount)

    • Customer ID associated with the Domain Registration Order (customerid)

Note
  • invoiceid, sellingcurrencysymbol, sellingamount, unutilisedsellingamount and customerid will not be returned if invoice-option is set to NoInvoice.

  • Details under privacydetails will be returned only if purchase-privacy is set to true in the Domain Registration API call

In case of any errors, a status key with value as ERROR alongwith an error message will be returned.

API Requests

Note

It is recommended, that you read TLD and their Contacts specific information, prior to visiting the below-mentioned Domains and Contacts related
links. See details

The Reseller API is organized into the following type of methods:

Domains

Use these methods to Search, Register or Renew domain names, etc.

Contacts

Use these methods to add Contacts to domain names, modify existing Contacts, etc.

Customers

Use these methods to add Customers, modify Customer details, etc.

Resellers

Use these methods to add Resellers, modify Reseller details, etc.

Free Email

Use this method to activate Free Email service.

Single Domain Hosting

Use these methods to add Single Domain Hosting Orders.

Multi Domain Hosting

Use these methods to add Multi Domain Hosting Orders.

Reseller Hosting

Use these methods to add Reseller Hosting Orders.

VPS

Use these methods to add VPS Orders.

Hosting

Use these methods to add Email Hosting or Web Hosting Orders.

Domain Forward

Use these methods to activate the Domain Forwarding service.

DNS

Use these methods to activate the DNS service for a domain name.

Website Builder

Use these methods to get details of various Website Builder packages and add a Website Builder package for a Customer.

Digital Certificates

Use these methods to add a Digital Certificate Order, get details of a Digital Certificate Orders, delete Digital Certificate Order, etc.

Products

Use these methods to check availability of a product for the specified domain name, get details of Active products, etc.

Common

Use these methods to know Pricing details for a product, know the allowed Payment Gateways for each Customer, etc.

Domains

Note

It is recommended, that you read TLD and their Contacts specific information, prior to continuing reading further:

Check Availability

Checks the availability of specified domain name(s).

Check Availability - IDN

Checks the availability of the specified Internationalized Domain Name(s) (IDN).

Check Availability - Premium Domains

Checks the availability of Premium Domain Names based on the specified keyword.

Suggest Names

Suggests domain names for the given keyword.

Register

Registers a specified domain name.

Transfer

Transfers a specified domain name to you.

Validating a Transfer Request

Checks if a transfer request is valid for the specified domain name.

Renew

Renews the specified Domain Registration Order for multiple years.

Search

Gets a list of Domain Registration Orders, which suit the Search criteria, along with the details.

Get Customer Default Name Servers

Gets a list of the default Name Servers for the Customer.

Get Order Id

Gets the Order Id of a Registered domain name.

Get Registration Order Details

Gets the details of a Domain Registration Order.

Modify Name Servers

Modifies the Name Servers of the specified Domain Registration Order.

Add Child Name Server

Adds Child Name Servers for the specified Domain Registration Order.

Modify Child Name Server Host Name

Modifies the name of the Child Name Server of the specified Domain Registration Order.

Modify Child Name Server IP Address

Modifies the IP addresses associated with the specified Child Name Server of the specified Domain Registration Order.

Deleting Child Name Server IP Address

Deletes the IP address associated with the specified Child Name Server of the particular Domain Registration Order.

Modify Contacts

Modifies the Contacts of the specified Domain Registration Order.

Modify Privacy Protection Status

Changes the Privacy Protection status of the specified Domain Registration Order.

Modify Auth-Code

Modifies the Auth-Code of the specified Domain Registration Order.

Apply Theft Protection Lock

Applies the Theft Protection lock on the specified Order.

Remove Theft Protection Lock

Removes the Theft Protection lock on the specified Order.

Get the List of Locks Applied on a Domain Name

Gets the list of locks applied on a Domain Registration Order.

Get TEL CTH Login Details

Gets the CTH Login Details for the specified .TEL Domain Registration Order.

Modify TEL Whois Preference

Modifies the Whois preference of the .TEL Domain Registration Order.

Resend Transfer Approval Mail

Resends the Transfer Approval mail for the specified Order.

Release a UK Domain Name

Releases (transfer-out) the specified .UK domain name to the specified Registrar tag.

Cancel Transfer

Cancels the Transfer-In Order that is awaiting Admin approval.

Suspend

Applies the Suspension on the specified Domain Registration Order.

Unsuspend

Removes the Suspension on the specified Domain Registration Order.

Delete

Deletes the specified Domain Registration Order.

Restore

Restores the specified Domain Registration Order.

Rechecking NS with .DE Registry

Recheck zone configuration with .de registry of the expired .DE Domain Registration Order.

Associating/Dissociating .XXX Membership Token/ID

Allows associating/dissociating the Membership Token/ID provided by the .XXX Registry, to a Domain Registration Order.