ofapisv1

Guides & Docs

Everything we've written about working with the OnlyFans REST API — grouped by what you're trying to do. 90 guides and counting.

Quickstarts

quickstart
OnlyFans API in Go (Golang) — Generics & errgroup

OnlyFans API Golang guide: net/http with a generic response envelope, context deadlines, typed API errors and errgroup fan-out across creator accounts.

quickstart
OnlyFans API in Java — Records & HttpClient

OnlyFans API in Java: map the data envelope onto records with Jackson, call it with java.net.http.HttpClient, fan out over accounts on virtual threads.

quickstart
OnlyFans API in Node.js — Webhook Receiver

Node.js OnlyFans API guide: verify the HMAC signature on the raw body, dedupe deliveries, ack inside ten seconds, then reply through undici with a timeout.

quickstart
OnlyFans API in Python — Subscriber Sync

OnlyFans API Python guide: a requests Session with urllib3 retries, frozen dataclasses over the envelope, offset paging and an idempotent nightly sync.

quickstart
OnlyFans API in Rust — reqwest, serde, tokio

OnlyFans API Rust quickstart: type the {data} envelope with serde, share one reqwest Client on tokio, and model failures as an error enum. Real code.

quickstart
OnlyFans API with C# — Typed .NET HttpClient

OnlyFans API C# guide: typed IHttpClientFactory client, System.Text.Json records for the data envelope, Polly retries honouring Retry-After, async/await.

quickstart
OnlyFans API with curl — Terminal Audit

Audit an OnlyFans account from the shell with curl and jq: hide the token from ps, read rate-limit headers, page the roster, and count what it cost.

quickstart
OnlyFans API with PHP — Guzzle & Laravel

OnlyFans API PHP guide: readonly PHP 8 DTOs for the data envelope, a Guzzle retry stack that honours Retry-After, and Laravel sends from a queued job.

quickstart
OnlyFans API with Ruby — Faraday & Rails

OnlyFans API Ruby guide: a Faraday-backed Ofapis::Client, retry middleware that honours Retry-After, ActiveJob sends, and WebMock specs that cost nothing.

Capabilities

capability
OnlyFans Chat API — List Chats & Build an Inbox

List a creator's OnlyFans chats over REST and build a unified inbox. Paginate conversations globally or per linked account, then read and reply.

capability
OnlyFans Creator Profile & User API

Read the authenticated OnlyFans creator profile and look up any user by id or username over REST. The base layer for dashboards and CRMs.

capability
OnlyFans Earnings API — Build a Daily Figure

No earnings endpoint exists. How to assemble a daily OnlyFans revenue picture from the reads ofapis exposes, what it omits, and why it never ties to payout.

capability
OnlyFans Fan Segments API — Lists & Targeting

Group OnlyFans subscribers into segments over REST. Create fan lists, add or remove fans, and target each segment with messaging and mass DMs.

capability
OnlyFans Fans API — Look Up a Fan by ID

Turn a bare fan id into a person over REST, see which cheaper read already carries the field you need, and learn why there is no spend number to fetch.

capability
OnlyFans Lists API — Fan Lists & Collections

Six REST routes for OnlyFans fan lists: enumerate members 100 at a time, batch-add fans, drop them one by one, and address a whole list in a single send.

capability
OnlyFans Mass DM API — Bulk Messaging

Send a mass DM to a whole OnlyFans fan list in one API call, with the exact recipient count and credit cost shown to you before you trigger the send.

capability
OnlyFans Media Upload API — Files to the Vault

Upload photos and video to an OnlyFans vault over REST: the multipart request, the 50 MB and MIME gate, and why a rejected file still costs 5 credits.

capability
OnlyFans Messaging API — Send & Read DMs

Read and send OnlyFans direct messages over a clean REST API: page a thread with a message cursor, reply, and lock a PPV send behind a price.

capability
OnlyFans Notifications API — Alerts & Mentions

Poll a creator's OnlyFans notifications, unread counts and mentions over a clean REST API. Bearer-authed, one credit per call, global or per-account.

capability
OnlyFans Posts API — Schedule & List Feed Posts

There is no /posts route. Create OnlyFans feed posts through the scheduled queue, attach vault media ids, and read the queue back over a required date window.

