Command to get TLD data, how other data is related to TLDs, and some data related to TLDs.
<mbapi> <command><!-- string --></command> <showXMLHeader><!-- boolean --></showXMLHeader> <params> <tldID><!-- int --></tldID> <registrarID><!-- int --></registrarID> <tldExtension><!-- string --></tldExtension> <tldName><!-- string --></tldName> <tldWhoisServer><!-- string --></tldWhoisServer> <tldWhoisResp><!-- string --></tldWhoisResp> <tldActive><!-- boolean --></tldActive> <tldAutoSearch><!-- boolean --></tldAutoSearch> <tldTransferMinimumCycleID><!-- int --></tldTransferMinimumCycleID> <tldMinimumCycleID><!-- int --></tldMinimumCycleID> <tldMaximumCycleID><!-- int --></tldMaximumCycleID> <tldRenewType><!-- int --></tldRenewType> <tldIsTransferable><!-- boolean --></tldIsTransferable> <tldTransferType><!-- int --></tldTransferType> <tldIDNSupport><!-- boolean --></tldIDNSupport> <tldIDNType><!-- int --></tldIDNType> <tldRemoteLockEnabled><!-- boolean --></tldRemoteLockEnabled> </params> </mbapi>
<mbapi> <header> <remoteSessionID><!-- hex --></remoteSessionID> <errorCount><!-- int --></errorCount> <errors> <error> <title><!-- string --></title> <message><!-- string --></message> </error> </errors> <numResults><!-- int --></numResults> <numAffectedRows><!-- int --></numAffectedRows> </header> <results> <TLDs> <TLD> <tldID><!-- int --></tldID> <registrarID><!-- int --></registrarID> <tldExtension><!-- string --></tldExtension> <tldName><!-- string --></tldName> <tldWhoisServer><!-- string --></tldWhoisServer> <tldWhoisResp><!-- string --></tldWhoisResp> <tldActive><!-- boolean --></tldActive> <tldAutoSearch><!-- boolean --></tldAutoSearch> <tldTransferMinimumCycleID><!-- int --></tldTransferMinimumCycleID> <tldMinimumCycleID><!-- int --></tldMinimumCycleID> <tldMaximumCycleID><!-- int --></tldMaximumCycleID> <tldRenewType><!-- int --></tldRenewType> <tldIsTransferable><!-- boolean --></tldIsTransferable> <tldTransferType><!-- int --></tldTransferType> <tldIDNSupport><!-- boolean --></tldIDNSupport> <tldIDNType><!-- int --></tldIDNType> <tldRemoteLockEnabled><!-- boolean --></tldRemoteLockEnabled> <products> <product> <productID><!-- int --></productID> </product> </products> <ghostProducts> <ghostProduct> <productID><!-- int --></productID> </ghostProduct> </ghostProducts> </TLD> </TLDs> </results> </mbapi>
mbapi
MBAPI request document root.
command
Required. The string GetTLDs.
showXMLHeader
Whether to show an XML header in the results.
params
GetTLDs parameters.
tldID
ID of this TLD.
registrarID
The config group ID of this TLD's regisrar.
tldExtension
The extension of this TLD without the leading dot. For example, co.uk or org.
tldName
The name of this TLD.
tldWhoisServer
The hostname of the whois server for this TLD.
tldWhoisResp
The string to search for in the whois response which signifies that a domain is available.
tldActive
Whether this TLD is active.
tldAutoSearch
Whether the order form should automatically check this TLD whenever any domain is queried.
tldTransferMinimumCycleID
ID for the cycle for the minimum duration for a transfer to this TLD.
tldMinimumCycleID
ID for the cycle for the mimimum duration for which a domain of this TLD may be purchased.
tldMaximumCycleID
ID for the cycle for the maximum duration for which a domain of this TLD may be purchased.
tldRenewType
The type of renewal for this TLD.
0: Disabled 1: Renewed by the registrar 2: Renewed by ModernBill tldIsTransferable
Whether this TLD is transferable.
tldTransferType
The type of transfer for this TLD.
0: Code 1: Fax 2: Email 3: Mail tldIDNSupport
Whether IDN is supported by this TLD's registrar.
tldIDNType
The type of IDN supported by this TLD's registrar.
0: Puny Code tldRemoteLockEnabled
Allow this TLD to be locked at the registrar.
mbapi
MBAPI response document root.
header
Contains result meta data: data about the result itself.
remoteSessionID
A session ID that may be used for authentication instead of a remote access hash.
errorCount
The number of errors that occured.
errors
Contains any errors that occured.
error
Contains information relating to a single error. Occurs header errorCount times.
title
The title of the error.
message
The error message.
numResults
The number of results that have been returned. For Get commands.
numAffectedRows
The number of rows that have been affected. For Set commands.
results
Contains any results.
TLDs
Contains all TLD results.
TLD
Contains all results for a single TLD. Occurs header numResults times.
tldID
ID of this TLD.
registrarID
The config group ID of this TLD's regisrar.
tldExtension
The extension of this TLD without the leading dot. For example, co.uk or org.
tldName
The name of this TLD.
tldWhoisServer
The hostname of the whois server for this TLD.
tldWhoisResp
The string to search for in the whois response which signifies that a domain is available.
tldActive
Whether this TLD is active.
tldAutoSearch
Whether the order form should automatically check this TLD whenever any domain is queried.
tldTransferMinimumCycleID
ID for the cycle for the minimum duration for a transfer to this TLD.
tldMinimumCycleID
ID for the cycle for the mimimum duration for which a domain of this TLD may be purchased.
tldMaximumCycleID
ID for the cycle for the maximum duration for which a domain of this TLD may be purchased.
tldRenewType
The type of renewal for this TLD.
0: Disabled 1: Renewed by the registrar 2: Renewed by ModernBill tldIsTransferable
Whether this TLD is transferable.
tldTransferType
The type of transfer for this TLD.
0: Code 1: Fax 2: Email 3: Mail tldIDNSupport
Whether IDN is supported by this TLD's registrar.
tldIDNType
The type of IDN supported by this TLD's registrar.
0: Puny Code tldRemoteLockEnabled
Allow this TLD to be locked at the registrar.
products
Contains data about how products are really related to this TLD.
product
Contains data for a single product that is really related to this TLD. This may occur multiple times.
productID
ID of a product that is really related to this TLD.
ghostProducts
Contains data about how products are imaginarily related to this TLD.
ghostProduct
Contains data for a single product that is really imaginarily to this TLD. This may occur multiple times.
productID
ID of a product that is imaginarily related to this TLD.