Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.onlyfanskit.dev/llms.txt

Use this file to discover all available pages before exploring further.

Earnings and payout endpoints are creator-only. Calling them from a fan account returns 403.

Earnings

const balances = await of.earnings.balances();
const chart = await of.earnings.chart({
  startDate: "2026-01-01",
  endDate: "2026-04-30",
});
const txs = await of.earnings.listTransactions({ limit: 100 });
The earnings resource is the analytics hub — it also exposes top-posts, top-fans, top-stories, top-streams, top-messages, a fans-activity feed, and per-post / per-story stats.
Want toCall
Current balancesearnings.balances()
Revenue over a rangeearnings.chart({ startDate, endDate })
Transaction ledgerearnings.listTransactions({ limit })
Best-performing postsearnings.topPosts(...)
Highest-value fansearnings.topFans(...)
Today’s activity widgetearnings.todayActivity()

Payments & payouts

  • payments — cards on file, transactions, withdraw, 3DS config, alternative methods.
  • payouts — bank / Stripe balances and requests, DAC7, W-9, VAT documents, monthly invoices.
  • chargebacks — inbound chargeback list.

Bulk export

For large pulls, use the async export workflow:
const job = await of.dataExports.create({ /* ... */ });
const done = await of.dataExports.waitForCompletion(job.id);
dataExports covers create / get / list / cancel / start, plus a waitForCompletion(id) helper that polls until the export is ready.