capability
OnlyFans PPV API — Priced Messages & Unlocks

Price an OnlyFans message over REST: which routes carry a price, what each one loses, the 2-credit weight, and how far unlock tracking can honestly be trusted.

capability
OnlyFans Scheduling API — Posts & Messages

Programmatically schedule OnlyFans posts and messages over REST. Create and delete scheduled items, read counters, and automate your content calendar.

capability
OnlyFans Statistics API — Snapshot, Don't Query

There is no statistics endpoint. Get growth, churn and net adds by snapshotting the reads that do exist on a schedule and diffing the identity sets.

capability
OnlyFans Subscribers API — Fans & Following

Fetch a creator's OnlyFans subscribers and following list over REST. Paginated, Bearer-authed, one credit per call — build CRMs, segments and dashboards.

capability
OnlyFans Tips API — Detect and Attribute Tips

There is no tips endpoint. How to detect an OnlyFans tip from the chat and notification reads ofapis does expose, attribute it to a fan, and what it misses.

capability
OnlyFans Tracking Links API — Measure It Yourself

There is no tracking-links endpoint. Measure one promotion with a before-and-after subscriber diff that names the fans it actually brought in.

capability
OnlyFans Transactions API — Build Your Own Ledger

There is no transactions endpoint. How to model OnlyFans money events as append-only rows, dedupe a re-poll, and live with the real backfill limits.

capability
OnlyFans Vault Media API — List & Reuse Assets

List an OnlyFans vault over REST, read the media item shape, and reuse stored ids across posts and DMs instead of paying 5 credits to upload a file twice.

Integrations

integration
Airtable OnlyFans API: Sync Fans Into a Base

Sync OnlyFans fans into an Airtable base — use an automation Run script action or the Scripting extension with fetch and a Bearer token. No plugin needed.

integration
Connect OnlyFans to Claude & ChatGPT (Tool Use)

Pick a way to give an AI assistant OnlyFans access: GPT Actions, MCP, or your own function-calling layer. Where the token lives and who approves a send.

integration
Google Sheets OnlyFans API: Scheduled Fan Export

Export OnlyFans subscribers into a sheet on a schedule. Apps Script UrlFetchApp plus a Bearer token calls ofapis — no Workspace add-on required.

integration
Make.com OnlyFans API: Priced Mass-DM Scenarios

Drive every OnlyFans endpoint from Make's HTTP module with one Bearer token, and build a scenario that prices a mass DM before it sends a single message.

integration
n8n OnlyFans API: Self-Hosted DM Automation

Call every OnlyFans endpoint from n8n's HTTP Request node with one Bearer token, and finish with a self-hosted auto-reply that verifies webhook signatures.

integration
OnlyFans API for ChatGPT (Custom GPT Actions)

Build a Custom GPT for OnlyFans: import the ofapis OpenAPI spec as a GPT Action and ChatGPT can read chats, segment fans and send DMs.

integration
OnlyFans API for Claude (MCP)

Give Claude Desktop and Claude Code access to OnlyFans via ofapis. Wrap the REST API as MCP tools and Claude can read chats, segment fans and send DMs.

integration
OnlyFans API for Manus (Autonomous Agents)

Run OnlyFans workflows from Manus. ofapis is REST + OpenAPI, so the sandbox calls it directly — with budget caps, checkpoints and resume after context loss.

integration
OnlyFans API over MCP for AI Agents

Drive the OnlyFans API from AI agents: ofapis is REST + OpenAPI 3.0, so an MCP bridge turns endpoints into typed tools. Tool shapes, scoping and real costs.

integration
OnlyFans API Postman Collection

Import the ofapis OpenAPI spec into Postman, store the token as a secret variable, script the data envelope, and page an endpoint with the Collection Runner.

integration
OnlyFans Discord Bot

Route ofapis webhook events into a channel-per-creator Discord server: embeds, role pings for the night shift, and the 30-per-minute webhook ceiling.

integration
OnlyFans Slack Integration

Work fan conversations as Slack threads: verify ofapis webhooks, keep one parent message per chat with thread_ts, and reply from a Block Kit button.

integration
OnlyFans Telegram Bot

