curl --request GET \
--url https://app.onlyfansapi.com/api/{account}/fans/expired \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"limit": 13,
"offset": 33,
"type": "all",
"filter": []
}'
{
"error": "Unauthorized. Go to https://app.onlyfansapi.com/api-keys to get your API key."
}
Get a paginated list of expired fans for an Account. Newest fans are first.
curl --request GET \
--url https://app.onlyfansapi.com/api/{account}/fans/expired \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"limit": 13,
"offset": 33,
"type": "all",
"filter": []
}'
{
"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 Account ID
The response is of type object
.