In short
- No official API. OnlyFans publishes no API, no developer portal and no keys.
- Third-party services fill the gap. They send requests to OnlyFans as a creator account you connect to them.
- Prices run from $0 to $299 a month. AgencyKey is free with MCP included; Fans API, OFAuth and CreatorAPI are subscriptions with a free allowance for testing.
Does OnlyFans have an API?
No. OnlyFans has no public API, no developer portal and no API keys. The website and the apps talk to an internal API that OnlyFans built for itself and does not document for outsiders.
Everything sold as an "OnlyFans API" is a third-party service built on top of that internal API. It is unofficial: it works as long as OnlyFans does not change how its own site works, and the service has to keep up when it does.
How third-party OnlyFans APIs work
- Your code or assistant You connect a creator account to the service, get a key and send requests to the service, not to OnlyFans.
- The API service It holds a working session of that account and forwards each request to OnlyFans as the account.
- OnlyFans It answers as it would to the creator's own browser: chats, fans, earnings, posts, the vault.
Two things follow from this. An API can do only what the account itself can do, so there is no access to other creators' private data. And you trust the service with the account, so it matters who runs it and what a key is allowed to do.
What agencies build with an OnlyFans API
Reports where the team works
Earnings, subscribers and chargebacks of every creator in one Google Sheet or dashboard, updated on a schedule.
Chatter pay
Sales by chatter and by shift, counted from the messages and transactions instead of screenshots.
Alerts
A message to the team chat when a top fan comes online, a creator's income drops or a mass message underperforms.
Marketing numbers
Subscribers and revenue per tracking link, joined with what the promotion cost.
AI assistants
Questions in plain language over live account data through MCP, covered below.
No code at all
Shared inboxes, scripts and reports come with a CRM. Compare OnlyFans CRMs
What MCP adds
MCP (Model Context Protocol) is a standard way to let an AI assistant call an API. You add the server address as a connector in Claude or ChatGPT, sign in, and the assistant can fetch data and run actions for you. Instead of writing a script, you ask: "List the ten fans who spent the most on this creator in the last 30 days."
An assistant that can write can also send or delete. Connect it as a separate user with limited access, and begin with read-only requests.
OnlyFans API services compared
Prices and limits as each vendor publishes them, read on November 30, 2026. Plans change often, so check the source before you pay.
| Service | Price | Free allowance | MCP | Webhooks |
|---|---|---|---|---|
| AgencyKey APIOnlyFans | $0No plans, no charge per request | The whole API, for every creator account connected to AgencyKey | Yes, free | Not documented |
| Fans APIOnlyFans | From $69 a month$69: 1 account, 20,000 credits$299: 5 accounts, 100,000 credits$29 per extra account | 1 account, 100 credits | Yes | On paid plans |
| OFAuthOnlyFans | From $69 a month$69: 2 accounts, 10,000 requests, then $2 per 1,000$299: 20 accounts, 100,000 requests, then $1 per 1,000 | 1 account, 1,000 requests, then $4 per 1,000 | Not stated | Yes, billed per event |
| CreatorAPIOnlyFans, Fansly, 4based, Fanvue | From $55 a month$55: OnlyFans only, 20,000 credits$89: three platforms, 44,000 credits$269: agencies, 100,000 creditsA read costs 1 credit, a write 2 | 1,000 credits | Yes | Yes |
Sources: agencykey.com/features/api, fansapi.com/pricing, ofauth.com/pricing, creator-api.com/pricing. "Not documented" and "Not stated" mean the vendor's page does not say. The address onlyfansapi.com now leads to Fans API.
APIs inside other CRMs
Some agency CRMs have an API of their own. It comes with the CRM's paid subscription, and in several tools it is a beta or is opened on request, with no public specification. OnlyMonster documents an API with webhooks, Infloww has a beta limited to revenue export, and the other CRMs in our comparison do not document a public API. So if a CRM's API matters to you, ask the vendor for the specification before you subscribe.
AgencyKey API: free, with MCP
We put AgencyKey first for one measurable reason: it is the only service here where the API costs nothing at any volume. The others are subscriptions with credits or a price per request.
What you get
- Free for every connected creator account, even if you never use the CRM or pay for a plan.
- No credits and no price per request.
- More than 860 documented operations: messages, fans, earnings, content, streams, promotions, settings. Paths outside the catalogue are forwarded too.
- A free MCP server for Claude and ChatGPT that follows the user's permissions.
- The same backend that runs the CRM. AgencyKey reports 3.1 million requests a day (November 2026) and 99% uptime over the 29 days to October 26, 2026. These are the vendor's own figures.
- Keys with an expiry date (7, 30 or 90 days, a year or never) that can be revoked, and a separate API of the CRM itself: shifts, tasks, scripts, tracking links, reports.
What to keep in mind
- You need an AgencyKey account, and the creator has to be connected to AgencyKey. There is no API without that connection.
- OnlyFans only. For Fansly or Fanvue look at CreatorAPI.
- Webhooks are not documented. If you need a push on every new message or tip, Fans API, OFAuth and CreatorAPI offer them.
- The CRM itself is paid after 30 active days per creator. The API stays free.
- Actions an assistant runs through MCP have no extra confirmation step, so give it a limited user.
A first request, step by step
The steps are the same in every service; the example uses AgencyKey because it costs nothing to try.
- Create an account and connect a creator account.
- Create a Public API key in the settings. Give it an expiry date. The secret is shown once.
- List the creators the key can reach:
Then put the OnlyFans path after the creator's id. This returns the creator's chats:
The answer comes back as OnlyFans returns it. One rule for anything that writes: a 4xx answer means the request was rejected and can be repeated after a fix, while a 502 or 504 means the result is unknown, so check before you send a message or a post again. The full list of operations is in the AgencyKey API documentation.
To use MCP instead of code, add https://app.agencykey.com/mcp as a custom connector in Claude or as an app in ChatGPT and sign in. Full write access in ChatGPT needs a Business, Enterprise or Edu plan.
How to choose
Risks and rules
- It is unofficial. OnlyFans does not support third-party access, and no vendor can promise that an account will never be restricted. Read the OnlyFans terms and decide for each creator.
- Get the creator's consent. The account is theirs. Write down what the agency and its tools may do with it.
- Keep keys narrow. One key per integration, an expiry date, only the creators it needs.
- Do not retry writes blindly. A repeated request can send the same message twice.
- Stay within the data you are entitled to. Fan data is personal data. Do not export or share more than the work needs.
Updated November 30, 2026. Prices and features are quoted from the vendors' pages on that date; usage and uptime figures are the vendors' own statements and were not measured by TopAgencies.