Referral balance + chart
Referral money summary in one response, fanned out to two OnlyFans endpoints (still one quota call).
Referral money summary in one response, fanned out to two OnlyFans endpoints (still one quota call).
balance and chart hold the raw upstream bodies — no field mapping. The two documentation sources disagree about the chart body, and the balance endpoint appears in no capture at all, so mapping fields would fabricate a contract.
Partial failure is tolerated: a source that fails comes back null and sources records its status. If both fail, the route returns the upstream status with success: false — an expired session must not be indistinguishable from "no referral earnings".
OnlyFans only — Fansly returns 501.
Guide: Earnings & transactions
Authorization
apiKey Your CRM panel API key
In: header
Path Parameters
Creator account ID of the connected account (OnlyFans or Fansly). Use GET /accounts to list connected accounts and their IDs.
Query Parameters
Chart range start (forwarded to the chart call)
Chart range end
Include totals. Defaults to the value the OnlyFans web client sends.
"1"Include the chart series. Defaults to the value the OnlyFans web client sends.
"true"Chart filter; forwarded verbatim when supplied.
Header Parameters
Proxy URL — HTTP or SOCKS5 (e.g. http://user:pass@host:port or socks5://user:pass@host:port). Optional on post-connection routes, where it overrides the proxy saved at login time. Required on the connection routes (POST /accounts/login, POST /accounts/login/cookies, POST /accounts/login/verify-otp) for OnlyFans accounts; optional for Fansly.
Response Body
application/json
curl -X GET "https://example.com/accounts/string/referrals/earnings"{ "success": true, "balance": null, "chart": null, "sources": { "balance": { "ok": true, "status": 0 }, "chart": { "ok": true, "status": 0 } }}