Skip to main content
GET
/
balance
Balance
curl --request GET \
  --url https://tokens.shakesco.com/balance \
  --header 'Authorization: Bearer <token>'
{ "balance": "50.0" }

Documentation Index

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

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

For the complete documentation index, see llms.txt. Returns the customer’s spendable token balance. Excludes any tokens currently staked or held in an unvested grant.

Query Parameters

customer_ref
string
required
Your unique identifier for this customer

Response

balance
string
Balance as a plain decimal string (e.g. "50.0" = 50 tokens)
const res = await fetch(
  "https://tokens.shakesco.com/balance?customer_ref=customer-123",
  { headers: { Authorization: `Bearer ${API_KEY}` } }
);
const { balance } = await res.json();
{ "balance": "50.0" }