curl --request POST \
--url 'https://domain.hostwithdothost.com/?action=bulkcheckavailability' \
--header 'Content-Type: application/json' \
--data '{
"username": "your_username",
"password": "your_password",
"domains": [
"example1.com",
"example2.net"
]
}'
{
"status": "success",
"availability": {
"heylomol.com": [
{
"TLD": "com",
"DomainName": "heylomol",
"Status": "available",
"Command": "create",
"Period": 1,
"IsFee": false,
"Price": "11.2900",
"Currency": "USD",
"Reason": null
}
],
"tayad.net": [
{
"TLD": "net",
"DomainName": "tayad",
"Status": "available",
"Command": "create",
"Period": 1,
"IsFee": false,
"Price": "13.9900",
"Currency": "USD",
"Reason": null
}
]
}
}
curl --request POST \
--url 'https://domain.hostwithdothost.com/?action=bulkcheckavailability' \
--header 'Content-Type: application/json' \
--data '{
"username": "your_username",
"password": "your_password",
"domains": [
"example1.com",
"example2.net"
]
}'
{
"status": "success",
"availability": {
"heylomol.com": [
{
"TLD": "com",
"DomainName": "heylomol",
"Status": "available",
"Command": "create",
"Period": 1,
"IsFee": false,
"Price": "11.2900",
"Currency": "USD",
"Reason": null
}
],
"tayad.net": [
{
"TLD": "net",
"DomainName": "tayad",
"Status": "available",
"Command": "create",
"Period": 1,
"IsFee": false,
"Price": "13.9900",
"Currency": "USD",
"Reason": null
}
]
}
}
The response is of type object
.
Was this page helpful?