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

emailstring

The email address of the OnlyFans account

passwordstring

The password of the OnlyFans account

proxyCountrystring

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

Value in"us" | "uk" | "de" | "es" | "fr" | "it" | "ua" | "pl" | "ro" | "cz" | "hu" | "sk"

Response Body

curl -X POST "https://app.onlyfansapi.com/api/authenticate" \
  -H "Content-Type: application/json" \
  -d '{
    "email": "[email protected]",
    "password": "<\\bt/prG3]\\NUf",
    "proxyCountry": "uk"
  }'
{
  "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"
}