Vault
Get Vault Media
Returns one vault media item by ID — the same object you see inside List Vault Media. Use it to get fresh media links for an item you already know, without paging the whole vault again. Requires permission api_vault_list_media.
https://public-api.fansmetric.comAuthorization
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.
media_id*integerVault media ID, as returned by List Vault Media.
Query Parameters
refreshstringPass any value to skip the cache and ask OnlyFans directly. Use it to renew media links that have expired.
Response Fields
data.idintegerVault media ID.
data.typestringphoto,video,gif, oraudio.data.createdAtstringISO timestamp when the media was added to the vault.
data.isReadybooleantrueonce OnlyFans has finished transcoding the file.data.countersobjectLifetime engagement counters across every surface the media has appeared on.
data.filesobjectPer-variant link set:
full,thumb,preview,squarePreview. Eachurlis a FansMetric media link that expires after 2 hours — see Media URLs.data.durationnumberDuration in seconds (videos / audio).
0for photos and GIFs.dataobject | arrayEndpoint-specific payload. See the fields below for this route.
_meta._credits.usedintegerCredits consumed by this request (currently always
1)._meta._rate_limits.limit_minuteintegerMaximum requests per minute for the organization.
_meta._rate_limits.remaining_minuteintegerRemaining requests in the current minute window.
_meta._rate_limits.limit_dayintegerMaximum requests per day for the organization.
_meta._rate_limits.remaining_dayintegerRemaining requests in the current day window.
| Field | Type | Description |
|---|---|---|
| data.id | integer | Vault media ID. |
| data.type | string | photo, video, gif, or audio. |
| data.createdAt | string | ISO timestamp when the media was added to the vault. |
| data.isReady | boolean | true once OnlyFans has finished transcoding the file. |
| data.counters | object | Lifetime engagement counters across every surface the media has appeared on. |
| data.files | object | Per-variant link set: full, thumb, preview, squarePreview. Each url is a FansMetric media link that expires after 2 hours — see Media URLs. |
| data.duration | number | Duration in seconds (videos / audio). 0 for photos and GIFs. |
| data | object | array | Endpoint-specific payload. See the fields below for this route. |
| _meta._credits.used | integer | Credits consumed by this request (currently always 1). |
| _meta._rate_limits.limit_minute | integer | Maximum requests per minute for the organization. |
| _meta._rate_limits.remaining_minute | integer | Remaining requests in the current minute window. |
| _meta._rate_limits.limit_day | integer | Maximum requests per day for the organization. |
| _meta._rate_limits.remaining_day | integer | Remaining requests in the current day window. |
curl --request GET "https://public-api.fansmetric.com/v1/100000001/vault/media/sample_media_id?refresh=sample_refresh" \
--header "Authorization: Bearer YOUR_API_KEY"Response
200