Analytics - Summary

Get Historical Performance

Changed on

Get monthly historical earnings for unrestricted accounts accessible to the API key. Limited link scopes do not grant account-wide analytics access.

post/api/analytics/summary/historical

Request

  • Base URL
    https://app.onlyfansapi.com
  • URL
    https://app.onlyfansapi.com/api/analytics/summary/historical
  • Auth
    HTTP bearer

Request body

time_range'3m' | '6m' | '12m' | 'ytd' | 'last-year'

The time range for historical data

Example request

{
  "time_range": "12m"
}

Response

periodstring
valuenumber

Example response

[
  {
    "period": "2024-01",
    "value": 5000
  },
  {
    "period": "2024-02",
    "value": 5500
  }
]

Changes