Skip to main content
GET
/
api
/
partner
/
products
/
{slug}
/
yield-calc
Yield calculator (project annual / monthly yield for a principal)
curl --request GET \
  --url https://api.barker.money/api/partner/products/{slug}/yield-calc \
  --header 'X-Api-Key: <api-key>'
{
  "success": true,
  "data": {
    "principal": "10000.0",
    "annual_yield": "490.00",
    "monthly_yield": "40.83",
    "net_apy_for_user": "0.0490"
  }
}

Authorizations

X-Api-Key
string
header
required

Path Parameters

slug
string
required

Query Parameters

amount
string
required

Principal amount in asset units (e.g. 10000 for $10,000 USDC)

Response

OK

success
boolean
data
object