# lists.smart_preview: Which fans a smart list would contain.

`POST /v2/accounts/{accountId}/lists/preview` · MCP tool `lists_smart_preview` · [Fan lists](/v2/reference/lists/)

## What it does

Which fans a smart list would contain.

## When to use it

Evaluates smart list rules against the fans of one account and says how many match now, with a sample of their ids: either rules you send (to try them before anyone creates the list) or the rules of a saved list (list_id). Use it to size an audience. It is a read: it saves nothing, creates no list, never contacts OnlyFans and never changes anything. It walks every chat of the account, so do not call it in a loop. Smart lists must be enabled for the agency.

## Permission and cost

| | |
| --- | --- |
| Permission | `lists:read` |
| Effect | Read only: it never changes anything. |
| Cost class | `heavy` — costs 2 units (large query) |
| Scope | One account the key can use. |

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `accountId` | path | string (uuid) | yes | Id of the account, from `accounts.list` or `api.whoami`. |

## Request body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `list_id` | string (uuid) | no | Evaluate the rules of this saved list (its VENUZ id). Send it or rules, not both. |
| `rules` | object | no | Rules to evaluate without saving anything: groups of conditions on fan fields (total_spent, is_subscribed, last_active_days...). Send them or list_id, not both. |
| `rules.logic` | one of "and", "or" | yes |  |
| `rules.groups` | array of object | yes |  |
| `rules.groups[].logic` | one of "and", "or" | yes |  |
| `rules.groups[].conditions` | array of object | yes |  |
| `rules.groups[].conditions[].field` | one of "total_spent", "in_list", "subscription_duration_days", "subscribed_within_hours", "is_subscribed", "total_tips", "total_ppv_purchased", "subscription_price", "auto_renew", "is_performer", "last_active_days", "is_new_fan", … (14 values) | yes |  |
| `rules.groups[].conditions[].operator` | one of "eq", "gt", "gte", "lt", "lte", "between", "is_any_of", "is_none_of", "is_not", "not_between", "is_empty", "is_not_empty" | yes |  |
| `rules.groups[].conditions[].value` | number or boolean or array of string or array of boolean | no |  |
| `rules.groups[].conditions[].value2` | number | no |  |
| `rules.schema_version` | always 3 | yes |  |

## 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 POST "https://open.venuz.ai/v2/accounts/3a9e1c7b-2d4f-4b8a-9c6e-1f0d2b3a4c5e/lists/preview" \
  -H "Authorization: Bearer $VENUZ_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"list_id":"<list_id>"}'
```

## 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"
    }
  },
  "data": {
    "matching_fans": 42,
    "sample_fan_ids": [
      "400000001",
      "400000002"
    ],
    "not_evaluable": null
  },
  "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.matching_fans` | integer, at least 0, or null | yes | Distinct fans of the account that match the rules right now. Null when the rules cannot be evaluated (see not_evaluable); never a fake 0. |
| `data.sample_fan_ids` | array of string | yes | Up to 20 of the matching fans (OnlyFans user ids). |
| `data.not_evaluable` | object, or null | yes |  |
| `data.not_evaluable.reason` | one of "empty_rules", "untranslatable_field" | yes | empty_rules: there is no condition. untranslatable_field: a condition the engine cannot express. |
| `data.not_evaluable.field` | string, or null | yes | The field VENUZ could not express, from the rules sent. |
| `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 exactly one of list_id or rules. |
| [`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. |
| [`feature_disabled`](/errors/#feature_disabled) | 403 | Smart lists are not enabled for this agency. Do not retry; the agency has to ask VENUZ to enable them. |
| [`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 list_id is not a list of this account (or the account does not exist for this key). Call GET /v2/accounts/{accountId}/lists. |
| [`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. |

VENUZ is independent software for agencies. It is not affiliated with, endorsed or sponsored by OnlyFans. OnlyFans is a trademark of its owner.
