Reach

Get Profile Visitors Top Countries

Ranked country breakdown of profile-page visits — guests + signed-in users + paying subscribers — with an Others rollup row. Requires permission api_reach_read_profile_visitors_countries.

https://public-api.buffmetrics.com
GET/v1/{account_id}/reach/profile-visitors/countries
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.

Query Parameters

  • start_datestring

    Window start. Default 2 years ago, UTC.

  • end_datestring

    Window end. Default end of today, UTC.

  • bystring

    Bucket: total (default), guests, users, subscribers.

  • limitinteger

    Top-N rows. Default 10. Capped at 100.

curl --request GET "https://public-api.buffmetrics.com/v1/acct_XXXXX/reach/profile-visitors/countries?start_date=sample_start_date&end_date=sample_end_date&by=sample_by" \
  --header "Authorization: Bearer YOUR_API_KEY"

Response

200
{
"data":{
"isAvailable":true
"hasStats":true
"topCountries":{
"hasMore":true
"totals":{
"total":2581195
"guests":"22445"
"users":"2558750"
"subscribers":0
}
"rows":[
0:{
"rank":1
"countryName":"United States"
"countryCode":"US"
"viewsCount":{
"total":1407253
"guests":11635
"users":1395618
"subscribers":0
}
}
1:{
"rank":4
"countryName":"Others"
"countryCode":""
"viewsCount":{
"total":862812
"guests":8972
"users":853840
"subscribers":0
}
}
]
}
}
"_meta":{
"_credits":{
"used":1
}
"_rate_limits":{
"limit_minute":1000
"remaining_minute":999
"limit_day":50000
"remaining_day":49999
}
}
}