FansMetric OnlyFans API

Build your own OnlyFans tools.

Build AI chatters, custom CRMs, dashboards and automations with access to OnlyFans messages, fans, earnings and content. FansMetric manages the connected account sessions so you can focus on your application.

API access included with FansMetric Standard and Pro. Test during your free trial.

public-api.fansmetric.com

GETRequest

GET /v1/{account_id}/chats?limit=10
Authorization: Bearer fm_api_••••••••

200Example response · abbreviated

{
  "data": {
    "list": [{
      "withUser": { "id": 123456, "name": "Fan" },
      "unreadMessagesCount": 2,
      "canSendMessage": true
    }],
    "hasMore": true
  }
}

100B+

Requests processed by FansMetric infrastructure

$5B+

All-time creator revenue across FansMetric

2020

Building OnlyFans tools since 2020

The public API comes from the team behind the existing FansMetric platform.

What will you build?

AI chatting tools

Read conversations, retrieve fan information and send messages. Build your own conversation logic, content selection and human handoff.

Custom CRMs

Bring chats, fan profiles, notes and subscriber information into a workspace built around your team.

Dashboards and reporting

Combine earnings, creator performance and marketing data in your own dashboards. Automate the reports your agency relies on.

Example: a scheduled report combining revenue across connected accounts.

Agency automations

Build workflows for messaging, fan lists, content and reporting using your own application logic.

Example: an application that organises fans into lists using your own rules.

Agencies using FansMetric

Creators IncCaptivateMusenineGoBoostMeXposeAstor Entertainment

Read the data. Take action.

Access account data and perform supported actions across your connected OnlyFans accounts.

Chats and messages

Read, search, send and manage conversations.

Fans and subscribers

Retrieve profiles, update notes and organise fan lists.

Mass messaging

Send messages, manage queues and retrieve statistics.

Content and media

Create posts, upload content and organise vault media.

Earnings and analytics

Retrieve earnings, payouts, chargebacks and account-performance data.

Links and attribution

Manage tracking and trial links, tags and associated reporting.

Browse all endpoints

Promotions|Tracking links
GET /v1/{account_id}/links
LinkClaimsSpendCostRevenueProfitROI

GG – @miarose

GG
2055.97%$230

$4,642

12 fans

$4,4121,918%

GG – Sunshine

GG
4905.96%$367

$1,312

27 fans

$945257%

SFS – @lunab

Telegram
849.52%$80

$687

8 fans

$607759%

Combined performance

All time ▾

$13,497

Earnings

2,928

New subs

Feb 16Mar 9Mar 31Apr 22

Bring FansMetric's marketing data into your own tools.

Alongside live OnlyFans data, access FansMetric-enriched tracking and trial links with associated revenue, cost and tags.

Build campaign reports, group results by channel and connect acquisition activity to what fans spend.

Your team can keep working in the FansMetric CRM while you build custom tools around your connected accounts.

Connect an account. Make your first request.

1

Connect your accounts

Create a FansMetric account and connect the OnlyFans accounts you want to use.

2

Create an API key

Generate a key in your dashboard with the permissions your integration needs.

3

Start building

Follow the documentation to authenticate, retrieve data and add actions to your application.

Standard HTTP and JSONPer-route permissionsUsage and rate-limit information

Open the getting-started guide

Before you build

Is API access included in my plan?

API access is included with FansMetric Standard and Pro, and you can test the API during your free trial. Usage limits apply; see the documentation for request limits and usage information.

Does FansMetric handle the OnlyFans connection?

FansMetric maintains connected account sessions and authenticates requests on your behalf. Your application uses a FansMetric API key. Accounts may need reconnecting if their session is lost.

Is the data live?

Most endpoints retrieve data from the connected OnlyFans account when requested. FansMetric-backed endpoints return data from FansMetric's database. The documentation identifies the source.

Can I control what an integration can do?

Yes. API keys use roles with per-route permissions, allowing you to grant the operations each integration needs.

Can I use the API alongside the CRM or AI Chatter?

Yes. Build custom integrations while using FansMetric's existing tools. You can also build your own AI chatter through the API. FansMetric AI Chatter has separate access and pricing terms.

Build your next OnlyFans integration.

Start with your connected accounts. Add the tools and workflows your business needs.

Planning a larger integration? Talk to us →