OnlyFans API
Settings

Check Username Availability

Check if a username is taken. Returns `false` if the username is available, `true` if it is already taken.

POST
/api/{account}/settings/username-exists
AuthorizationBearer <token>

Get your API Key from OnlyFansAPI Console - https://app.onlyfansapi.com/api-keys

In: header

Path Parameters

accountstring

The Account ID

usernamestring

The username to check.

Response Body

curl -X POST "https://app.onlyfansapi.com/api/string/settings/username-exists" \
  -H "Content-Type: application/json" \
  -d '{
    "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
    }
  }
}