Statistics

Calculate Total Transactions

Changed on

Calculate the total transactions and amounts.

get/api/{account}/statistics/total-transactions

Request

  • Base URL
    https://app.onlyfansapi.com
  • URL
    https://app.onlyfansapi.com/api/{account}/statistics/total-transactions
  • Auth
    HTTP bearer

Query parameters

start_datestring

The start date for the period. Keep empty to calculate everything.

Example:2025-01-01 00:00:00
end_datestring

The end date for the period. Keep empty to calculate everything.

Example:2025-03-31 23:59:59

Response

total_transactionsinteger
total_amountnumber

Example response

{
  "total_transactions": 123,
  "total_amount": 123.45
}

Changes

    • info

      the query request parameter end_date became optional

    • info

      the query request parameter start_date became optional