API Keys
Banking
Connect OnlyFans Account
Mass Messaging
Media Vault
Media Vault Lists
Notifications
Payouts
Post Comments
Post Labels
Posts
Public Profiles
Saved For Later (Messages)
Saved For Later (Posts)
Statistics | Reach
Statistics | Statements
Tracking Links
Transactions
Trial Links
Users
Public Profiles
Get Profile Details
Get profile details by username.
GET
/
api
/
profiles
/
{username}
Get Profile Details
Copy
curl --request GET \
--url https://app.onlyfansapi.com/api/profiles/{username} \
--header 'Authorization: Bearer <token>'
Copy
{
"error": "Unauthorized. Go to https://app.onlyfansapi.com/api-keys to get your API key."
}
Authorizations
You can retrieve your token by visiting the OnlyFansAPI Console and clicking API Keys -> Create API Key.
Path Parameters
The username of the profile to get
Response
401 - application/json
The response is of type object
.
Get Profile Details
Copy
curl --request GET \
--url https://app.onlyfansapi.com/api/profiles/{username} \
--header 'Authorization: Bearer <token>'
Copy
{
"error": "Unauthorized. Go to https://app.onlyfansapi.com/api-keys to get your API key."
}
Assistant
Responses are generated using AI and may contain mistakes.