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.comGET/v1/{account_id}/vault/media/types
Bearer
Authorization
defaultAuthorizationBearer <token>Send your FansMetric API key as a Bearer token in the Authorization header.
In: header
Path Parameters
account_id*integerOnlyFans numeric account ID.
curl --request GET "https://public-api.fansmetric.com/v1/acct_XXXXX/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
}
}
}