.es
API Commands
Section titled “API Commands”Please find in the following a set of the most commonly used standard API commands in order to register, modify, renew, and transfer a domain name.
Domain Registration
Section titled “Domain Registration”(API Command reference » AddDomain)
command = AddDomaindomain = yourdomain.esperiod = (INT)ownercontact0 = (CONTACT)admincontact0 = (CONTACT)techcontact0 = (CONTACT)billingcontact0 = (CONTACT)nameserver0 = (NAMESERVER)nameserver1 = (NAMESERVER)X-ES-OWNER-TIPO-IDENTIFICACION = 0 | 1 | 3X-ES-ADMIN-TIPO-IDENTIFICACION = 0 | 1 | 3X-ES-TECH-TIPO-IDENTIFICACION = 0 | 1 | 3X-ES-BILLING-TIPO-IDENTIFICACION = 0 | 1 | 3X-ES-OWNER-IDENTIFICACION = (TEXT)X-ES-ADMIN-IDENTIFICACION = (TEXT)X-ES-TECH-IDENTIFICACION = (TEXT)X-ES-BILLING-IDENTIFICACION = (TEXT)X-ES-OWNER-LEGALFORM = (INT)X-ES-ADMIN-LEGALFORM = 1X-ES-TECH-LEGALFORM = 1X-ES-BILLING-LEGALFORM = 1Domain Modification
Section titled “Domain Modification”(API Command reference » ModifyDomain)
command = ModifyDomaindomain = yourdomain.esRequesting an AuthCode (for Transfer Purpose)
Section titled “Requesting an AuthCode (for Transfer Purpose)”command = ModifyDomaindomain = yourdomain.esX-ES-REQUESTAUTHCODE = 1This command will trigger a generation of an AuthCode, which will be available for 10 days, on the StatusDomains response. This AuthCode shall be used with TransferDomain command.
Change of Registrant
Section titled “Change of Registrant”command = TradeDomaindomain = yourdomain.esownercontact0 = (CONTACT)admincontact0 = (CONTACT)X-ES-OWNER-TIPO-IDENTIFICACION = 0 | 1 | 3X-ES-ADMIN-TIPO-IDENTIFICACION = 0 | 1 | 3X-ES-OWNER-IDENTIFICACION = (TEXT)X-ES-ADMIN-IDENTIFICACION = (TEXT)X-ES-OWNER-LEGALFORM = (INT)X-ES-ADMIN-LEGALFORM = 1As a response of the above command, you will receive the NIC handles for the new holder-, new admin-, new billing- and new tech-contact which are necessary to start the registrant transfer in the web-interface of the registry.
- Login at the registry with the credentials of the current admin contact
- Request the login details from your customer for the admin contact of the domain at the registry webinterface or, if not available, perform a WhoIs request at the NIC to receive the contact handle name (Identificador) of the admin contact (PERSONA DE CONTACTO ADMINISTRATIVO) https://www.nic.es/index.action
- If the password, related to the registry contact handle, for the login at the registry is not known, you can request the password from the registry. The password will be sent to the email address of the current admin contact
- Request the password from the holder of the domain for the admin contact’s handle
- Please request a trade for the domain in our system, stating the new holder and new admin contact (see above example)
- Once you are logged in the webinterface click on “Solicitud Transmisión de dominio” (Domain Transfer Request)
- Enter the domain name
- Enter the new owner contact handle “Titular nuevo”
- Enter the new admin contact handle “PCA nuevo”
- Enter the captcha and press “Continuar”
- (next page)
- Press “Tramitacion si DNIe Certificado …”
- Enter the path to the ID / Passport copy from the current admin contact of the domain and press “Finalizar solicitud”
Please note that the file has to be a .JPG with a maximum of 2MB and a maximum of 600px!
- The new admin contact will receive an email from the registry enabling him to confirm or cancel the transfer request after he logged in to the webinterface of the registry.
- If the request is approved it must be confirmed by going to the link which appears in the email. Please note, to access the confirmation form the admin contact must be logged into the NIC web interface.
- To redeem the login credentials please see above.
- Once the transfer request has been accepted, the web interface will display the content of the request so that the information entered can be checked and the request can be signed by uploading a copy of the ID card or passport.
- Press “Tramitación sin DNIe/Certificado (Debe adjuntar fotocopia de su documento de identidad)”
- Once the transfer has been confirmed a form will appear “New registrant’s conditions acceptance” on which new contacts and DNS and other parameters can be entered. With the exception of “Accredited Registrar” which must be set to “KEY-SYSTEMS”, please do not change anything else as this may cause un-synchronicity to the RRPproxy system.
- After you have chosen “KEY-SYSTEMS” as registrar please click “Next”.
- Once the document has been signed a screen will appear showing a summary of the request and there will be a change of status.
- After the trade has been approved by the current admin contact and the new admin contact the change of registrant needs to be confirmed by Key-Systems, acting as old and new registrar.
Update Admin Contact if Required
Section titled “Update Admin Contact if Required”command = ModifyDomaindomain = yourdomain.esadmincontact0 = (CONTACT)X-ES-OWNER-TIPO-IDENTIFICACION = 0 | 1 | 3X-ES-ADMIN-TIPO-IDENTIFICACION = 0 | 1 | 3X-ES-OWNER-IDENTIFICACION = (TEXT)X-ES-ADMIN-IDENTIFICACION = (TEXT)X-ES-ADMIN-LEGALFORM = 1Since Red.ES checks the ID card number of the admin contact, it might be required to update the admin contact prior to the change of registrant.
Domain Renewal
Section titled “Domain Renewal”(API Command reference » RenewDomain)
command = RenewDomaindomain = yourdomain.esperiod = (INT)expiration = (INT)Domain Deletion
Section titled “Domain Deletion”(API Command reference » DeleteDomain)
command = DeleteDomaindomain = yourdomain.es- The deletion is initiated through our system.
- The Admin-C (PCA) receives an email from the registry with 2 links (Approve/Cancel) where he is asked to approve the deletion.
- The Admin-C has 10 days time to approve or cancel the deletion.
Domain Transfer
Section titled “Domain Transfer”(API Command reference » TransferDomain)
command = TransferDomaindomain = yourdomain.esaction = requestauth = .......An .es domain transfer must be initiated with a so-called authorisation code by the new registrar and Admin contact of the domain must approve or reject the request with in 10 days, via the link provided for this purpose in the notification email sent by the registry.
Auth-codes can only be generated by the registry. To trigger the generation of a new auth-code, please use the command below.
Request New Auth-Code
Section titled “Request New Auth-Code”command = ModifyDomaindomain = yourdomain.esX-ES-REQUESTAUTHCODE = 1The new .es auth-code will be given on the response, will be valid for 10 days, and it will also be available on StatusDomain response during that time.
Domain Restore
Section titled “Domain Restore”(API Command reference » RestoreDomain)
command = RestoreDomaindomain = yourdomain.esThe restore request will be manually processed by our support team. You will be notified by email.
Domain Extensions
Section titled “Domain Extensions”| X-ES-(OWNER|ADMIN|TECH|BILLING)-IDENTIFICACION | ID card or passport number of the admin (You may create contacts for Spanish citizens using their passport. In this case you should indicate “Others” as type of Identification Document and include the passport number. Please remember that, in the event that the User may request a change of registrant, they should sign it with the copy of their passport.) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| X-ES-(OWNER|ADMIN|TECH|BILLING)-TIPO-IDENTIFICACION | 0 | 1 | 3
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| X-ES-ADMIN-LEGALFORM | 1 Individual | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| X-ES-BILLING-LEGALFORM | 1 Individual | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| X-ES-OWNER-LEGALFORM | Individual or Legal Entity Valid values are:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| X-ES-TECH-LEGALFORM | 1 Individual |
Domain Restrictions
Section titled “Domain Restrictions”- Admin-, Tech- and Billing- contact have to be a natural person
- Since 2010 it is no longer possible to change the contact information of the domain holder trough a registrar.
- The domain holder has to login at the registry with his NIC handle (can be found in whois information). The password can be recovered here: https://www.nic.es/sgnd/contacto/passRecoverInicializar.action?tContacto.nic. The domain holder will then receive an email with his credentials.
- The email address of the domain holder and admin contact can only be changed by the respective contact at the registry directly.
The SGND the list of reserved terms consisting of names of toponyms that coincide with the official denomination of the Territorial Public Administrations can be found here (https://www.dominios.es/sites/dominios/files/2021-08/toponimos\_20210212.pdf).
These names are put on hold when registrations are submitted, the applications are rejected if requirements are not met. Anyone can submit a registration so it’s not blocked. However the eligibility criteria is as follows:
The owner of the domain must be the Territorial Public Administration, the constitutional body, the State Institution or the international or supranational organisation, legitimised to request the domain name in accordance with the list of reserved terms, approved by Instruction of the President of the Public Business Entity Red.es dated 12 September 2005.
Only legal persons/ organisations can register these reserved domains. The organisation name must match the reserved names/ include the reserved name I believe.
Once registrations are submitted, the order goes into ‘PDOC’/ Pending Documentation status. If documents are not submitted within 10 days the registration will be cancelled.
Documents that are submitted are reviewed by their team within 24-48hrs (as confirmed by phone).
Documents required:
- Documentation accrediting that the holder is the Territorial Public Administration, constitutional body, State Institution or international or supranational body, legitimised to request the domain name in accordance with the list of reserved terms, approved by Instruction of the President of the Public Business Entity Red.es dated 12 September 2005.
FOR NIF (TAX number)
- Copy of the holder’s Tax Identification Card.
IDN Information
Section titled “IDN Information”á, à, é, è, í, ï, ó, ò, ú, ü, ñ, ç and ·
