Connect an account with credentials (OnlyFans or Fansly)
Connect a new creator account via email/username + password. Set platform to "onlyfans" (default) or "fansly".
Connect a new creator account via email/username + password. Set platform to "onlyfans" (default) or "fansly".
- X-Proxy header is REQUIRED for OnlyFans, optional for Fansly. You may pass
proxyin the body as an alternative. - For
platform: "fansly"theemailfield accepts a username or an email. - Supports 2FA: if the account has 2FA enabled the response includes
requires_2fa: true(Fansly also returnstwofa_type), and you must callPOST /accounts/login/verify-otpnext with the sameplatformand identifier.
Consumes one account slot. Rate limited to 10 requests/minute.
Guide: Connect an account
Authorization
apiKey Your CRM panel API key
In: header
Header Parameters
Proxy URL — HTTP or SOCKS5 (e.g. http://user:pass@host:port or socks5://user:pass@host:port). Optional on post-connection routes, where it overrides the proxy saved at login time. Required on the connection routes (POST /accounts/login, POST /accounts/login/cookies, POST /accounts/login/verify-otp) for OnlyFans accounts; optional for Fansly.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/accounts/login" \ -H "Content-Type: application/json" \ -d '{ "platform": "onlyfans", "email": "[email protected]", "password": "your_password", "use_captcha": true }'{ "success": true, "of_user_id": "123456789", "username": "example_user", "email": "[email protected]", "avatar": "https://..."}Auth
Connect a creator account (OnlyFans or Fansly) and complete 2FA. All three routes accept `platform: "onlyfans" | "fansly"` and are rate limited to 10 requests/minute.
Connect an account with an existing session (OnlyFans or Fansly) POST
Connect a creator account using credentials you already hold, rather than a password login.