Skip to main content
GET
Get media item with all quality variants

Authorizations

apiKey
string
header
required

Your OFAuth API key for authenticating requests.

Headers

x-connection-id
string
required

Connection ID whose Vault+ cache should be read or modified.

Minimum string length: 1
Example:

"conn_v5bsqkzsjfk8cgr7hqbbw09t"

Path Parameters

mediaId
string
required

Raw OnlyFans media ID to fetch.

Example:

"4492994399"

Response

Cached media item with variants keyed by label.

A raw OnlyFans media item grouped with all cached variants.

id
string
required

Raw OnlyFans media ID. Use this ID for Vault+ media reads, batch reads, and deletes.

Example:

"4492994399"

type
enum<string>
required

Media type inferred from the cached content type.

Available options:
image,
video,
audio
Example:

"image"

duration
number | null
required

Duration in seconds for video/audio media, or null for images.

Example:

null

media
object
required

Stored variants keyed by public variant label. The variant objects intentionally omit internal variant IDs.