VENUZ API Español

vault.of_browse: Browse the OnlyFans vault of one account, checked now on the account, with its total.

GET /v2/accounts/{accountId}/vault/of-media · MCP tool vault_of_browse · Vault

What it does

Browse the OnlyFans vault of one account, checked now on the account, with its total.

When to use it

Browses the vault of one OnlyFans account as OnlyFans shows it, checked now on the account, one page of up to 40 pieces per request with next_cursor, newest first by default; filter by folder, type or text and order by likes or tips. Each piece comes with its OnlyFans id, type, DRM, whether it is already in the feed and its folders, and the response carries how many pieces match in the whole vault. It never returns media links and never changes anything. One OnlyFans call per request, so page slowly. For what VENUZ knows of each piece (tags, sets, sales) call vault.media with of_media_ids.

Permission and cost

Permissionvault:read
EffectRead only: it never changes anything.
Cost classrealtime — costs 2 units (realtime call to the account on OnlyFans; also shows the account queue)
ScopeOne account the key can use.

Parameters

NameInTypeRequiredDescription
accountIdpathstring (uuid)yesId of the account, from accounts.list or api.whoami.
category_idquerystring, up to 40 charactersnoOnly the pieces of this folder: its VENUZ id (from vault.of_lists or vault.categories) or its OnlyFans id (digits). A VENUZ id that is not a folder of this account answers 404 without calling OnlyFans; an OnlyFans id goes to OnlyFans as it is, and the answer is what OnlyFans says for that folder.
typequeryone of "photo", "video", "audio", "gif"noOnly pieces of this type.
queryquerystring, up to 100 charactersnoSearch the pieces as OnlyFans does (by their text).
orderqueryone of "recent", "most-liked", "highest-tips", default "recent"norecent (default), most-liked or highest-tips, as OnlyFans orders them.
sortqueryone of "asc", "desc", default "desc"noDirection of the order. Default desc.
cursorquerystring, up to 1024 charactersnonext_cursor of the previous page, with the same filters.
limitqueryinteger, 1 to 100noMost items to return, 1 to 100. OnlyFans serves this list in pages of a fixed size: a response never holds more than one of them, and next_cursor goes on with the rest. Without limit, the whole page.

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/vault/of-media" \
  -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": [
    {
      "of_media_id": "3104567890",
      "type": "video",
      "created_at": "2026-09-20T10:00:00.000Z",
      "duration_seconds": 42,
      "is_ready": true,
      "drm_protected": true,
      "posted_to_feed": false,
      "likes": 12,
      "folders": [
        {
          "of_list_id": "29819443",
          "name": "Beach set"
        }
      ]
    }
  ],
  "total": 310,
  "next_cursor": null,
  "source": "onlyfans",
  "synced_at": "2026-09-28T12:00:00.000Z",
  "limit": null
}

Response fields

FieldTypeRequiredDescription
accountobjectyesThe OnlyFans account this data belongs to, with its connection state.
account.idstring (uuid)yes
account.namestringyesDisplay name of the account in VENUZ, set by the agency.
account.connectionobjectyes
account.connection.stateone of "connected", "connecting", "disconnected"yesConnection 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_atstring (date-time), or nullyesWhen VENUZ last saw the account connected. Null if never.
dataarray of objectyesOne OnlyFans page of pieces (up to 40).
data[].of_media_idstringyesId of the piece in the OnlyFans vault (assigned by OnlyFans).
data[].typeone of "photo", "video", "gif", "audio"yes
data[].created_atstring (date-time), or nullyesWhen it was uploaded to OnlyFans.
data[].duration_secondsnumber, at least 0, or nullyesLength of a video or audio.
data[].is_readybooleanyesFalse while OnlyFans is still processing it.
data[].drm_protectedbooleanyesOnlyFans protects this video with DRM.
data[].posted_to_feedbooleanyesIt is already in a post of the creator feed (fans may have seen it).
data[].likesinteger, at least 0, or nullyesLikes OnlyFans counts on it.
data[].foldersarray of objectyesFolders of the vault the piece is in. Bounded by the folders of the account.
data[].folders[].of_list_idstringyesId of the folder in OnlyFans (assigned by OnlyFans).
data[].folders[].namestringyesName of the folder, set by the creator or the agency.
totalinteger, at least 0, or nullyesPieces that match the filters in the whole vault, as OnlyFans counts them (without filters: the size of the vault). Null when OnlyFans did not say.
next_cursorstring, or nullyesPass it as cursor, with the same filters, to get the next page. Null when there are no more results.
sourceone of "store", "onlyfans"yesstore: read from the copy VENUZ keeps (fast, no load on the OnlyFans account). onlyfans: a live check on the account during this call.
synced_atstring (date-time)yesWhen 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.
limitinteger, at least 1, or nullyesThe limit this response applied. Null when the request sent none (the whole page).

Errors and what to do

Every error is { "error", "message", "fix", "docs_url", "request_id" }. Branch on error; do what fix says.

ErrorHTTPWhat to do
invalid_request400A cursor only continues the same filters: start again without cursor if you changed them.
invalid_request400Correct 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_key401Send 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_expired401Ask the agency to rotate the key or create a new one. Keys last at most 366 days.
api_key_revoked401Stop using this key. Ask the agency for a new one if you still need access.
api_key_suspended403If 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_inactive403The agency's VENUZ account is suspended or closed; access resumes when it is active again. Do not delete the key.
api_not_enabled403Ask VENUZ support to enable API access for the agency. Keep the key: it works as soon as access is enabled.
ip_not_allowed403Send the request from one of the addresses allowed on the key, or ask the agency to update the allowed addresses.
insufficient_scope403Call 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_found404The folder (category_id) is not a folder of this account.
of_rejected409Nothing was changed. Do not retry the same request: check that the item still exists on OnlyFans and that the account can see it on OnlyFans, then read again with a corrected request.
rate_limited429Wait 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_error500Retry 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_halted503Wait for the number of seconds in the Retry-After header, then retry. Your key is still valid.
stored_data_unavailable503Nothing 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.