We just released our native n8n integration!ยป Try now
OnlyFans API
Financial

Get Transaction Summary

Get transaction summary including counts for succeeded, refunded, and disputed transactions, plus gross, net, and fee totals.

POST
/api/analytics/financial/transactions/summary
AuthorizationBearer <token>

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

In: header

Request Body

application/json

account_ids*array<string>

Array of account prefixed IDs

start_date*string

The start date (ISO 8601 format)

end_date*string

The end date (ISO 8601 format)

Response Body

application/json

curl -X POST "https://app.onlyfansapi.com/api/analytics/financial/transactions/summary" \  -H "Content-Type: application/json" \  -d '{    "account_ids": [      "acc_abc123",      "acc_def456"    ],    "start_date": "2024-01-01",    "end_date": "2024-12-31"  }'
{
  "succeeded_count": 150,
  "refunded_count": 5,
  "disputed_count": 2,
  "total_gross": 20000,
  "total_net": 16000,
  "total_fees": 4000
}