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
Account
Get Current Account
Get OnlyFans Profile details for the currently used Account
GET
/
api
/
{account}
/
me
Get Current Account
Copy
curl --request GET \
--url https://app.onlyfansapi.com/api/{account}/me \
--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 Account ID
Response
401 - application/json
The response is of type object
.
Get Current Account
Copy
curl --request GET \
--url https://app.onlyfansapi.com/api/{account}/me \
--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.