Skip to main content
GET
/
api
/
private
/
balances
/
{asset}
/
Get Asset Balance
curl --request GET \
  --url https://app.digitalsurge.com.au/api/private/balances/{asset}/ \
  --header 'Authorization: Bearer <token>'
{
  "total": "<string>"
}

Authorizations

Authorization
string
header
required

Personal API key, created in the Digital Surge app under Account Settings → API Keys. Send it with every request as Authorization: Bearer <your-api-key>.

Path Parameters

asset
string
required
Pattern: ^\w{1,10}$

Response

200 - application/json
total
string<decimal>
required