Domain Name API
Get TLD List
API Reference
Domain Name API
- POSTGet Reseller Details
- POSTGet Reseller Balance
- POSTGet TLD List
- POSTSingle Domain Check
- POSTBulk Domain Check
- POSTRegister Domain
- POSTDomain List in a Reseller Account
- POSTGet Registered Domain Details
- POSTGet Domain Contact
- POSTEnable Theft Lock (EPP)
- POSTDisable Theft Lock
- POSTModify Domain Nameserver
- POSTAdd Child Nameserver (Private DNS)
- POSTModify Child Nameserver
- POSTDelete Child Nameserver
- POSTSync Domain From Registry
- POSTTransfer Domain
- POSTCancel Transfer
- POSTModify Privacy (WHOIS)
Server
Auth
Hosting
- GETGet all hosting groups
- POSTCreate a new hosting plan
- DELDelete all hosting groups
- POSTCreate a bulk hosting plan
- GETGet a hosting group by ID
- DELDelete a hosting group by ID
- PATCHupdate a hosting group by id
- GETGet a hosting group by name
- DELDelete a hosting group by name
- POSTCreate a new hosting subgroup
Domain Name API
Get TLD List
POST
/
?action=tldlist
curl --request POST \
--url 'https://domain.hostwithdothost.com/?action=tldlist' \
--header 'Content-Type: application/json' \
--data '{
"username": "yourUsername",
"password": "yourPassword",
"count": 5
}'
{
"data": [
{
"id": 1,
"status": "Active",
"maxchar": 63,
"maxperiod": 10,
"minchar": 2,
"minperiod": 1,
"tld": "com",
"pricing": {
"backorder": {
"1": "48.8500"
},
"refund": {
"1": "11.2900"
},
"restore": {
"1": "85.0000"
},
"transfer": {
"1": "10.5900"
},
"renew": {
"1": "11.4900"
},
"registration": {
"1": "11.2900"
}
},
"currencies": {
"backorder": "USD",
"refund": "USD",
"restore": "USD",
"transfer": "USD",
"renew": "USD",
"registration": "USD"
}
},
{
"id": 2,
"status": "Active",
"maxchar": 63,
"maxperiod": 10,
"minchar": 3,
"minperiod": 1,
"tld": "net",
"pricing": {
"backorder": {
"1": "49.2000"
},
"refund": {
"1": "13.9900"
},
"transfer": {
"1": "13.9900"
},
"renew": {
"1": "13.9900"
},
"restore": {
"1": "85.0000"
},
"registration": {
"1": "13.9900"
}
},
"currencies": {
"backorder": "USD",
"refund": "USD",
"transfer": "USD",
"renew": "USD",
"restore": "USD",
"registration": "USD"
}
}
],
"result": "OK"
}
Response
200
application/json
Was this page helpful?
curl --request POST \
--url 'https://domain.hostwithdothost.com/?action=tldlist' \
--header 'Content-Type: application/json' \
--data '{
"username": "yourUsername",
"password": "yourPassword",
"count": 5
}'
{
"data": [
{
"id": 1,
"status": "Active",
"maxchar": 63,
"maxperiod": 10,
"minchar": 2,
"minperiod": 1,
"tld": "com",
"pricing": {
"backorder": {
"1": "48.8500"
},
"refund": {
"1": "11.2900"
},
"restore": {
"1": "85.0000"
},
"transfer": {
"1": "10.5900"
},
"renew": {
"1": "11.4900"
},
"registration": {
"1": "11.2900"
}
},
"currencies": {
"backorder": "USD",
"refund": "USD",
"restore": "USD",
"transfer": "USD",
"renew": "USD",
"registration": "USD"
}
},
{
"id": 2,
"status": "Active",
"maxchar": 63,
"maxperiod": 10,
"minchar": 3,
"minperiod": 1,
"tld": "net",
"pricing": {
"backorder": {
"1": "49.2000"
},
"refund": {
"1": "13.9900"
},
"transfer": {
"1": "13.9900"
},
"renew": {
"1": "13.9900"
},
"restore": {
"1": "85.0000"
},
"registration": {
"1": "13.9900"
}
},
"currencies": {
"backorder": "USD",
"refund": "USD",
"transfer": "USD",
"renew": "USD",
"restore": "USD",
"registration": "USD"
}
}
],
"result": "OK"
}