DomainLookup
Count the domains that have their own DNS zone
This function counts the cPanel account's base domains: the primary domain, its addon domains and its parked domains.
Note:
The count excludes temporary domains, and matches the number of entries that the DomainLookup::getbasedomains function returns by default.
get/DomainLookup/countbasedomains
Response
HTTP Request was successful.
Example response
{
"data": [
{
"count": 3
}
],
"status": 1
}