OnlyFans API DocumentationOnlyFans API
Analytics

Get Earnings by Type

Get earnings in a date range split by type (subscribes, tips, chat_messages, post, stream), with daily count and amount charts. total covers all types.

https://v1.onlyfansapi.io
POST
/api/analytics/financial/transactions/by-type

Headers

x-api-key*
string
Your API key. See Authentication.

Body Parameters

accountId*
string
The connected account to report on, as returned by Authenticate Account.
startDate ?
string
Start of the range, UTC. YYYY-MM-DD, YYYY-MM-DD HH:MM:SS or ISO 8601. Defaults to 30 days before endDate.
endDate ?
string
End of the range, UTC. A bare date covers the whole day. Defaults to now.