To be able to enjoy the web you need a more recent and safe browser. For more information, check the Internet Explorer updates.
 You cannot register this service. Contact Support

API dinahosting

All the commands you need
If you have doubts, we help you for free

api.cta__h1

API dinahosting

Todos los comandos que necesitas para implementar tu propia plataforma de venta y gestión de dominios, alojamiento web, VPS... usando tu interfaz, automatizando y planificando acciones sobre uno o varios servicios.

  • API en PDF

    Download Fecha de actualización: 04/12/2025 08:30:37
  • Librería de archivos

    Download Dinahosting HTTP_Request libary files

Documentación de la API

A continuación se muestra la documentación completa de la API de dinahosting y la lista de comandos disponibles. Cada comando incluye una descripción detallada de su funcionamiento, los parámetros que admite y los posibles tipos de respuesta.

Al seleccionar un comando, se mostrará también un generador de peticiones y un simulador de respuesta, que te permitirán probar cómo invocar la API y visualizar la respuesta real que devuelve el servidor.

List of commands

List of errors

Billing_Transfer_Domain

Buy and transfer to Dinahosting an existing domain name.
Some domains require an auth code to complete the transfer. There is a command for this: Api_Command_Domain_Transfer_SetAuthcode.
1.0 -> 1.1 Improved simulation mode.
1.1 -> 1.2: COMMAND_BILLING_CREDIT error.
1.2 -> 1.3: OBJECT_EXISTS and OBJECT_NOT_EXISTS errors.
1.3 -> 1.4: New TLDs are supported.
1.4 -> 1.5: New contact keys (RegistrantIdentification, AdminIdentification, TechIdentification, BillingIdentification) - required for esNic domain validation.
EsNic domain validation for technical contact: must be a natural person
Version: 1.5
Special errors:
OBJECT_EXISTS Domain is currently active on dinahosting.
OBJECT_NOT_EXISTS Domain is currently not registered.
COMMAND_BILLING_CREDIT User haven't got enought credit available.
BILLING_FAILURE There was some error at payment / billing runtime.
COMMAND_BILLING_PRODUCT_ERROR Invalid domain TLD or transfer period.

Parameters

  • domain (string): Domain name. The parameter is required.
  • period (int): Registration period ( years ). Default: 1 year. The parameter is required. Parameter value must be a valid integer. Parameter value must be between values 1 and 10 inclusive.
  • contacts (struct): Array containing contacts ( see Domain_Contacts_GetAll ). Optional, but many of the tlds require registrant information (see Billing_Transfer_GetRequirements ). The parameter is optional. Parameter value must be a valid contacts.
  • dnss (array): Array containing DNS strings ( see Domain_Dnss_Get ). Optional. The parameter is optional. Parameter value must be a valid array of 2-8 unique DNS.
  • whoisProtection (bool): Default is false. Set true to buy domain whois protection. Is activated inmediatly after transfer this domain. The parameter is optional. Parameter value must be a boolean ( true or false ).
  • paymentMethodType (string): Default is saldo. Set it to "bono" to use that payment Method. The parameter is optional. Accepted parameter values: "saldo","bono".

Tipo de datos de respuesta

void

Información adicional

El modo de simulación no se aplica plenamente este comando.

Generador de código

Genera fácilmente el código completo de tu petición en distintos lenguajes.

Domain name.

Registration period ( years ). Default: 1 year.

Array containing contacts ( see Domain_Contacts_GetAll ). Optional, but many of the tlds require registrant information (see Billing_Transfer_GetRequirements ). / Web format: Comma separated key+value pairs, one pair by line

Array containing DNS strings ( see Domain_Dnss_Get ). Optional. / Web format: Comma separated values .

Default is false. Set true to buy domain whois protection. Is activated inmediatly after transfer this domain.

Default is saldo. Set it to "bono" to use that payment Method.

 
 

Simulador

Prueba tu petición y obtén al instante una respuesta simulada de ejemplo.

Domain name.

Registration period ( years ). Default: 1 year.

Array containing contacts ( see Domain_Contacts_GetAll ). Optional, but many of the tlds require registrant information (see Billing_Transfer_GetRequirements ). / Web format: Comma separated key+value pairs, one pair by line

Array containing DNS strings ( see Domain_Dnss_Get ). Optional. / Web format: Comma separated values .

Default is false. Set true to buy domain whois protection. Is activated inmediatly after transfer this domain.

Default is saldo. Set it to "bono" to use that payment Method.