# analytics.team: What each team member sold and how they worked, on the accounts of this key (or only its creator).

> **API v1 is being retired.** [API v2](/v2/) was published on 2026-11-09. v1 stops answering on 2026-12-07 (2026-12-21 if your agency asks for the extension), earlier only if no key uses it and announced at least 7 days before ([Versioning](/versioning/)); the `Sunset` header of each v1 response is the date that applies to your key. [Migrate from v1 to v2](/v2/migrate/).

`GET /v1/analytics/team` · MCP tool `analytics_team` · [Analytics and earnings](/reference/analytics/)

## What it does

What each team member sold and how they worked, on the accounts of this key (or only its creator).

## When to use it

Returns, for the accounts this key can use, what each team member who writes from VENUZ sold (paid messages bought and tips attributed to them) and how they worked (messages, paid messages sent and bought, fans chatted and who spent, reply times), with changes against the previous period and the team revenue per day. Days are in the agency report time zone. It reads the analytics copy VENUZ keeps (it trails live activity by a few minutes), never OnlyFans, and never changes anything. Sales sent from outside VENUZ, by mass messages or by Calypso belong to nobody here. If the member who created this key may only see their own numbers in VENUZ, the answer covers only them (people_scope: self): it never shows the figures of another member or a team total. It is a heavy query: ask for the period you need, not repeatedly.

## Permission and cost

| | |
| --- | --- |
| Permission | `analytics:read` |
| Effect | Read only: it never changes anything. |
| Cost class | `heavy` — costs 2 units (large query) |
| Scope | The accounts this key can use. |
| Period | At most 366 days per request (`x-venuz-max-window-days`). |

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `date_from` | query | string | yes | First day, YYYY-MM-DD, in the agency report time zone. |
| `date_to` | query | string | yes | Last day, YYYY-MM-DD, inclusive. At most 366 days after date_from. |
| `account_id` | query | string (uuid) | no | Only this account. Omit for every account the key can use. |
| `mode` | query | one of "net", "gross", default "net" | no | Money as net (after the OnlyFans fee, default) or gross (what fans paid). |

## 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/v1/analytics/team?date_from=date%20from&date_to=date%20to" \
  -H "Authorization: Bearer $VENUZ_API_KEY"
