Analytics
Compare Periods
Compare earnings and activity between two date ranges. current is startDate–endDate; previous is compareStartDate–compareEndDate.
https://v1.onlyfansapi.io
POST
/api/analytics/summary/comparison
Headers
x-api-key*
stringYour API key. See Authentication.
Body Parameters
accountId*
stringThe connected account to report on, as returned by Authenticate Account.
startDate ?
stringStart of the range, UTC.
YYYY-MM-DD, YYYY-MM-DD HH:MM:SS or ISO 8601. Defaults to 30 days before endDate.endDate ?
stringEnd of the range, UTC. A bare date covers the whole day. Defaults to now.
compareStartDate*
stringStart of the period to compare against, UTC.
compareEndDate*
stringEnd of the period to compare against, UTC.