links.cohort_arps: Revenue per subscriber of each cohort of fans that came through a link.
GET /v2/accounts/{accountId}/links/{linkId}/cohort-arps · MCP tool links_cohort_arps · Tracking and trial links
What it does
Revenue per subscriber of each cohort of fans that came through a link.
When to use it
For one tracking link, free trial link or promotion of an account: the fans VENUZ attributes to it, grouped by the week or month they entered, and for each group how many entered, how many spent, how much they have spent so far and the average per subscriber (net and gross). Revenue is what those fans have spent to date, not within a fixed number of days after entering. Money is only given when VENUZ is sure enough of the attribution (exact or matched). It reads the copy VENUZ keeps, costs no OnlyFans calls and never changes anything.
Permission and cost
| Permission | links:read |
| Effect | Read only: it never changes anything. |
| Cost class | heavy — costs 2 units (large query) |
| Scope | One account the key can use. |
| Period | At most 731 days per request (x-venuz-max-window-days). |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
accountId | path | string (uuid) | yes | Id of the account, from accounts.list or api.whoami. |
linkId | path | string | yes | OnlyFans id of the tracking link, trial link or promotion (digits). |
type | query | one of "campaign", "trial", "promotion" | yes | Kind of link: campaign (tracking link), trial (free trial link) or promotion. |
period | query | one of "week", "month", default "month" | no | Size of each cohort: UTC weeks starting on Monday, or UTC calendar months. |
date_from | query | string | no | First UTC day fans entered, YYYY-MM-DD, inclusive. Send it together with date_to; omit both for the last 365 days. |
date_to | query | string | no | Last UTC day fans entered, YYYY-MM-DD, inclusive. At most 731 days after date_from. |
Example request (test mode)
With a test key in VENUZ_API_KEY (export VENUZ_API_KEY=vzk_test_…), this request changes nothing: test keys answer from a sample dataset.
curl -X GET "https://open.venuz.ai/v2/accounts/3a9e1c7b-2d4f-4b8a-9c6e-1f0d2b3a4c5e/links/<link_id>/cohort-arps?type=campaign" \
-H "Authorization: Bearer $VENUZ_API_KEY"
Example response (200)
{
"account": {
"id": "3a9e1c7b-2d4f-4b8a-9c6e-1f0d2b3a4c5e",
"name": "Sample Creator",
"connection": {
"state": "connected",
"last_connected_at": "2026-09-28T12:00:00.000Z"
}
},
"data": {
"link": {
"id": "1234567",
"type": "campaign",
"name": "Instagram bio",
"created_at": "2026-07-01T10:00:00.000Z"
},
"period": "month",
"date_from": "2026-08-01",
"date_to": "2026-09-28",
"attribution": {
"enabled": true,
"confidence": "exact"
},
"cohorts": [
{
"starts_at": "2026-08-01T00:00:00.000Z",
"ends_at": "2026-09-01T00:00:00.000Z",
"subscribers": 40,
"fans_who_spent": 10,
"revenue_net_usd": 320,
"revenue_gross_usd": 400,
"arps_net_usd": 8,
"arps_gross_usd": 10
},
{
"starts_at": "2026-09-01T00:00:00.000Z",
"ends_at": "2026-09-29T00:00:00.000Z",
"subscribers": 25,
"fans_who_spent": 4,
"revenue_net_usd": 80,
"revenue_gross_usd": 100,
"arps_net_usd": 3.2,
"arps_gross_usd": 4
}
],
"subscribers_without_date": 0
},
"source": "store",
"synced_at": "2026-09-28T12:00:00.000Z"
}
Response fields
| Field | Type | Required | Description |
|---|---|---|---|
account | object | yes | The OnlyFans account this data belongs to, with its connection state. |
account.id | string (uuid) | yes | |
account.name | string | yes | Display name of the account in VENUZ, set by the agency. |
account.connection | object | yes | |
account.connection.state | one of "connected", "connecting", "disconnected" | yes | Connection state of the OnlyFans account in VENUZ, from our stored record. Some accounts not yet moved to the new connection may read disconnected here; checks on the account are not available for them yet. |
account.connection.last_connected_at | string (date-time), or null | yes | When VENUZ last saw the account connected. Null if never. |
data | object | yes | |
data.link | object | yes | |
data.link.id | string | yes | OnlyFans id of the link (assigned by OnlyFans). |
data.link.type | one of "campaign", "trial", "promotion" | yes | |
data.link.name | string, or null | yes | Name the creator gave the link on OnlyFans. |
data.link.created_at | string (date-time), or null | yes | |
data.period | one of "week", "month" | yes | |
data.date_from | string | yes | |
data.date_to | string | yes | |
data.attribution | object | yes | |
data.attribution.enabled | boolean | yes | VENUZ attributes fans to links for this agency. When false, every cohort is empty and confidence is unknown. |
data.attribution.confidence | one of "exact", "matched", "unknown" | yes | How sure VENUZ is that these fans came from this link: exact, matched or unknown. Money is only given for exact or matched. |
data.cohorts | array of object | yes | One entry per week or month of the range, oldest first. Bounded by the range: never paginated. |
data.cohorts[].starts_at | string (date-time) | yes | First instant of the cohort (inclusive), cut to the requested range. |
data.cohorts[].ends_at | string (date-time) | yes | End of the cohort (exclusive), cut to the requested range. |
data.cohorts[].subscribers | integer, at least 0 | yes | Fans VENUZ attributes to the link who entered in this period. |
data.cohorts[].fans_who_spent | integer, at least 0, or null | yes | |
data.cohorts[].revenue_net_usd | number, at least 0, or null | yes | What those fans have spent on the account so far, after the OnlyFans fee. Null when attribution is unknown. |
data.cohorts[].revenue_gross_usd | number, at least 0, or null | yes | The same, before the OnlyFans fee. |
data.cohorts[].arps_net_usd | number, at least 0, or null | yes | Average revenue per subscriber of the cohort: revenue_net_usd / subscribers. Null when attribution is unknown or the cohort is empty. |
data.cohorts[].arps_gross_usd | number, at least 0, or null | yes | |
data.subscribers_without_date | integer, at least 0 | yes | Fans attributed to the link whose entry date VENUZ does not know (they joined before VENUZ watched the account). They are in no cohort. |
source | one of "store", "onlyfans" | yes | store: read from the copy VENUZ keeps (fast, no load on the OnlyFans account). onlyfans: a live check on the account during this call. |
synced_at | string (date-time) | yes | When this data was true. For source=store it is when VENUZ last updated its copy (or read it, if the record carries no update time); for source=onlyfans it is the moment OnlyFans answered. |
Errors and what to do
Every error is { "error", "message", "fix", "docs_url", "request_id" }. Branch on error; do what fix says.
| Error | HTTP | What to do |
|---|---|---|
invalid_request | 400 | Check type, period and the dates: date_from and date_to together (YYYY-MM-DD, from not after to, at most 731 days apart). |
invalid_request | 400 | Correct the request, then retry. When details.invalid_fields is present, each entry names a field and what it needs (its message); when details.reason is present, it says what is wrong. The parameters and body of every operation are in the specification. |
invalid_api_key | 401 | Send a valid key as "Authorization: Bearer vzk_live_..." (or vzk_test_...). If you lost the key, ask the agency to create a new one. |
api_key_expired | 401 | Ask the agency to rotate the key or create a new one. Keys last at most 366 days. |
api_key_revoked | 401 | Stop using this key. Ask the agency for a new one if you still need access. |
account_not_allowed | 403 | The account in the path is not one this key can use. Call GET /v2/whoami to see the accounts of the key. |
api_key_suspended | 403 | If details.reason is creator_withdrawn, ask the agency owner to create a new key from an active member of the team. If it is suspended_by_venuz, contact VENUZ support: the same key works again as soon as the suspension is lifted, so do not delete it. |
agency_inactive | 403 | The agency's VENUZ account is suspended or closed; access resumes when it is active again. Do not delete the key. |
api_not_enabled | 403 | Ask VENUZ support to enable API access for the agency. Keep the key: it works as soon as access is enabled. |
ip_not_allowed | 403 | Send the request from one of the addresses allowed on the key, or ask the agency to update the allowed addresses. |
insufficient_scope | 403 | Call GET /v2/whoami to see what this key can do. Ask the agency to grant the missing permission (listed in details.missing_scopes) or to use a key that has it. If details.withheld_by_creator is true, the key has the permission but the person who created it cannot do this in VENUZ today: they need the role permissions in details.creator_missing_permissions (when details.creator_needs is any_of, any one of them is enough), or the agency must use a key created by someone who has them. |
resource_not_found | 404 | The account has no link of this type with this id. Check type and take the id from the links of the account. |
rate_limited | 429 | Wait for the number of seconds in the Retry-After header, then retry. Spread requests out instead of retrying in a loop. Each request costs the units of its cost class (header X-Request-Cost: 1 for stored data, 2 for a realtime call to the OnlyFans account or a heavy query), and the RateLimit-* headers show how many units are left for this key and its agency in the current minute. |
internal_error | 500 | Retry once after a few seconds; do not retry in a loop. If the request was a write, retry with the SAME Idempotency-Key, never a new one. If it keeps failing, contact VENUZ support and include the request_id. |
api_halted | 503 | Wait for the number of seconds in the Retry-After header, then retry. Your key is still valid. |
stored_data_unavailable | 503 | Nothing was changed. Wait for the number of seconds in the Retry-After header, then retry once; do not retry in a loop. Narrowing the request (account_id or chat_id, a smaller limit) makes it lighter. If it keeps failing, contact VENUZ support with the request_id. |
VENUZ is independent software for agencies. It is not affiliated with, endorsed or sponsored by OnlyFans. OnlyFans is a trademark of its owner.