OnlyFans API icon

OnlyFans API

Consume the OnlyFans API

Actions147

Statistics → Get Profile Visitors

AI-generated

Summary

Retrieve profile visitor statistics for a specified OnlyFans account within a defined date range, optionally filtering and limiting the results.

Inputs

  • Account ID (required) — The ID of the OnlyFans account for which to retrieve visitor statistics.
  • Start Date (required) — The start date and time for the statistics period, formatted as 'YYYY-MM-DD HH:mm:ss'.
  • End Date (required) — The end date and time for the statistics period, formatted as 'YYYY-MM-DD HH:mm:ss'.
  • Additional Fields — Optional parameters to refine the visitor statistics, including:
  • Type: filter visitors by 'all', 'users', or 'guests' (default 'total').
  • Filter: refine results by 'chart' or 'topCountries' (default 'chart').
  • Limit: maximum number of results to return (default 50, minimum 1).

Output shape

a list of visitor statistics objects

The output consists of an array of JSON objects representing visitor data filtered by the specified account and date range. The shape and content may vary depending on the 'Type' and 'Filter' additional fields. Pagination is controlled via the 'Limit' parameter. Errors return an object with an 'error' message.

Examples

Example 1: Retrieve all visitor statistics for account '1234' from January 1 to March 31, 2025, filtered for chart data, limit 50.

Account ID='1234', Start Date='2025-01-01 00:00:00', End Date='2025-03-31 23:59:59', Additional Fields: Type='total', Filter='chart', Limit=50

Discussion