Skip to main content
GET
/
core
/
v1
/
accountinfo
/
balance
Check Account Balance
curl --request GET \
  --url https://api.dev.name.com/core/v1/accountinfo/balance \
  --header 'Authorization: Basic <encoded-value>'
{
  "balance": 103.35
}

Documentation Index

Fetch the complete documentation index at: https://docs.name.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Authenticate via HTTP Basic with your account username and API token. Examples use an explicit 'Authorization: Basic <base64(username:token)>' header; 'curl -u username:token' is equivalent. For sandbox, append "-test" to your username and use your sandbox token on api.dev.name.com.

Response

A successful response.

balance
number<double>
required

Balance is the current account balance in USD.

Example:

103.35