Analytics - Financial

Get Profitability

Changed on

Calculate profitability for creators including revenue, costs, commissions, and margins for a specific month.

post/api/analytics/financial/profitability

Request

  • Base URL
    https://app.onlyfansapi.com
  • URL
    https://app.onlyfansapi.com/api/analytics/financial/profitability
  • Auth
    HTTP bearer

Request body

account_idsstring[] required

Array of account prefixed IDs

yearinteger required

The year to calculate profitability for

monthinteger required

The month to calculate profitability for (1-12)

Example request

{
  "account_ids": [
    "acc_abc123",
    "acc_def456"
  ],
  "year": 2024,
  "month": 6
}

Response

Example response

{
  "data": [
    {
      "onlyFansUserId": 12345,
      "creatorName": "Creator Name",
      "year": 2024,
      "month": 6,
      "projectedNet": "10000.00",
      "commissionRate": "20.00",
      "commissionAmount": "2000.00",
      "costs": [],
      "totalCosts": "500.00",
      "agencyEarnings": "2000.00",
      "profit": "1500.00",
      "marginPercentage": "75.00",
      "hasCommissionForPeriod": true,
      "hasCostsForPeriod": true,
      "activeMilestones": null,
      "referralNote": null,
      "ratePeriods": []
    }
  ]
}

Changes