API Reference
Balance

Balance

The Daffy API let's you get information about your fund's balance.

⚠️

You can only get information and balance from your own fund, not others.

Get Balance

Resource

GET    /v1/users/me/balance

Sample Response

{
  "amount": 75.55232755,
  "pending_deposit_balance": 0,
  "portfolio_balance": 75.55232755,
  "available_balance": 75.55232755
}

Response Reference

NameTypeDescription
amountnumberTotal fund amount
pending_deposit_balancenumbermoney deposited but not yet accounted
portfolio_balancenumbermoney invested on your portfolio
available_balancenumbermoney available for donations

Sample Request

curl "https://public.daffy.org/v1/users/me/balance" -H 'X-Api-Key: <YOUR KEY HERE>'