# OnlyFans Profile Scraper (`shbernal/onlyfans-profile`) Actor

Logged-out OnlyFans profile, social links and full post timeline (ids and publish times).

- **URL**: https://apify.com/shbernal/onlyfans-profile.md
- **Developed by:** [Santiago Hernandez](https://apify.com/shbernal) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 creator profiles

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## OnlyFans Profile Scraper with Post Timeline

Public OnlyFans profile data plus the creator's full post timeline, without a login or cookies.

You get the same complete profile object other OnlyFans profile scrapers return: price, promotions, likes, media counts, bio, flags. On top of that, you get the date of every post and posting-cadence numbers computed from it.

- **Full profile**: about 90 fields per creator, as OnlyFans returns them.
- **Post timeline**: the ID and publish time of every post, newest first, back to the first post.
- **Posting cadence**: last post date, posts in the last 7, 30 and 90 days, median days between posts.
- **Scheduler signal**: share of recent posts published in the first 3 minutes of an hour.
- **Social links**: the social buttons shown on the creator's page.
- **Flexible input**: profile URLs (tracking suffixes like `/c2` are stripped), `@handles` or bare usernames.

### Why this one?

| | This actor | Typical profile scrapers |
| --- | --- | --- |
| Raw profile object | Yes | Yes |
| Promotions, bundles, trial claims | Yes | Yes |
| Social links | Yes | Some |
| Date of every post | Yes | No |
| Posts in the last 7 / 30 / 90 days | Yes | No |
| Login or cookies | Not needed | Not needed |

`postsCount` alone can't tell an active creator from one who stopped posting a year ago. The timeline can.

### Input

```json
{
    "startUrls": ["https://onlyfans.com/onlyfans", "@someone", "another.creator"],
    "includePosts": true,
    "maxPosts": 500,
    "includeSocialLinks": true
}
```

- `includePosts`: fetch the post timeline. One request per 50 posts.
- `maxPosts`: newest posts to keep, 500 by default, 0 for every post. When the cap is hit, `postsTruncated` is `true` and any 7/30/90-day count the fetched posts can't fully cover is `null` instead of a wrong number.
- `includeSocialLinks`: one extra request per profile.
- `proxyConfiguration`: off by default. Datacenter Apify Proxy or your own proxy URLs; a fresh IP is used after each rate limit. Residential proxy is not needed and is switched to datacenter.

### Output

One dataset item per creator. Shortened example:

```json
{
    "id": 15585607,
    "username": "onlyfans",
    "name": "OnlyFans",
    "isVerified": true,
    "subscribePrice": 0,
    "favoritedCount": 1159062,
    "subscribersCount": 6250480,
    "postsCount": 5205,
    "videosCount": 5205,
    "joinDate": "2019-11-29T00:00:00+00:00",
    "lastPostAt": "2026-11-11T05:01:11+00:00",
    "postsLast7Days": 28,
    "postsLast30Days": 105,
    "postsLast90Days": 285,
    "medianDaysBetweenPosts": 0.25,
    "onTheHourShare": 0.07,
    "postsTruncated": true,
    "socialButtons": [],
    "posts": [
        { "id": 2690418768, "postedAt": "2026-11-11T05:01:11+00:00" },
        { "id": 2736212351, "postedAt": "2026-11-10T23:04:42+00:00" }
    ],
    "inputUrl": "https://onlyfans.com/onlyfans",
    "scrapedAt": "2026-11-11T09:40:00+00:00"
}
```

The **Overview** tab of the dataset shows the main numbers as a table. A per-input status list (`ok`, `notFound`, `invalid`, `duplicate`, `error`) is saved in the `RUN_SUMMARY` record of the run's key-value store.

### Pricing

Pay per event: a small fee per run plus a fee per creator returned. Creators that don't exist and invalid inputs are not charged.

### Limits

- Only public data. Post text, media, likes per post and anything behind the paywall need a subscription and are not returned.
- `subscribersCount` is only filled when the creator chooses to show it.
- This is an independent tool, not affiliated with OnlyFans.

# Actor input Schema

## `startUrls` (type: `array`):

Profile URLs, @handles or handles. Campaign suffixes like /c2 are stripped.

## `includePosts` (type: `boolean`):

Every post's id and publish time, newest first. One request per 50 posts.

## `maxPosts` (type: `integer`):

Newest posts to include in the timeline. 0 = every post. Large creators take about 5 s per 50 posts.

## `includeSocialLinks` (type: `boolean`):

Social buttons shown on the profile. One extra request per profile.

## `concurrency` (type: `integer`):

Profiles scraped in parallel.

## `proxyConfiguration` (type: `object`):

Off by default. Datacenter Apify Proxy or your own proxy URLs; residential is switched to datacenter. A fresh proxy URL is used after each rate limit or network error.

## Actor input object example

```json
{
  "startUrls": [
    "https://onlyfans.com/onlyfans"
  ],
  "includePosts": true,
  "maxPosts": 500,
  "includeSocialLinks": true,
  "concurrency": 10,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "startUrls": [
        "https://onlyfans.com/onlyfans"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("shbernal/onlyfans-profile").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "startUrls": ["https://onlyfans.com/onlyfans"] }

# Run the Actor and wait for it to finish
run = client.actor("shbernal/onlyfans-profile").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startUrls": [
    "https://onlyfans.com/onlyfans"
  ]
}' |
apify call shbernal/onlyfans-profile --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,shbernal/onlyfans-profile"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/sAkShtvubgt9PLzIS/builds/tVcCbuTVfnkvKOENF/openapi.json
