# links.traffic: Clicks, subscribers and conversion of the OnlyFans links of an account, without money.

`GET /v2/accounts/{accountId}/links/traffic` · MCP tool `links_traffic` · [Tracking and trial links](/v2/reference/links/)

## What it does

Clicks, subscribers and conversion of the OnlyFans links of an account, without money.

## When to use it

For one account, one link type and a period: for each tracking link, free trial link or promotion, its clicks, subscriptions and conversion (subscribers / clicks), its lifetime counters and how many fans VENUZ attributes to it, plus the totals. It never gives money: no earnings, costs, profit or what fans spent (that is links.analytics, with the links:read permission). The figures are the same as the ones of links.analytics for the same link and period. Any figure VENUZ cannot vouch for is null, never 0, and each row says how sure VENUZ is of the counters. To see which fans came through a link, use links.fans. It reads the copy VENUZ keeps (the counters trail OnlyFans by some minutes: see data_synced_at), costs no OnlyFans calls and never changes anything. It is a heavy query: ask for the period you need, not repeatedly.

## Permission and cost

| | |
| --- | --- |
| Permission | `links:read_traffic` or `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 366 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`. |
| `type` | query | one of "campaign", "trial", "promotion" | yes | campaign (tracking links), trial (free trial links) or promotion. |
| `date_from` | query | string | yes | First UTC day of the period, YYYY-MM-DD, inclusive. |
| `date_to` | query | string | yes | Last UTC day of the period, YYYY-MM-DD, inclusive. At most 366 days after date_from. |
| `include_deactivated` | query | one of "true", "false", default "false" | no | Also the links the agency marked as deactivated. |
| `link_id` | query | string | no | Only this link (its OnlyFans id, digits). |

## 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.

```bash
curl -X GET "https://open.venuz.ai/v2/accounts/3a9e1c7b-2d4f-4b8a-9c6e-1f0d2b3a4c5e/links/traffic?type=campaign&date_from=date%20from&date_to=date%20to" \
  -H "Authorization: Bearer $VENUZ_API_KEY"
```

## Example response (200)

