Referrals

Get Referral Payouts Chart

Returns the referral-commission timeseries that backs the OnlyFans Statements → Referrals page — one $ series (chartAmount), one payout-count series (chartCount), net + gross totals, and OF's percent-change delta vs the previous equal-length window. Bucket granularity (daily vs monthly) is chosen by OnlyFans based on window length. Requires permission api_referrals_read_chart.

https://public-api.fansmetric.com
GET/v1/{account_id}/referrals/payouts/chart
Bearer

Authorization

default
AuthorizationBearer <token>

Send your FansMetric API key as a Bearer token in the Authorization header.

In: header

Path Parameters

  • account_id*integer

    OnlyFans numeric account ID.

Query Parameters

  • start_datestring

    Window start. Default 2 years ago, UTC. YYYY-MM-DD HH:MM:SS or ISO 8601 (the T separator is normalized to a space).

  • end_datestring

    Window end. Default end of today, UTC. Same format as start_date.

Response Fields

  • data.chartAmount[]array

    One bucket per period in the window. date is midnight UTC ISO 8601 at the bucket start; count is the net referral commission $ in that bucket (after platform fees), in the account's payout currency.

  • data.chartCount[]array

    Same bucket alignment as chartAmount. count is the number of referral payouts in that bucket.

  • data.totalnumber

    Net referral commissions over the window — sum of chartAmount[].count.

  • data.grossnumber

    Gross referral commissions over the window (before platform fees).

  • data.deltanumber

    OF-computed change vs the immediately preceding equal-length window. Reported as a whole-number percent and saturates at 100 (treat ≥100 as "at least doubled").

  • dataobject | array

    Endpoint-specific payload. See the fields below for this route.

  • _meta._credits.usedinteger

    Credits consumed by this request (currently always 1).

  • _meta._rate_limits.limit_minuteinteger

    Maximum requests per minute for the organization.

  • _meta._rate_limits.remaining_minuteinteger

    Remaining requests in the current minute window.

  • _meta._rate_limits.limit_dayinteger

    Maximum requests per day for the organization.

  • _meta._rate_limits.remaining_dayinteger

    Remaining requests in the current day window.

curl --request GET "https://public-api.fansmetric.com/v1/100000001/referrals/payouts/chart?start_date=2026-01-01%2000%3A00%3A00&end_date=2026-01-31%2023%3A59%3A59" \
  --header "Authorization: Bearer YOUR_API_KEY"

Response

200
{
"data":{
"chartAmount":[
0:{
"date":"2025-09-01T00:00:00+00:00"
"count":0
}
1:{
"date":"2025-10-01T00:00:00+00:00"
"count":482.31
}
]
"chartCount":[
0:{
"date":"2025-09-01T00:00:00+00:00"
"count":0
}
1:{
"date":"2025-10-01T00:00:00+00:00"
"count":3
}
]
"total":4458.86
"gross":5573.58
"delta":100
}
"_meta":{
"_credits":{
"used":1
}
"_rate_limits":{
"limit_minute":1000
"remaining_minute":999
"limit_day":50000
"remaining_day":49999
}
}
}