curl --request GET \
--url https://app.onlyfansapi.com/api/{account}/banking/details/account-country \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": 212,
"code": "US",
"name": "United States of America",
"hasStates": true,
"hasZip": true,
"canPay": true,
"canHasW9Form": true
},
"_meta": {
"_credits": {
"used": 1,
"balance": 1000000008,
"note": "Always"
},
"_cache": {
"is_cached": false,
"note": "Cache disabled for this endpoint"
},
"_rate_limits": {
"limit_minute": 10000000,
"limit_day": 50000,
"remaining_minute": 9999999,
"remaining_day": 49956
}
}
}
Returns the account owner’s country details for banking, including country code, name, whether the country has states and zip codes, payout eligibility, and W9 form availability.
curl --request GET \
--url https://app.onlyfansapi.com/api/{account}/banking/details/account-country \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": 212,
"code": "US",
"name": "United States of America",
"hasStates": true,
"hasZip": true,
"canPay": true,
"canHasW9Form": true
},
"_meta": {
"_credits": {
"used": 1,
"balance": 1000000008,
"note": "Always"
},
"_cache": {
"is_cached": false,
"note": "Cache disabled for this endpoint"
},
"_rate_limits": {
"limit_minute": 10000000,
"limit_day": 50000,
"remaining_minute": 9999999,
"remaining_day": 49956
}
}
}
You can retrieve your token by visiting the OnlyFansAPI Console and clicking API Keys -> Create API Key.
The Account ID
Success
The response is of type object
.