We just released our native n8n integration!» Try now
OnlyFans API
Statistics

Calculate Total Transactions

Calculate the total transactions and amounts.

GET
/api/{account}/statistics/total-transactions
AuthorizationBearer <token>

Get your API Key from OnlyFansAPI Console - https://app.onlyfansapi.com/api-keys

In: header

Path Parameters

accountstring

The Account ID

Query Parameters

start_datestring

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

end_datestring

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

Response Body

curl -X GET "https://app.onlyfansapi.com/api/string/statistics/total-transactions?start_date=2025-01-01+00%3A00%3A00&end_date=2025-03-31+23%3A59%3A59"
{
  "total_transactions": 123,
  "total_amount": 123.45
}