The REST API is a managed HTTP surface over the same capabilities as the SDK. You authenticate with a bearer API key, connect an OnlyFans account once, then call any method or stream realtime events — with nothing to host and no session management of your own.Documentation Index
Fetch the complete documentation index at: https://docs.onlyfanskit.dev/llms.txt
Use this file to discover all available pages before exploring further.
The flow
Authenticate
Send your API key as a bearer token. Confirm it with
GET /v1/me. See
Authentication.Connect an account
POST /v1/connect/* links an OnlyFans account and returns an account id.
See Connect an account.Act on it
POST /v1/accounts/{id}/{resource}/{method} calls any SDK method.
Enumerate them with GET /v1/sdk/methods.Two API surfaces
This reference documents the platform API (/v1/*) — the endpoints you
call to manage and act on accounts. The OnlyFans API surface that the SDK
wraps is documented as typed SDK resources; reach any of it
through the generic SDK passthrough below.
Calling any SDK method
The single most useful endpoint is the SDK passthrough:of.{resource}.{method}(...args) and returns
{ "result": ... }. Use the endpoint pages in this section for the managed
endpoints (connect, accounts, webhooks, events) and
SDK resources for the method catalog.