```

## Example response (200)

```json
{
  "data": {
    "date_from": "2026-09-21",
    "date_to": "2026-09-27",
    "report_timezone": "UTC",
    "mode": "net",
    "people_scope": "team",
    "totals": {
      "revenue_usd": 820,
      "paid_messages_usd": 700,
      "tips_usd": 120,
      "messages_sent": 1450,
      "paid_messages_sent": 160,
      "paid_messages_bought": 41,
      "fans_chatted": 310,
      "fans_who_spent": 38,
      "characters_written": 98000,
      "reply_time_avg_seconds": 94.5,
      "revenue_change": 12.5,
      "active_members": 1,
      "paid_message_conversion_pct": 25.63,
      "fan_conversion_pct": 11.61
    },
    "members": [
      {
        "user_id": "9d2e4f6a-8b1c-4d3e-a5f7-0b2c4d6e8f10",
        "name": "Sample Chatter",
        "role": "Chatter",
        "active": true,
        "all_accounts": false,
        "assigned_account_ids": [
          "3a9e1c7b-2d4f-4b8a-9c6e-1f0d2b3a4c5e"
        ],
        "revenue_usd": 820,
        "paid_messages_usd": 700,
        "tips_usd": 120,
        "messages_sent": 1450,
        "paid_messages_sent": 160,
        "paid_messages_bought": 41,
        "fans_chatted": 310,
        "fans_who_spent": 38,
        "characters_written": 98000,
        "reply_time_avg_seconds": 94.5,
        "paid_message_conversion_pct": 25.63,
        "paid_message_share_pct": 11.03,
        "fan_conversion_pct": 11.61,
        "revenue_per_paying_fan_usd": 21.58,
        "reply_time_median_seconds": 61.2,
        "changes": {
          "revenue": 12.5,
          "paid_messages": 10.2,
          "tips": 30,
          "messages_sent": 4.1,
          "paid_messages_sent": 2.5,
          "paid_messages_bought": 5.1,
          "fans_chatted": -3.2,
          "fans_who_spent": 8.6,
          "revenue_per_paying_fan": 3.6,
          "characters_written": 1.9
        }
      }
    ],
    "daily": [
      {
        "date": "2026-09-21",
        "revenue_usd": 110
      },
      {
        "date": "2026-09-22",
        "revenue_usd": 130
      },
      {
        "date": "2026-09-23",
        "revenue_usd": 120
      },
      {
        "date": "2026-09-24",
        "revenue_usd": 115
      },
      {
        "date": "2026-09-25",
        "revenue_usd": 125
      },
      {
        "date": "2026-09-26",
        "revenue_usd": 105
      },
      {
        "date": "2026-09-27",
        "revenue_usd": 115
      }
    ]
  },
  "accounts": [
    {
      "id": "3a9e1c7b-2d4f-4b8a-9c6e-1f0d2b3a4c5e",
      "name": "Sample Creator",
      "connection": {
        "state": "connected",
        "as_of": "2026-09-28T12:00:00.000Z"
      }
    }
  ],
  "source": "store",
  "as_of": "2026-09-28T12:00:00.000Z"
}
```

## Response fields

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `data` | object | yes |  |
| `data.date_from` | string | yes |  |
| `data.date_to` | string | yes |  |
| `data.report_timezone` | string | yes | IANA time zone the agency uses for its reports. |
| `data.mode` | one of "net", "gross" | yes |  |
| `data.people_scope` | one of "team", "self" | yes | Whose figures these are. team: every team member on these accounts. self: only the member who created this key, because they may not see their teammates' numbers in VENUZ; members, totals and daily revenue are then theirs alone. |
| `data.totals` | object | yes |  |
| `data.totals.revenue_usd` | number | yes | Paid messages bought plus tips attributed to the person. |
| `data.totals.paid_messages_usd` | number | yes |  |
| `data.totals.tips_usd` | number | yes |  |
| `data.totals.messages_sent` | integer | yes |  |
| `data.totals.paid_messages_sent` | integer | yes |  |
| `data.totals.paid_messages_bought` | integer | yes |  |
| `data.totals.fans_chatted` | integer | yes |  |
| `data.totals.fans_who_spent` | integer | yes |  |
| `data.totals.characters_written` | integer | yes |  |
| `data.totals.reply_time_avg_seconds` | number, or null | yes |  |
| `data.totals.revenue_change` | number, or null | yes | Change against the previous period of the same length, in percent. Null without data. |
| `data.totals.active_members` | integer | yes | Members who sent something or sold. |
| `data.totals.paid_message_conversion_pct` | number | yes | A rate in percent (0-100). |
| `data.totals.fan_conversion_pct` | number | yes | A rate in percent (0-100). |
| `data.members` | array of object | yes | Team members who wrote from VENUZ or sold in the period, highest revenue first. Bounded by the size of the team: never paginated. Calypso is not a member (see analytics.calypso). |
| `data.members[].user_id` | string (uuid) | yes | Team member id in VENUZ. |
| `data.members[].name` | string | yes | Name of the team member, as the agency set it. |
| `data.members[].role` | string, or null | yes | Role name in the agency, as the agency set it. |
| `data.members[].active` | boolean | yes | False when the member was deactivated in VENUZ. |
| `data.members[].all_accounts` | boolean | yes | Whether the member can work every account of the agency. |
| `data.members[].assigned_account_ids` | array of string (uuid) | yes | Accounts of this key assigned to the member. Bounded: never paginated. |
| `data.members[].revenue_usd` | number | yes | Paid messages bought plus tips attributed to the person. |
| `data.members[].paid_messages_usd` | number | yes |  |
| `data.members[].tips_usd` | number | yes |  |
| `data.members[].messages_sent` | integer | yes |  |
| `data.members[].paid_messages_sent` | integer | yes |  |
| `data.members[].paid_messages_bought` | integer | yes |  |
| `data.members[].fans_chatted` | integer | yes |  |
| `data.members[].fans_who_spent` | integer | yes |  |
| `data.members[].characters_written` | integer | yes |  |
| `data.members[].reply_time_avg_seconds` | number, or null | yes |  |
| `data.members[].paid_message_conversion_pct` | number | yes | Paid messages bought over paid messages sent. |
| `data.members[].paid_message_share_pct` | number | yes | Paid messages over all messages sent. |
| `data.members[].fan_conversion_pct` | number | yes | Fans who spent over fans chatted. |
| `data.members[].revenue_per_paying_fan_usd` | number | yes |  |
| `data.members[].reply_time_median_seconds` | number, or null | yes |  |
| `data.members[].changes` | object | yes |  |
| `data.members[].changes.revenue` | number, or null | yes | Change against the previous period of the same length, in percent. Null without data. |
| `data.members[].changes.paid_messages` | number, or null | yes | Change against the previous period of the same length, in percent. Null without data. |
| `data.members[].changes.tips` | number, or null | yes | Change against the previous period of the same length, in percent. Null without data. |
| `data.members[].changes.messages_sent` | number, or null | yes | Change against the previous period of the same length, in percent. Null without data. |
| `data.members[].changes.paid_messages_sent` | number, or null | yes | Change against the previous period of the same length, in percent. Null without data. |
| `data.members[].changes.paid_messages_bought` | number, or null | yes | Change against the previous period of the same length, in percent. Null without data. |
| `data.members[].changes.fans_chatted` | number, or null | yes | Change against the previous period of the same length, in percent. Null without data. |
| `data.members[].changes.fans_who_spent` | number, or null | yes | Change against the previous period of the same length, in percent. Null without data. |
| `data.members[].changes.revenue_per_paying_fan` | number, or null | yes | Change against the previous period of the same length, in percent. Null without data. |
| `data.members[].changes.characters_written` | number, or null | yes | Change against the previous period of the same length, in percent. Null without data. |
| `data.daily` | array of object | yes | Team revenue per day of the report time zone. Bounded by the period: never paginated. |
| `data.daily[].date` | string | yes |  |
| `data.daily[].revenue_usd` | number | yes |  |
| `accounts` | array of object | yes | The accounts these figures cover, with their connection state. |
| `accounts[].id` | string (uuid) | yes |  |
| `accounts[].name` | string | yes | Display name of the account in VENUZ, set by the agency. |
| `accounts[].connection` | object | yes |  |
| `accounts[].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. |
| `accounts[].connection.as_of` | string (date-time), or null | yes | When VENUZ last saw the account connected. Null if never. |
| `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. |
| `as_of` | 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 date_from and date_to as 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_id filter names an account this key cannot use. Call GET /v1/whoami and filter by one of its accounts. |
| [`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 /v1/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. |
| [`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.
