Skip to main content
GET
/
user-info
User Info
curl --request GET \
  --url https://tokens.shakesco.com/user-info \
  --header 'Authorization: Bearer <token>'
{
  "available_balance": "50.0",
  "each_token_value": "10.0",
  "each_token_value_in_business": "9.0",
  "total_staked": "100.0",
  "total_vested": "0.0",
  "total_earned": "200.0",
  "total_spent": "50.0",
  "tier": "Bronze",
  "voting_power": "5"
}

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 balance, lifetime earnings/spending, total staked, total vested, current tier, and voting power in one response. Useful for rendering a customer dashboard without making multiple calls.

Query Parameters

customer_ref
string
required
Your unique identifier for this customer

Response

available_balance
string
Spendable balance (excludes staked and unvested tokens)
each_token_value
string
Configured value of one token in your chosen currency
each_token_value_in_business
string
Discounted token value when spent at your business
total_staked
string
Tokens locked across all active stakes
total_vested
string
Tokens currently held in an unclaimed vesting grant
total_earned
string
Lifetime tokens earned (all sources)
total_spent
string
Lifetime tokens redeemed
tier
string
Current tier label, one of "None", "Bronze", "Silver", "Gold"
voting_power
string
Number of votes this customer has based on their available balance
const res = await fetch(
  "https://tokens.shakesco.com/user-info?customer_ref=customer-123",
  { headers: { Authorization: `Bearer ${API_KEY}` } }
);
const info = await res.json();
{
  "available_balance": "50.0",
  "each_token_value": "10.0",
  "each_token_value_in_business": "9.0",
  "total_staked": "100.0",
  "total_vested": "0.0",
  "total_earned": "200.0",
  "total_spent": "50.0",
  "tier": "Bronze",
  "voting_power": "5"
}