Function   /domain/price/get

Function invocation

Function description

Returns domain price.

Input parameters

This function takes the following input parameters:

ParameterTypeRequiredDefault valueDescription
domain string "" Domain name to register (deprecated, please use 'name' parameter)
name string YES Domain name to register
type string YES Type of operation (one of register, renew, renewfuture, restore, option, transfer, trade)

Return value

Domain price get result (structure with the following fields):

Field nameTypeDescription
amount float Domain price
currency string Domain price currency
myAmount float Domain price in member account currency
myCurrency string Member's currency