API Queries - Check Balance
The balance API function returns your current Above.com account balance in US dollars. You should ensure your account balance is adequate before registering or renewing any domains. If you have saved a credit card on file, you can use the Add Funds function to top up your account.
Additional Parameters
There are no additional parameters required for this function. Your API key is required and all values should be correctly URL encoded.
Example
This example will return a current Above.com account balance.
Query
https://www.above.com/registrar/api/query.html?key=APIKEY&query=balance
Response
<results code="100"> <balance>351.60</balance> </results>
Error Codes
Possible error responses for this function are:
- General errors, such as 401 - Invalid API key or 500 - System unavailable.