curl --request POST \
--url https://app.onlyfansapi.com/api/authenticate \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"email": "hpurdy@example.org",
"password": ")@d)j9X&G",
"proxyCountry": "de"
}'
{
"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"
}
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.
curl --request POST \
--url https://app.onlyfansapi.com/api/authenticate \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"email": "hpurdy@example.org",
"password": ")@d)j9X&G",
"proxyCountry": "de"
}'
{
"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"
}
You can retrieve your token by visiting the OnlyFansAPI Console and clicking API Keys -> Create API Key.
The response is of type object
.