The Big Picture
OFAuth is like Plaid for OnlyFans. Just as Plaid lets apps connect to bank accounts without handling banking credentials, OFAuth lets your platform connect to OnlyFans accounts without managing authentication complexity. You focus on your product. OFAuth handles OnlyFans.Core Concepts
Connections
A Connection represents a linked OnlyFans account. When a user authenticates through OFAuth, you receive a Connection ID that you use to access their data.What You Store
Just the Connection ID (e.g.,
conn_abc123)—a simple string in your databaseWhat OFAuth Handles
Sessions, credentials, expiration, re-authentication—all the complexity
Link API
The Link API handles user authentication. It’s how OnlyFans users connect their accounts to your platform.1
Create a Link session
Your backend calls OFAuth to get an authentication URL
2
User authenticates
They log into OnlyFans on a secure OFAuth-hosted page
3
Receive a Connection
OFAuth redirects back with a Connection ID you can use
You never see or handle OnlyFans passwords. Authentication happens entirely on OFAuth’s secure pages.
Access API
The Access API lets you fetch OnlyFans data using a Connection ID. It’s a proxy that handles request signing, session management, and API complexity.| Method | Best For |
|---|---|
| Managed Endpoints | Common operations like fetching profiles, posts, messages—stable, typed responses |
| Proxy Endpoints | Any OnlyFans API path—raw responses for advanced use cases |
Dynamic Rules (Advanced)
OnlyFans requires cryptographically signed requests. These signing rules change frequently—sometimes multiple times per day.| If you’re using… | Do you need Dynamic Rules? |
|---|---|
| Access API | No—signing is automatic |
| JavaScript SDK | No—handled by the SDK |
| Direct OnlyFans calls | Yes—you need current signing rules |
The Complete Flow
Here’s how a typical OFAuth integration works:- Link creates the connection (one-time per user)
- Access fetches data using that connection (ongoing)
Glossary
| Term | Definition |
|---|---|
| Connection | A linked OnlyFans account, represented by a Connection ID |
| Connection ID | Unique identifier (e.g., conn_abc123) used to access a user’s data |
| Link Session | Temporary authentication flow—expires after 1 hour |
| API Key | Your OFAuth API key for authenticating requests |
| Dynamic Rules | Current OnlyFans request signing parameters |