The Only API docs
Earnings

Aggregated earnings across all accounts

Server-side earnings aggregation across every account in the panel — OnlyFans and Fansly combined into one normalized response.

GET
/earnings/summary

Server-side earnings aggregation across every account in the panel — OnlyFans and Fansly combined into one normalized response.

The response is cached in memory per (panel, period) with a 2–15 minute TTL depending on the period, and auto-invalidates when an earnings-changing event (new_tip, new_purchase, balance_increased) fires for any account in the panel.

Guide: Earnings & transactions

X-API-Key<token>

Your CRM panel API key

In: header

Query Parameters

period?string
Default"week"

Value in

  • "today"
  • "week"
  • "month"

Response Body

application/json

curl -X GET "https://example.com/earnings/summary"
{  "total": 0,  "prev_total": 0,  "by_category": {    "subscriptions": 0,    "posts": 0,    "messages": 0,    "tips": 0,    "streams": 0,    "referrals": 0  },  "chart": [    0  ],  "accounts_count": 0,  "transactions_counted": 0,  "transactions_capped": true,  "period": "string",  "cached": true,  "cached_age_seconds": 0}