live chat
24/7 Emergency Hotline USA

Domain Host Info

Resouce path /Domain/Host/Info

https://testapi.internet.bs/Domain/Host/Info?apiKey=testapi&password=testpass&...

The command is intended to retrieve existing host (name server) information for a specific host.
HTTPS POST/GET Request parameters:

Parameter name Description

ApiKey

The API key that we provided to you when you requested API access for your account

Password

The password we provided when you requested API access for your account

host

The host for which you want to retrieve information

ResponseFormat
(optional)

This specifies how the response will be returned. Possible values are TEXT, JSON and XML.
The default value is TEXT however we encourage you to use JSON for easier result parsing (please refer to http://www.json.org for more details about JSON).

Returned data:

STATUS=SUCCESS or PENDING or FAILURE
TRANSACTID=Transaction ID
HOST=The host name
IP1=IP address
...
...
IP_<N>= IP address

Example:

https://testapi.internet.bs/Domain/Host/Info?apiKey=testapi&password=testpass&host=ns1.test-api-domain7.net


The result for this request is:

transactid=ef24193543d7f581777b5a73318a6f8b
status=SUCCESS
host=ns1.test-api-domain7.net
ip_0=121.211.42.77
ip_1=144.222.21.92
Execution_time=0.046873807907104

Possible errors

CodeSample error message
101005NameServer [{host_name}] does not exist

Note: generic error codes and messages please see here.