Start Authentication
Changed onStart the authentication process for a new account. Supports three methods: email/password (default), cookies & headers (raw_data), or FansAPI Auth+ mobile app (mobile_app). For email/password, our systems will bypass Captcha and ask you for 2FA if required. For raw_data, provide session cookies directly for instant authentication. For mobile_app, the response includes a mobile_auth_session_deeplink that the creator opens on their phone (or scans as a QR code) to complete authentication via the FansAPI Auth+ mobile app. All credentials are stored securely and encrypted at rest.
Request
- Base URLhttps://app.onlyfansapi.com
- URLhttps://app.onlyfansapi.com/api/authenticate
- AuthHTTP bearer
Request body
Example request
{
"auth_type": "email_password",
"name": "natus",
"email": "green.rau@example.net",
"password": "dR&$)4`J|@",
"auth_id": "hic",
"cookies": "quia",
"xbc": "non",
"user_agent": "nihil",
"proxyCountry": "us",
"customProxy": {
"host": "proxy.example.com",
"port": 8080,
"username": "tempora",
"password": "M.;c1O_fWvPE]W"
}
}Response
Example response
{
"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"
}Changes
- info
added the new
gbenum value to the request property
- info
- breaking
removed the enum value
czof the request property - breaking
removed the enum value
deof the request property - breaking
removed the enum value
esof the request property - breaking
removed the enum value
frof the request property - breaking
removed the enum value
huof the request property - breaking
removed the enum value
itof the request property - breaking
removed the enum value
plof the request property - breaking
removed the enum value
roof the request property - breaking
removed the enum value
skof the request property - breaking
removed the enum value
uaof the request property - breaking
added
subschema #1subschema #2to the response bodyoneOflist for the response status - breaking
the response's body type changed from
objectto no type for status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
request body became optional
- info
the request property
became optional - info
the request property
became optional - info
the request property
became optional
- breaking