> ## 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.

# Balance

> Available (spendable) token balance for a customer

<span style={{display:"none"}}>For the complete documentation index, see [llms.txt](/llms.txt).</span>

Returns the customer's spendable token balance. Excludes any tokens currently staked or held in an unvested grant.

### Query Parameters

<ParamField query="customer_ref" type="string" required>
  Your unique identifier for this customer
</ParamField>

### Response

<ResponseField name="balance" type="string">
  Balance as a plain decimal string (e.g. `"50.0"` = 50 tokens)
</ResponseField>

```javascript theme={null}
const res = await fetch(
  "https://tokens.shakesco.com/balance?customer_ref=customer-123",
  { headers: { Authorization: `Bearer ${API_KEY}` } }
);
const { balance } = await res.json();
```

<ResponseExample>
  ```json 200 OK theme={null}
  { "balance": "50.0" }
  ```
</ResponseExample>
