curl --request GET \
--url https://app.onlyfansapi.com/api/{account}/banking/details/legal-form \
--header 'Authorization: Bearer <token>'
{
"data": {
"realFirstName": "first name",
"realLastName": "last name",
"realBusinessName": "business name",
"realAddress": "123 Street Name",
"realCity": "city name",
"realState": "AA",
"realPostal": "12345",
"realTwitter": "TwitterUsername",
"realInstagram": "https://www.instagram.com/instagram",
"privateWebsite": "https://example.com",
"dateOfBirth": "2000-01-01T00:00:00+00:00",
"documentType": {
"values": [
{
"code": "passport",
"name": "Passport"
},
{
"code": "id_card",
"name": "ID Card"
},
{
"code": "drivers_license",
"name": "Drivers License"
}
]
},
"isAllowedDL": true
},
"_meta": {
"_credits": {
"used": 1,
"balance": 1000000005,
"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": 49953
}
}
}
Returns the account owner’s legal form details for banking, including personal or business name, address, social media links, date of birth, and available document types for identity verification.
curl --request GET \
--url https://app.onlyfansapi.com/api/{account}/banking/details/legal-form \
--header 'Authorization: Bearer <token>'
{
"data": {
"realFirstName": "first name",
"realLastName": "last name",
"realBusinessName": "business name",
"realAddress": "123 Street Name",
"realCity": "city name",
"realState": "AA",
"realPostal": "12345",
"realTwitter": "TwitterUsername",
"realInstagram": "https://www.instagram.com/instagram",
"privateWebsite": "https://example.com",
"dateOfBirth": "2000-01-01T00:00:00+00:00",
"documentType": {
"values": [
{
"code": "passport",
"name": "Passport"
},
{
"code": "id_card",
"name": "ID Card"
},
{
"code": "drivers_license",
"name": "Drivers License"
}
]
},
"isAllowedDL": true
},
"_meta": {
"_credits": {
"used": 1,
"balance": 1000000005,
"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": 49953
}
}
}
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
.