Build an OnlyFans Telegram bot: relay signed ofapis webhooks into sendMessage, and turn an inline keyboard tap into a real DM back to the fan.

integration
Pipedream OnlyFans API: Signed Webhook Workflow

Build a signed-webhook OnlyFans workflow on Pipedream: Node code steps, raw-body HMAC checks, data-store dedupe, $.flow.delay and concurrency limits.

integration
Power Automate OnlyFans API: Daily Subscriber Flow

Build an OnlyFans cloud flow: the premium HTTP action, Parse JSON schemas, Do until offset paging, retry policy, and Scope error branches into SharePoint.

integration
Zapier OnlyFans API: Welcome-DM Zap Without Loops

Use Webhooks by Zapier → Custom Request to reach any OnlyFans endpoint, build a deduped welcome-DM Zap, and see exactly where Zapier's missing loop bites.

Solutions

solution
Build an OnlyFans Analytics Dashboard with the API

What an OnlyFans analytics dashboard can really compute over REST: subscriber snapshots, the notifications head window, count-first polling, and credit cost.

solution
Build an OnlyFans Scheduling Tool with the API

Build a calendar product on the OnlyFans queue: counters-driven month grids, windowed day reads, conflict handling, and what reschedule churn really costs.

solution
Build OnlyFans Chatter Software with the API

Build OnlyFans chatter software: a unified inbox, chat assignment and canned replies for chat teams — all over a REST API, billed per call not per seat.

solution
How to Build an OnlyFans Chatbot with the API

Build an OnlyFans chatbot: read incoming DMs via webhooks, generate a reply, and send it back over REST. Architecture, endpoints and a worked example.

solution
How to Build an OnlyFans CRM with the API

Build an OnlyFans CRM: a schema for fans, events and sends, the offset sync loop, idempotent ingestion, and what a nightly reconcile really costs.

solution
OnlyFans Agency Automation: Four Daily Jobs

The daily operational playbook for an OnlyFans agency: four jobs, the exact calls behind each, what every run costs in credits, and how each one fails.

solution
OnlyFans Agency Software: A Buyer's Checklist

How to evaluate OnlyFans agency software: the ten questions to ask a vendor, probes to run during the trial, build-vs-buy costs, and a safe migration plan.

solution
OnlyFans Agency: How to Run One at Scale

How an OnlyFans agency is actually structured: roles, the chatter-to-system handoff, the five layers of the stack, and the credit maths behind a roster.

solution
OnlyFans Auto Reply Bot — Webhook-Driven Replies

Build an OnlyFans auto reply bot: catch inbound DMs with a signed webhook, read the thread, match a rule or model, and reply over REST. Loop and endpoints.

solution
OnlyFans Automation — The Complete Guide

What OnlyFans automation can and cannot do: which jobs have an endpoint, which have none, what to automate first, and what it costs per month to run.

solution
OnlyFans Automation API — What You Can Build

Automate OnlyFans workflows over REST: messaging, mass DMs, scheduling, fan segments and media. One token, per-call billing, agency multi-account.

solution
OnlyFans Chatbot API: Webhooks, Context, Sends

Power an OnlyFans chatbot with a REST API: receive new-message webhooks, read chat context, and send replies. Connect your own AI or rules engine.

solution
OnlyFans CRM API: Endpoints, Fields and Gaps

Which ofapis endpoints a CRM reads and writes, the fields each one returns, pagination and credit weight per call, and the gaps you have to fill yourself.

solution
OnlyFans Fan Retention — Churn & Win-Back

There is no churn event in the OnlyFans API. How to define churn yourself, spot a fan going quiet, run a win-back sequence and measure whether it worked.

solution
OnlyFans Mass Message Tool — Segment & Send

Build an OnlyFans mass message tool on ofapis: pick a fan segment, preview recipient count and credit cost, then trigger one dispatch and track the run.

solution
OnlyFans Multi Account Management with the API

The multi-tenancy problem, solved: accountId as tenant key, splitting one rate budget across a roster, webhook fan-in, and creator onboarding and offboarding.

solution
OnlyFans PPV Automation — Scheduled Sends

Automate OnlyFans PPV: send priced messages to a segment on a schedule or a trigger, then track purchases. Endpoints, a send sequence and a build outline.

