API Queries - Check Pricing
The pricing API function retreives a list of available TLDs and their pricing for registration, renewal, transfer and for restore if applicable. If restore is not available for a TLD, the price value will be N/A.
Additional Parameters
There are no additional parameters required for this function; pricing for all TLDs is returned. Your API key is required and all values should be correctly URL encoded.
Example
This example returns a list of all TLDs available and their pricing. Note: The response has been truncated for this example and prices should not be taken as current or accurate.
Query
https://www.above.com/registrar/api/query.html?key=APIKEY&query=pricing
Response
<results code="100"> <r tld="biz"> <register>9.95</register> <renew>9.95</renew> <transfer>9.95</transfer> <restore>100.00</restore> </r> <r tld="de"> <register>9.95</register> <renew>9.95</renew> <transfer>9.95</transfer> <restore>N/A</restore> </r> <r tld="co.uk"> <register>12.95</register> <renew>12.95</renew> <transfer>12.95</transfer> <restore>100.00</restore> </r> <r tld="net"> <register>9.95</register> <renew>9.95</renew> <transfer>9.95</transfer> <restore>110.00</restore> </r> </results>
Error Codes
Possible error responses for this function are:
- General errors, such as 401 - Invalid API key or 500 - System unavailable.