What You Can Build
- Media Management: Upload, organize, and manage content libraries
- Content Embedding: Display OnlyFans media on your platform
- Backup Tools: Download and archive creator content
- Cross-Platform Sync: Manage media across multiple accounts
Quick Example
List media from the vault:Common Operations
List Vault Media
Get media from the vault with optional filters:Get Vault Lists (Folders)
OnlyFans organizes vault media into lists/folders:Get Media in a Specific List
Create a Vault List
Add Media to a List
Uploading Media
The/uploads/init response determines whether you need single-part or multi-part upload:
Single-Part Upload (Small Files)
For small files wherex-ofauth-upload-total-parts is 1, upload completes automatically:
Multi-Part Upload (Large Files)
For larger files wherex-ofauth-upload-total-parts is greater than 1, upload in chunks and call /complete:
Single-part: No
/complete call needed—the PUT response returns the media directly.
Multi-part: Must call /complete after all chunks are uploaded.Media Storage Options
OFAuth provides two complementary solutions for handling OnlyFans media:Media Storage Guide
Learn when to use Media Proxy vs Vault+ with detailed examples
Media Proxy
OFAuth automatically proxies OnlyFans CDN URLs, making media embeddable on your platform.Automatic: API responses already contain proxied
media.ofauth.com URLs. No extra configuration needed.Why Media Proxy?
Using Proxied URLs
Trigger Persistent Caching
You can trigger persistent caching of a specific media item by sending aPOST request to its media proxy URL:
Purge Stored Media
Remove a specific media item from persistent cache with aDELETE request:
Billing
Media Proxy
Billed per KB of bandwidth transferred. Cache hits (within 7 days) are free.
Vault+
Billed per GB/month of storage. Persistent storage for media you need long-term access to.
Monitor usage in your dashboard. Media Proxy is best for temporary display; Vault+ is best for building permanent media libraries.
API Endpoints
Full API Reference
See complete endpoint documentation
Query Parameters
Vault Media Query
Media Data Structure
Each media item includes:Vault List Structure
custom, messages, posts, stories, streams, media_stickers
Tips & Best Practices
Supported Formats: Images (JPEG, PNG, GIF, WebP), Videos (MP4, MOV), Audio (MP3, M4A). Check OnlyFans’ guidelines for size limits.
Related Guides
Media Storage
Media Proxy vs Vault+ - when to use each
Access API
Complete API reference
Content & Posts
Use media in posts and stories
Messaging & Chats
Send media in direct messages