# Keep your data up to date with the VENUZ API without asking fan by fan

> **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/).

To keep your own records current, let VENUZ tell you what changed with webhooks, then read only those fans: [`vault.history`](/reference/vault/history/) takes up to 100 fans in one call with `fan_ids`, and [`fans.list`](/reference/fans/list/) with `updated_since_at` gives the fan cards that changed. Asking every fan again on a timer costs you calls and finds nothing new most of the time.

## Step 1: Subscribe to what changes {#step-1}

Create a subscription with [`webhooks.create`](/reference/webhooks/create/) (guide: [Receive webhooks](/guides/receive-webhooks/)). The events that change what a fan has received or bought:

| Event | What changed | What to read again |
|---|---|---|
| `messages.sent` | Media or a message went to a fan | that fan, with `vault.history` |
| `messages.ppv_unlocked` | A fan bought a paid message | that fan, with `vault.history` |
| `vault.media_changed` | A vault piece appeared, was removed or edited | that piece, with `vault.media` and `of_media_ids` |
| `subscriptions.new` · `.renewed` · `.expired` | A subscription started, renewed or ended | that fan, with `fans.get` |

Each event carries the fan in `data.fan.id`. Keep the ids that arrived since your last read.

## Step 2: Read the fans that changed, 100 at a time {#step-2}

```bash
curl "https://open.venuz.ai/v1/accounts/ACCOUNT_ID/vault/history?fan_ids=400000001,400000002,400000003" \
  -H "Authorization: Bearer $VENUZ_API_KEY"
```

The answer has one entry per fan in `fans`, in the order you asked, each with the same fields as a `fan_id` call. Ids VENUZ has no record of in that account come back in `fans_not_found`: check them against the fans of the account and do not retry them. One call with 100 fans costs the same as one call with one fan.

## Step 3: Catch up after a gap {#step-3}

If your receiver was down, the deliveries of the last 30 days are in [`webhooks.deliveries`](/reference/webhooks/deliveries/), and [`webhooks.redeliver`](/reference/webhooks/redeliver/) sends one again for free.

## Step 4: Bring fan cards up to date with updated_since_at {#step-4}

To refresh your copy of the fans of an account, ask [`fans.list`](/reference/fans/list/) only for the fans whose record changed since your last read:

```bash
curl "https://open.venuz.ai/v1/accounts/ACCOUNT_ID/fans?updated_since_at=2026-11-05T09:00:00Z&limit=100" \
  -H "Authorization: Bearer $VENUZ_API_KEY"
```

Fans come oldest change first. Follow `next_cursor` until it is `null`, then keep the `as_of` of that last answer: it is your next `updated_since_at`. A fan that changes while you page moves to the end and comes again, so you never miss it. VENUZ also returns the 5 minutes before `updated_since_at` (`updated_since_applied_at` says the moment it used), so a change being saved while you read is not lost: store fans by `fan_id` and a repeat costs nothing. Fans are never removed one by one. For your first copy, pass an old date (for example `2020-01-01T00:00:00Z`).

## Which data comes from where {#sources}

Every read in this guide answers from the data VENUZ keeps (`source: store`) and never asks OnlyFans, so it does not slow the account down. `as_of` in each answer says when it was read.

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