BetterFans Link is an OnlyFans API, a Fansly API and a Fanvue API for agencies and developers, for the creator accounts they manage. OnlyFans and Fansly publish no API for developers, and Fanvue's API is for apps a creator allows. BetterFans Link offers a REST API for your own code and a remote MCP server for Claude, Cursor and other AI clients. Both read chats, messages, fans, spend, transactions, posts, tracking links and the vault, through the same routes on every platform.
Signing in, rate limits and retries are handled for you, and one API key can cover every creator in your workspace. Writes wait for your team's approval by default. Your code or an AI agent asks to send a message, and an owner or admin approves or rejects it in the dashboard.
BetterFans Link works only with creator accounts linked to your workspace, and creators can link their accounts on a page we host. Test mode comes with sandbox creators on every platform, so you can build the whole flow before anyone links a real account.
WHAT TEAMS BUILD
Agency tools, on your own code. On routes with docs and types.
Chats, fans, spend, revenue, posts, tracking links and the vault, plus mass messages, paid messages, online fans and webhooks for every new message, sale and subscriber.
Make one in the dashboard or with POST /v1/links and send it to the creator. It works for 24 hours.
02
The creator signs in
On our hosted page, with their own OnlyFans or Fansly sign-in, or on Fanvue's own sign-in page. You do not need to be there.
03
A code or a selfie
If the platform asks for a code, the creator types it on the page, or on Fanvue's own page for a Fanvue account. If OnlyFans asks for a selfie, they take it in their phone's browser.
04
Connected
The account shows up in your workspace with its status, and account.connected fires.
Open the link inside your app
Add one script and the link opens in a popup or over your page. It tells your page each step the creator takes and how it ended, so your app moves on when they are done.
Codes, the human check and the OnlyFans selfie all happen in the browser. The creator installs nothing.
Agents use the same link: link_account over MCP makes it, you send it however you like, and get_link or account.connected says when it is done.
One file of plain JavaScript with no dependencies. Use it from React, Vue, Svelte or a plain page, pin it, or copy it into your repo.
import { connect } from"https://betterfans.link/connect/v1.js";
// Your server makes the link with POST /v1/links.const result = await connect({
link: () => fetch("/api/creator-link", { method: "POST" }).then((r) => r.json()),
onEvent: (event) => console.log(event.type, event.step ?? ""),
});
if (result.status === "connected") {
console.log("Linked", result.account.username);
}
Run it
Sign in with any details. Any code works except 000000.
Each step the creator takes shows up here as it happens.
An OnlyFans or Fansly password is encrypted before it is stored. A Fanvue password stays with Fanvue.
We never change the creator's password, email or account settings.
Nothing happens on any platform until the creator signs in.
Removing an account ends your workspace's access. It does not sign the creator out.
APPROVALS
Writes wait by default. Your team decides.
Each write to OnlyFans, Fansly or Fanvue, from your code or an AI agent, becomes an action with a one-line summary. By default it waits until someone on your team approves or rejects it in the dashboard.
Off until you turn it onWrites start off for every account. An owner or admin turns them on, and a key needs the write scope to ask.
Owners and admins decideDevelopers and read-only members can see what is waiting. Only owners and admins can approve it.
Nothing waits foreverAn action nobody decides on expires after 24 hours, and nothing is sent.
Safe to retrySend the same request twice and you get the same action back, never a second send.
Your code or agent asked. action.pending fires and the send shows up in Approvals.
Approved
A person checked the recipient, price and media and said yes.
Running
We send it on OnlyFans, Fansly or Fanvue.
Done
It went out. action.executed carries the result.
Or it ends here
Rejected
Nothing is sent. The note goes back with the action.
Expired
Nobody decided within 24 hours.
Failed
The platform refused it. The error says why.
In test mode, approving records a sample result and nothing reaches any platform.
AI AGENTS
Works in your AI client too. Same data, same approvals.
The MCP server gives Claude, Cursor and other MCP clients the same reads your code gets. When an agent asks to send something, it waits for your team like any other write.
No. OnlyFans publishes no public API for developers: no documentation, no API keys and no developer portal. Every OnlyFans API, BetterFans Link included, is an independent third party. BetterFans Link works only with creator accounts linked to your workspace, and gives you a REST API, signed webhooks and an MCP server. It is not affiliated with or endorsed by OnlyFans or Fenix International.
Does BetterFans Link work with Fansly?
Yes. Fansly accounts link to your workspace the same way OnlyFans accounts do, and the same keys, routes, MCP tools and approvals work for them. A Fansly account reads fans, chats, revenue, posts, tracking links, online fans and the vault, takes free and paid messages and unsends, and sends every shared webhook event except fan.online, message.liked, message.unliked and message.purchased. Mass messages and list changes work on OnlyFans and Fanvue, not on Fansly.
Does BetterFans Link work with Fanvue?
Yes, in Beta. A Fanvue creator connects with Fanvue's own sign-in, and the same keys, routes, MCP tools and approvals work for the account. Every read asks Fanvue live and counts as a live call. A Fanvue account takes free, paid and mass messages, unsends and list changes. It has no message search, and it never sends fan.typing, fan.online, message.liked or message.unliked.
Can I build before linking a real account?
Yes. Every workspace has a test mode with sandbox creators on OnlyFans, Fansly and Fanvue, with sample fans, chats and revenue. Use a bfl_test_ key and build the whole flow, approvals included. Approved actions in test mode record a simulated result and never reach any platform.
How do creators connect their accounts?
You create a link in the dashboard, or with POST /v1/links, and send it to the creator. They open it and sign in to OnlyFans or Fansly on a page we host, answering any code or check the platform asks for, or sign in to Fanvue on Fanvue's own page. The link works for 24 hours.
What can I build with it?
Anything your agency does by hand today. Teams build CRMs for their chatters, revenue dashboards and reports, inbox and mass message tools, alerts on new sales and messages, and AI assistants that draft replies for a person to approve. It all runs on your own code, with the same API for OnlyFans, Fansly and Fanvue.
What does the MCP server do?
MCP is the Model Context Protocol, the way AI apps such as Claude and Cursor call outside tools. Add https://mcp.betterfans.link/mcp to your client and it can list accounts, find fans, read chats, check revenue and draft replies for the OnlyFans, Fansly and Fanvue accounts in your workspace. Its tools call the same API your code does, with the same keys, limits and approvals.
Can an AI agent send messages on its own?
Not over OAuth. An AI client that connects to the MCP server with OAuth always waits. Each write it asks for, such as a message, an unsend or a list change, becomes a pending action that a workspace owner or admin approves or rejects in the dashboard, and it expires after 24 hours if nobody decides. Writes from an API key wait the same way by default, unless an owner or admin turned on auto-approve for that key. Writes are also off for each account until you turn them on.
GET STARTED
Build it in test mode today.
Sign up, make a test key and work against sandbox creators. Link a real account when your flow is ready.