solution
OnlyFans Revenue Analytics with the API

OnlyFans revenue analytics with no earnings endpoint: what the price field can and cannot tell you, the chat collection loop, and why it misses a payout.

solution
OnlyFans Welcome Message Automation: Auto-DM

Automate OnlyFans welcome messages: detect a new subscriber, then auto-send a personalised DM over REST. Detection patterns, endpoints and a build outline.

Blog

guide
How to Authenticate an OnlyFans Account

Linking an OnlyFans account is an encrypted server-side session, not OAuth. Mint a token, verify the link with isAuth, and recover cleanly from a 424.

guide
How to Automate OnlyFans DMs With an API

Run DM campaigns from code: segment, price the blast before firing, read the per-recipient bill, and track a 500 ms-throttled run to completion.

guide
How to Build an OnlyFans Bot (End-to-End Guide)

A complete OnlyFans bot: verify the signed webhook, dedupe on the delivery header, keep per-fan state between turns, and reply. Working Node code.

guide
How to Get Your OnlyFans Subscribers List via API

Run a resumable first sync of your OnlyFans subscribers, then keep it current with a cheap delta instead of re-reading the whole roster every night.

guide
How to Schedule OnlyFans Posts Programmatically

Run an OnlyFans content queue from code: the 3-credit create, the date-windowed read, counters as a change detector, and what a reschedule costs.

guide
How to Send OnlyFans Messages With an API

Send a DM, price it as PPV, attach vault media by id — and make a send that timed out safe to retry with an Idempotency-Key instead of double-posting.

guide
OnlyFans API Best Practices (Production Guide)

Which errors are charged, which are safe to retry, how idempotency keys behave on replay, and how to budget credits against a per-minute ceiling.

guide
OnlyFans Webhook Events Explained

Only one OnlyFans webhook event exists: message.received. Why it still beats a poll loop — the credit arithmetic, at-least-once dedupe, four common traps.

Comparisons

Background

info
How Does the OnlyFans API Work?

How does the OnlyFans API work? A concrete walkthrough of the session model, Bearer auth, credit metering, and the REST endpoints ofapis exposes.

info
Is the OnlyFans API Legal? ToS and Responsibility

Is the OnlyFans API legal? Not legal advice — the five questions that decide it: terms versus statute, authority, fan data, jurisdiction and disclosure.

info
Is the OnlyFans API Safe? Account Risk & Bans

What gets an OnlyFans account flagged: egress reputation, pace and session churn — what the plan tiers change, and what we cannot promise.

info
Is There an OnlyFans API? (2026)

Does OnlyFans have an API? There's no public official API — here's what that means and how developers access OnlyFans data programmatically today.

info
OnlyFans API Authentication — Bearer Tokens

How OnlyFans API authentication works: one Bearer token, no OAuth and no request signing, plus token rotation and the server-side creator session.

info
OnlyFans API Cost — The Credit Model Explained

OnlyFans API cost explained: how credit metering works, what a call really costs, and how to estimate your monthly bill before you commit to a plan.

info
OnlyFans API Documentation — Spec & Playground

OnlyFans API documentation for ofapis: the OpenAPI 3.0 spec, the live /docs playground, and how to generate a typed client in any language.

info
OnlyFans API Error Codes & Handling

Every OnlyFans API error code ofapis returns — 401, 402, 424, 429 and more — the two body shapes, what each means, and whether it costs a credit.

info
OnlyFans API Rate Limits — RPM & 429 Handling

OnlyFans API rate limits: the 60/100/500 rpm per-token window, the three X-RateLimit headers, Retry-After, and how to pace a large paging job.

info
OnlyFans API Without Scraping — Managed Sessions

An OnlyFans API without scraping: the infrastructure you stop deploying, what the maintenance really costs, and the surfaces a scraper still reaches first.

info
OnlyFans Webhook Setup in 20 Minutes

Register an HTTPS endpoint, store the secret, stand up a receiver, fire a test delivery, and work through the checklist before you trust it in production.

info
OnlyFans Webhooks — Event Delivery Reference

Reference for ofapis OnlyFans webhooks: the event catalogue, every envelope field, the signed headers, the retry ladder and the auto-disable rule.