curl --request GET \
--url https://app.onlyfansapi.com/api/profiles/{username} \
--header 'Authorization: Bearer <token>'
{
"error": "Unauthorized. Go to https://app.onlyfansapi.com/api-keys to get your API key."
}
Get profile details by username.
curl --request GET \
--url https://app.onlyfansapi.com/api/profiles/{username} \
--header 'Authorization: Bearer <token>'
{
"error": "Unauthorized. Go to https://app.onlyfansapi.com/api-keys to get your API key."
}
You can retrieve your token by visiting the OnlyFansAPI Console and clicking API Keys -> Create API Key.
The username of the profile to get
The response is of type object
.