We just released our native n8n integration!ยป Try now
OnlyFans API
Connect OnlyFans Account

Start Authentication

Start the authentication process for a new account. Our systems will bypass Captcha and also ask you for 2FA code if required. All credentials are stored securely using bcrypt and only used during login.

POST
/api/authenticate
AuthorizationBearer <token>

Get your API Key from OnlyFansAPI Console - https://app.onlyfansapi.com/api-keys

In: header

Request Body

application/json

email*string

The email address of the OnlyFans account

password*string

The password of the OnlyFans account

proxyCountry*string

The country of the proxy server you want to use. Eg. "us" for United States

Value in"us" | "uk" | "de" | "fr" | "it"
force_connect?boolean

Set to true to connect the account even if it already exists

Response Body

application/json

curl -X POST "https://app.onlyfansapi.com/api/authenticate" \  -H "Content-Type: application/json" \  -d '{    "email": "[email protected]",    "password": "Nl@{dmeM^y}(zx",    "proxyCountry": "it"  }'
{
  "attempt_id": "auth_XXXXXXXXXXXXXXXXXXXXX",
  "message": "Authentication process started. Query the polling_url to check the progress.",
  "polling_url": "https://app.onlyfansapi.com/api/authenticate/auth_XXXXXXXXXXXXXXXXXXXXX"
}