Fans

FansMetric data

Update Fan Custom Name

Sets your team's own name for a fan on one account. Saved inside FansMetric only — to change the name OnlyFans shows, use Update Fan Display Name. Requires permission api_fm_fans_update_name.

https://public-api.fansmetric.com
PATCH/v1/{account_id}/fm/fans/{fan_id}/name
Bearer

Authorization

default
AuthorizationBearer <token>

Send your FansMetric API key as a Bearer token in the Authorization header.

In: header

Path Parameters

  • account_id*integer

    OnlyFans numeric account ID.

  • fan_id*integer

    Fan's OnlyFans numeric user ID.

Request Body

application/json
  • name*string

    The label. An empty string "" is stored and returned as "". Omitting the key, or sending null, returns 400.

Response Fields

  • data.namestring

    The value now stored.

  • dataobject | array

    Endpoint-specific payload. See the fields below for this route.

  • _meta._credits.usedinteger

    Credits consumed by this request (currently always 1).

  • _meta._rate_limits.limit_minuteinteger

    Maximum requests per minute for the organization.

  • _meta._rate_limits.remaining_minuteinteger

    Remaining requests in the current minute window.

  • _meta._rate_limits.limit_dayinteger

    Maximum requests per day for the organization.

  • _meta._rate_limits.remaining_dayinteger

    Remaining requests in the current day window.

curl --request PATCH "https://public-api.fansmetric.com/v1/100000001/fm/fans/XXXXX/name" \
  --header "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  --data '{
  "name": "VIP"
}'

Response

200
{
"data":{
"name":"VIP"
}
"_meta":{
"_credits":{
"used":1
}
"_rate_limits":{
"limit_minute":1000
"remaining_minute":999
"limit_day":50000
"remaining_day":49999
}
}
}