Earnings
List All Earnings
Returns the account's per-transaction earnings feed across all revenue streams combined — subscriptions, tips, PPV post purchases, paid messages, stream earnings. One row per payment. Filter to a single stream with type; narrow tips to a single surface with tips_source. Requires permission api_earnings_list.
https://public-api.buffmetrics.comAuthorization
defaultAuthorizationBearer <token>Send your FansMetric API key as a Bearer token in the Authorization header.
In: header
Path Parameters
account_id*integerOnlyFans numeric account ID.
Query Parameters
start_datestringLower bound on
createdAt. Default 2 years ago, UTC. FormatYYYY-MM-DD HH:MM:SSor ISO 8601 (Tis normalized to a space).end_datestringOptional upper bound on
createdAt. Same format asstart_date.markerstringPagination cursor (unix seconds). Omit on the first page; pass the previous response's
nextMarkerfor subsequent pages.typestringRevenue-stream filter. Values:
subscribes,tips,post,chat_messages,stream. Omit for everything.tips_sourcestringOnly meaningful when
type=tips. Narrows to a single surface. Values:profile,post_all,chat,stream,story. Forwarded upstream astipsSource.
curl --request GET "https://public-api.buffmetrics.com/v1/acct_XXXXX/earnings?start_date=sample_start_date&end_date=sample_end_date&marker=sample_marker" \
--header "Authorization: Bearer YOUR_API_KEY"Response
200