```json
{
  "account": {
    "id": "3a9e1c7b-2d4f-4b8a-9c6e-1f0d2b3a4c5e",
    "name": "Sample Creator",
    "connection": {
      "state": "connected",
      "last_connected_at": "2026-09-28T12:00:00.000Z"
    }
  },
  "type": "campaign",
  "include_deactivated": false,
  "date_from": "2026-09-01",
  "date_to": "2026-09-28",
  "data": [
    {
      "id": "1234567",
      "type": "campaign",
      "name": "Instagram bio",
      "created_at": "2026-07-01T10:00:00.000Z",
      "clicks": 900,
      "subscribers": 45,
      "subscribers_per_click": 0.05,
      "confidence": {
        "of_counter": "exact",
        "attribution": "matched"
      },
      "lifetime_clicks": 2400,
      "lifetime_subscribers": 130,
      "attributed_fans": 120,
      "observed_starts_at": null,
      "source": "Instagram",
      "tag": "bio",
      "is_deactivated": false
    }
  ],
  "totals": {
    "clicks": 900,
    "subscribers": 45,
    "confidence": {
      "of_counter": {
        "level": "exact",
        "links_total": 1,
        "links_unknown": 0
      },
      "attribution": {
        "level": "matched",
        "links_total": 1,
        "links_unknown": 0
      }
    }
  },
  "data_synced_at": "2026-09-28T11:55:00.000Z",
  "stale": false,
  "source": "store",
  "synced_at": "2026-09-28T11:55: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. |
| `type` | one of "campaign", "trial", "promotion" | yes | The link type the figures cover: the type you sent. |
| `include_deactivated` | boolean | yes | Whether the links the agency marked as deactivated are in data and totals: false by default (also a link_id of a deactivated link is then left out). |
| `date_from` | string | yes |  |
| `date_to` | string | yes |  |
| `data` | array of object | yes | One row per link of the account and type, the same rows links.analytics gives. |
| `data[].id` | string | yes | OnlyFans id of the link (assigned by OnlyFans). |
| `data[].type` | one of "campaign", "trial", "promotion" | yes |  |
| `data[].name` | string, or null | yes | Name the creator gave the link on OnlyFans. |
| `data[].created_at` | string (date-time), or null | yes |  |
| `data[].clicks` | number, or null | yes | Clicks in the period. Null when VENUZ does not know it. |
| `data[].subscribers` | number, or null | yes | Subscriptions through the link in the period. |
| `data[].subscribers_per_click` | number, or null | yes | subscribers / clicks, from 0 to 1. |
| `data[].confidence` | object | yes | exact, matched or unknown. Figures that depend on an unknown source are null. |
| `data[].confidence.of_counter` | one of "exact", "matched", "unknown" | yes | How sure VENUZ is of the OnlyFans counters (clicks and subscribers). |
| `data[].confidence.of_subs` | one of "exact", "matched", "unknown" | no | The subscriber counter alone: OnlyFans publishes no clicks for a promotion, so there of_counter stays unknown while of_subs can be known. |
| `data[].confidence.attribution` | one of "exact", "matched", "unknown" | yes | How sure VENUZ is of which fans came through the link (attributed_fans and links.fans). |
| `data[].lifetime_clicks` | number, or null | yes | Clicks since the link was created, as OnlyFans counts them. |
| `data[].lifetime_subscribers` | number, or null | yes | Subscriptions since the link was created, as OnlyFans counts them. |
| `data[].attributed_fans` | number, or null | yes | Fans VENUZ attributes to the link since it was created (links.fans lists them): compare with lifetime_subscribers. |
| `data[].observed_starts_at` | string (date-time), or null | yes | When VENUZ started watching the link, if inside the period: figures before it are not counted. Null when it was already watched. |
| `data[].source` | string, or null | yes | Traffic source the agency set for the link in VENUZ. |
| `data[].tag` | string, or null | yes | Tag the agency set for the link in VENUZ. |
| `data[].is_deactivated` | boolean | yes | The agency marked the link as deactivated in VENUZ. |
| `totals` | object | yes |  |
| `totals.clicks` | number, at least 0 | yes |  |
| `totals.subscribers` | number, at least 0 | yes |  |
| `totals.confidence` | object, or null | yes | Per source, how many links could not be counted (links_unknown): totals only add the links VENUZ knows. |
| `totals.confidence.of_counter` | object | yes |  |
| `totals.confidence.of_counter.level` | one of "exact", "matched", "unknown" | yes |  |
| `totals.confidence.of_counter.links_total` | integer, at least 0 | yes |  |
| `totals.confidence.of_counter.links_unknown` | integer, at least 0 | yes |  |
| `totals.confidence.of_subs` | object | no |  |
| `totals.confidence.of_subs.level` | one of "exact", "matched", "unknown" | yes |  |
| `totals.confidence.of_subs.links_total` | integer, at least 0 | yes |  |
| `totals.confidence.of_subs.links_unknown` | integer, at least 0 | yes |  |
| `totals.confidence.attribution` | object | yes |  |
| `totals.confidence.attribution.level` | one of "exact", "matched", "unknown" | yes |  |
| `totals.confidence.attribution.links_total` | integer, at least 0 | yes |  |
| `totals.confidence.attribution.links_unknown` | integer, at least 0 | yes |  |
| `totals.confidence.crm_input` | object | no |  |
| `totals.confidence.crm_input.level` | one of "exact", "matched", "unknown" | yes |  |
| `totals.confidence.crm_input.links_total` | integer, at least 0 | yes |  |
| `totals.confidence.crm_input.links_unknown` | integer, at least 0 | yes |  |
| `data_synced_at` | string (date-time), or null | yes | Until when VENUZ has copied the OnlyFans counters of this account. Null if never. |
| `stale` | boolean | yes | The copy of the counters is behind: recent activity may be missing. |
| `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`](/errors/#invalid_request) | 400 | Send type, date_from and date_to (YYYY-MM-DD, from not after to, at most 366 days apart). |
| [`invalid_request`](/errors/#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`](/errors/#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`](/errors/#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`](/errors/#api_key_revoked) | 401 | Stop using this key. Ask the agency for a new one if you still need access. |
| [`account_not_allowed`](/errors/#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`](/errors/#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`](/errors/#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`](/errors/#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`](/errors/#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`](/errors/#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`](/errors/#resource_not_found) | 404 | The account does not exist in VENUZ anymore. Call GET /v2/accounts to list the accounts this key can use. |
| [`rate_limited`](/errors/#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`](/errors/#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`](/errors/#api_halted) | 503 | Wait for the number of seconds in the Retry-After header, then retry. Your key is still valid. |
| [`stored_data_unavailable`](/errors/#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.
