Domain:list
How to retrieve a list of your domains
To retrieve the list of your registered domains, you can send the following request to our API server. You also have the possibility to retrieve only domains that are in a specific folder and/or registered under a specific top-level domain. You can use to the domain:info request to get further information on a domain.
XML Template
<?xml version="1.0" encoding="UTF-8"?>
<request xmlns:domain="http://www.eurodns.com/domain">
<domain:list>
<domain:tld>#TLD#</domain:tld>
<domain:folderid>#FOLDERID#</domain:folderid>
<domain:status>#STATUS#</domain:status>
</domain:list>
</request>
<domain:list> (Occurrences: 1)
O | #TLD# | Only retrieve domains under this top-level domain |
O | #FOLDERID# | Only retrieve domains that are in the folder with the specified ID |
O | #STATUS# | "registered" status list all registered domains or "quarantined" status list all quarantined domains |
If the action was successful, a list with your domains will be returned:
<?xml version="1.0" encoding="UTF-8"?>
<response xmlns:domain="http://www.eurodns.com/domain">
<result code="1000">
<msg>Command completed successfully</msg>
</result>
<resData>
<domain:list numElements="#LISTCOUNTER#">
<domain:name>#DOMAIN.TLD#</domain:name>
<domain:name>#DOMAIN.TLD#</domain:name>
<domain:name>#DOMAIN.TLD#</domain:name>
</domain:list>
</resData>
</response>
<domain:list> (Occurrences: 1)
R | #LISTCOUNTER# | The total number of domains in the list |
<domain:name> (Occurrences: 1+)
R | #DOMAIN.TLD# | The name of the domain |
Legend
O | The element is optional and does not have to be specified in the request and/or answer |
R | The element is mandatory and has to specified in the request and/or answer |