Authorizations
You can retrieve your token by visiting the OnlyFansAPI Console and clicking API Keys -> Create API Key.
Path Parameters
The Account ID
Body
application/json
The username to check.
Example:
"MyNewUsername"
curl --request POST \
--url https://app.onlyfansapi.com/api/{account}/settings/username-exists \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"username": "MyNewUsername"
}'
{
"data": {
"success": false
},
"_meta": {
"_credits": {
"used": 1,
"balance": 999999972,
"note": "Always"
},
"_cache": {
"is_cached": false,
"note": "Cache disabled for this endpoint"
},
"_rate_limits": {
"limit_minute": 10000000,
"limit_day": 50000,
"remaining_minute": 9999994,
"remaining_day": 49973
}
}
}
Check if a username is taken. Returns false
if the username is available, true
if it is already taken.
curl --request POST \
--url https://app.onlyfansapi.com/api/{account}/settings/username-exists \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"username": "MyNewUsername"
}'
{
"data": {
"success": false
},
"_meta": {
"_credits": {
"used": 1,
"balance": 999999972,
"note": "Always"
},
"_cache": {
"is_cached": false,
"note": "Cache disabled for this endpoint"
},
"_rate_limits": {
"limit_minute": 10000000,
"limit_day": 50000,
"remaining_minute": 9999994,
"remaining_day": 49973
}
}
}
You can retrieve your token by visiting the OnlyFansAPI Console and clicking API Keys -> Create API Key.
The Account ID
The username to check.
"MyNewUsername"