Vault

Get Vault Media Types

Returns the catalog of supported vault media types (photo, gif, video, audio) along with per-type counts and feature flags. Same reference data the OnlyFans vault filter dropdown shows. Safe to cache client-side — counts change with vault writes but the type catalog itself is static. Requires permission api_vault_read_types.

https://public-api.fansmetric.com
GET/v1/{account_id}/vault/media/types
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.

Response Fields

  • data.list[]array

    One entry per supported media type.

  • data.list[].typestring

    photo, gif, video, or audio.

  • data.list[].countinteger

    Number of vault items of this type.

  • 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/media/types" \
  --header "Authorization: Bearer YOUR_API_KEY"

Response

200
{
"data":{
"list":[
0:{
"type":"photo"
"count":1234
}
1:{
"type":"gif"
"count":12
}
2:{
"type":"video"
"count":56
}
3:{
"type":"audio"
"count":7
}
]
}
"_meta":{
"_credits":{
"used":1
}
"_rate_limits":{
"limit_minute":1000
"remaining_minute":999
"limit_day":50000
"remaining_day":49999
}
}
}