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 managed proxy server you want to use. Eg. "us" for United States. Cannot be used together with customProxy.

Value in"us" | "uk" | "de" | "fr" | "it"
customProxy?

Custom proxy configuration. Cannot be used together with proxyCountry.

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": "D#i%hm{J\'>1K"  }'
{
  "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"
}