Module "util"

Description

SOAP WSDL

Available methods

Details

int domain_available

Check the availability of a domain.

This method should also work on TLD's that are not activated
in your account.

Parameters

  • string $domain The domain name to check
  • string $tld The TLD under which the domain name should be checked

Returns

  • int $valid 1 or 0, 1 is true, 0 is false

array domain_available_and_sellable

Check the availability of a domain and if you can sell this domain.

Parameters

  • string $domain The domain name to check
  • string $tld The TLD under which the domain name should be checked

Returns

  • array Array containing available and sellable as keys, and 1 and 0 as values

array domain_information

Get some general information about a domain name. This can be
used to test for functionality that is available for a certain
domain, such as locks and AuthCodes.

Parameters

  • string $domain The domain name to check
  • string $tld The TLD under which the domain name should be checked

Returns

  • array Array containing 'lockable', 'locked', 'requires_authcode', 'available', 'sellable', 'registration_price', 'reactivate_price', 'transfer_price', 'trade_price', 'extend_price' and 1 or 0 as value

int domain_sellable

Check if a TLD is sellable or not. A user can submit any
domain, use this method to check it you can provide it.

Parameters

  • string $domain The domain name to check
  • string $tld The TLD under which the domain name should be checked

Returns

  • int $valid 1 or 0, 1 is true, 0 is false