OnlyFans API DocumentationOnlyFans API
Analytics

Get Earnings Overview

Get earnings by type plus an overview of posts, streams, calls, visitors and mass messages in a date range.

https://v1.onlyfansapi.io
POST
/api/analytics/summary/earnings

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.