Skip to main content

available

Creates, updates, deletes, gets or lists an available resource.

Overview

Nameavailable
TypeResource
Idgodaddy.domains.available

Fields

The following fields are returned by SELECT queries:

Request was successful

NameDatatypeDescription
availablebooleanWhether or not the domain name is available
currencystring (iso-currency-code)Currency in which the price is listed. Only returned if tld is offered (default: USD)
definitivebooleanWhether or not the available answer has been definitively verified with the registry
domainstringDomain name
periodinteger (integer-positive)Number of years included in the price. Only returned if tld is offered
priceinteger (currency-micro-unit)Price of the domain excluding taxes or fees. Only returned if tld is offered

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
availableselectdomaincheckType, forTransferDetermine whether or not the specified domain is available for purchase
available_bulkexeccheckTypeDetermine whether or not the specified domains are available for purchase

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
domainstringDomain name whose availability is to be checked
checkTypestringOptimize for time ('FAST') or accuracy ('FULL')
forTransferbooleanWhether or not to include domains available for transfer. If set to True, checkType is ignored

SELECT examples

Determine whether or not the specified domain is available for purchase

SELECT
available,
currency,
definitive,
domain,
period,
price
FROM godaddy.domains.available
WHERE domain = '{{ domain }}' -- required
AND checkType = '{{ checkType }}'
AND forTransfer = '{{ forTransfer }}'
;

Lifecycle Methods

Determine whether or not the specified domains are available for purchase

EXEC godaddy.domains.available.available_bulk 
@checkType='{{ checkType }}'
;