Skip to main content

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.

Before you can act on an account, connect it once. The account’s session is validated and stored securely, and you get back an account id you use from then on.

Cookie paste

Fastest. Paste a logged-in browser cookie + x-bc.

cURL import

Paste a browser “Copy as cURL” export; we parse the rest.

Email + password

Attempt-based login with SMS / authenticator / email 2FA.

Mobile / QR

The creator approves on their own device — no credentials shared.

Which should I use?

  • You already have the creator’s browser sessioncookie or cURL. One round trip, no 2FA.
  • You have email + passwordlogin. Handles 2FA challenges via polling.
  • You don’t want to handle credentials at allmobile / embed. The creator signs in on a page you host or embed.

The shape of a connect

Cookie and cURL connects complete in a single request and return the account immediately:
{
  "account": { "id": "acct_...", "ofUserId": "123", "state": "active" },
  "probe": { "id": 123, "username": "creator" }
}
Email/password and mobile connects are attempt-based: you get an attempt_id back and poll until it resolves. See Two-factor & challenges for the states.
Connecting requires the accounts:write scope, and counts against your org’s connect-attempt rate limit.