curl --request GET \
--url https://app.onlyfansapi.com/api/{account}/payouts/balances \
--header 'Authorization: Bearer <token>'
{
"data": {
"payoutAvailable": 123.45,
"payoutPending": 123.45,
"currency": "USD",
"minPayoutSumm": 20,
"maxPayoutSumm": 213.45,
"withdrawalPeriodOptions": [
{
"code": "manual",
"name": "Manual payouts"
},
{
"code": "weekly",
"name": "Weekly payouts"
},
{
"code": "monthly",
"name": "Monthly payouts"
}
],
"manualPayoutPendingDays": 7,
"withdrawalPeriod": "manual"
},
"_meta": {
"_credits": {
"used": 1,
"balance": 25661,
"note": "Always"
},
"_cache": {
"is_cached": false,
"note": "Cache disabled for this endpoint"
},
"_rate_limits": {
"limit_minute": 1000,
"limit_day": 5000,
"remaining_minute": 999,
"remaining_day": 4994
}
}
}
Get the current available and pending balances for the account.
curl --request GET \
--url https://app.onlyfansapi.com/api/{account}/payouts/balances \
--header 'Authorization: Bearer <token>'
{
"data": {
"payoutAvailable": 123.45,
"payoutPending": 123.45,
"currency": "USD",
"minPayoutSumm": 20,
"maxPayoutSumm": 213.45,
"withdrawalPeriodOptions": [
{
"code": "manual",
"name": "Manual payouts"
},
{
"code": "weekly",
"name": "Weekly payouts"
},
{
"code": "monthly",
"name": "Monthly payouts"
}
],
"manualPayoutPendingDays": 7,
"withdrawalPeriod": "manual"
},
"_meta": {
"_credits": {
"used": 1,
"balance": 25661,
"note": "Always"
},
"_cache": {
"is_cached": false,
"note": "Cache disabled for this endpoint"
},
"_rate_limits": {
"limit_minute": 1000,
"limit_day": 5000,
"remaining_minute": 999,
"remaining_day": 4994
}
}
}
You can retrieve your token by visiting the OnlyFansAPI Console and clicking API Keys -> Create API Key.
The Account ID
The response is of type object
.