OnlyFans API icon

OnlyFans API

Consume the OnlyFans API

Actions147

Statistics → Get Earnings

AI-generated

Summary

Retrieve earnings data for a specified OnlyFans account within a given date range, optionally filtered by earnings type.

Inputs

  • Account ID (required) — The ID of the OnlyFans account to retrieve earnings for.
  • The Start Date for the Period (required) — The start timestamp for the earnings period (format: YYYY-MM-DD HH:mm:ss).
  • End Date — The end timestamp for the earnings period (format: YYYY-MM-DD HH:mm:ss).
  • Type — Filter earnings by category: all, subscriptions, tips, posts, messages, or streams. Defaults to 'total'.

Output shape

a list of earnings records in JSON format

The output includes earnings data matching the specified account and date parameters. If multiple items are input, output contains multiple earnings entries each paired with the corresponding input item. Errors are returned in JSON objects with an 'error' property when failures occur and 'Continue On Fail' is enabled.

Discussion