Function   /domain/list/count

Function invocation

https://json.aftermarket.pl/domain/list/count

Function description

It returns the number of domains on user account.

Input parameters

This function takes the following input parameters:

ParameterTypeRequiredDefault valueDescription
hidden integer 0 Show only hidden domains (0 - all, 1 - only hidden domains, 2 - only visible domains)
name string "" String to search within domain names
expiring integer 0 Show expiring (0 - all, 1 - not expiring domains, 2 - expiring domains) (deprecated, please use 'expires' parameter)
expires integer 0 Show expiring domains (0 - all, 1 - only expiring domains, 2 - only not expiring domains)
group integer 0 Show only domain groups (0 - all, 1 - only groups of domains, 2 - only not grouped domains)
leased integer 0 Show only domains which you are selling in installment transaction or lending in lease transaction (0 - all, 1 - only domain which you are selling in installment or lending, 2 - only domain which you are not selling in installment or lending)
borrowed integer 0 Show only domains which you are buying in installment transaction or borrowing in lease transaction (0 - all, 1 - only domain which you are buying in installment or borrowing, 2 - only domain which you are not buying in installment or borrowing)
type integer 0 Domain type (one of DOMAINS_TYPE_*, 0 - all domains and groups, 1 - only internal domains, 2 - only external domains) (deprecated and unused, please use 'group' parameter)

Return value

The number of domains (integer value).