Vault

List Vault Lists

Returns the vault's categories — system lists (Posts, Stories, Messages, Streams, Uploads) plus any custom folders the creator has created. Drives the parent dropdown for vault picker UIs. Requires permission api_vault_list_lists.

https://public-api.fansmetric.com
GET/v1/{account_id}/vault/lists
Bearer

Authorization

default
AuthorizationBearer <token>

Send your FansMetric API key as a Bearer token in the Authorization header.

In: header

Path Parameters

  • account_id*integer

    OnlyFans numeric account ID.

Query Parameters

  • limitinteger

    Page size. Default 24. Min 1, max 100.

  • offsetinteger

    Rows to skip. Default 0.

  • querystring

    Find custom lists by name.

Response Fields

  • data.list[]array

    Vault categories on this page.

  • data.list[].idinteger

    Vault list ID. Pass as the list filter on List Vault Media.

  • data.list[].typestring

    One of stories, streams, media_stickers, posts, messages, custom.

  • data.list[].namestring

    Display name. Custom folders use the creator-chosen name.

  • data.list[].canUpdateboolean

    true for custom folders that can be renamed; false for system lists.

  • data.list[].canDeleteboolean

    true for custom folders that can be deleted; false for system lists.

  • data.list[].videosCountinteger

    Number of videos in the list.

  • data.list[].photosCountinteger

    Number of photos in the list.

  • data.list[].gifsCountinteger

    Number of GIFs in the list.

  • data.list[].audiosCountinteger

    Number of audio items in the list.

  • data.list[].mediasarray

    Small preview strip of items — used for UI thumbnails.

  • data.allobject

    Aggregate counts across every list (videosCount, photosCount, gifsCount, audiosCount).

  • data.canCreateVaultListsboolean

    Whether the account can create new custom folders.

  • dataobject | array

    Endpoint-specific payload. See the fields below for this route.

  • _meta._credits.usedinteger

    Credits consumed by this request (currently always 1).

  • _meta._rate_limits.limit_minuteinteger

    Maximum requests per minute for the organization.

  • _meta._rate_limits.remaining_minuteinteger

    Remaining requests in the current minute window.

  • _meta._rate_limits.limit_dayinteger

    Maximum requests per day for the organization.

  • _meta._rate_limits.remaining_dayinteger

    Remaining requests in the current day window.

curl --request GET "https://public-api.fansmetric.com/v1/100000001/vault/lists?limit=20&offset=0&query=creator" \
  --header "Authorization: Bearer YOUR_API_KEY"

Response

200
{
"data":{
"list":[
0:{
"id":1
"type":"stories"
"name":"Stories"
"canUpdate":false
"canDelete":false
"videosCount":0
"photosCount":0
"gifsCount":0
"audiosCount":0
"medias":[]
}
1:{
"id":2
"type":"media_stickers"
"name":"Uploads"
"canUpdate":false
"canDelete":false
"videosCount":0
"photosCount":0
"gifsCount":0
"audiosCount":0
"medias":[]
}
2:{
"id":3
"type":"posts"
"name":"Posts"
"canUpdate":false
"canDelete":false
"videosCount":0
"photosCount":5
"gifsCount":0
"audiosCount":0
"medias":[
0:{
"type":"photo"
"url":"..."
}
]
}
3:{
"id":4
"type":"messages"
"name":"Messages"
"canUpdate":false
"canDelete":false
"videosCount":1
"photosCount":4
"gifsCount":0
"audiosCount":2
"medias":[]
}
4:{
"id":9
"type":"custom"
"name":"Favourites"
"canUpdate":true
"canDelete":true
"videosCount":3
"photosCount":6
"gifsCount":0
"audiosCount":0
"medias":[]
}
]
"all":{
"videosCount":4
"photosCount":15
"gifsCount":0
"audiosCount":2
"medias":[]
}
"hasMore":false
"canCreateVaultLists":true
"order":"asc"
"sort":"default"
}
"_meta":{
"_credits":{
"used":1
}
"_rate_limits":{
"limit_minute":1000
"remaining_minute":999
"limit_day":50000
"remaining_day":49999
}
}
}