# OnlyFans Profile Scraper 👩‍💻 (`easyapi/onlyfans-profile-scraper`)

Extract detailed profile information from OnlyFans creator pages including stats, media counts, and profile details. Perfect for creator analytics and market research.

- **URL**: https://beta-securitybyobscurity.apify.com/easyapi/onlyfans-profile-scraper.md
- **Developed by:** [EasyApi](https://beta-securitybyobscurity.apify.com/easyapi) (community)
- **Categories:** Social media, Integrations
- **Stats:** 28 total users, 6 monthly users, 100.0% runs succeeded, 3 bookmarks
- **User rating**: No ratings yet

## Pricing

$19.99/month + usage

To use this Actor, you pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period.
You also pay for the Apify platform usage, which gets cheaper the higher Apify subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#rental-actors

# README

## OnlyFans Profile Scraper 👩‍💻

Extract comprehensive profile data from OnlyFans creator pages with ease! This actor helps you gather detailed information about OnlyFans creators including their statistics, media counts, engagement metrics, and profile details.

### 🎯 Use Cases

- Creator Market Research
- Social Media Analytics
- Content Creator Discovery
- Engagement Metrics Analysis
- Profile Performance Tracking

### ✨ Features

- 🔍 Detailed profile information extraction
- 📊 Complete statistics (subscribers, posts, media counts)
- 📸 Media information (photos, videos, archived content)
- 💫 Engagement metrics (favorites, last seen)
- 🔒 Profile verification status
- 💰 Subscription pricing details
- 📅 Join date and activity information

### 🔢 Output Data

The actor provides detailed JSON output including:

- Basic profile information (name, username, bio)
- Profile statistics and counts
- Media information
- Subscription details
- Engagement metrics
- Profile verification status
- Timestamps and activity data

### 💡 Input Parameters

| Parameter | Type | Description |
|-----------|------|-------------|
| profileUrls | Array | List of OnlyFans profile URLs to scrape |
| maxItems | Integer | Maximum number of items to scrape (optional) |
| proxyConfiguration | Object | Proxy settings (optional) |

### 📌 Limitations

- Respects OnlyFans' terms of service and rate limits
- Only public profile information is collected
- Requires valid profile URLs

### 💪 Benefits

- Fast and efficient data collection
- Structured JSON output
- Proxy support
- Reliable and maintained regularly
- Easy to integrate with other tools

#### Input Example

A full explanation of an input example in JSON.

```json
{
    "profileUrls": [
        "https://onlyfans.com/elenafleur"
    ]
}
```

#### Output sample

The results will be wrapped into a dataset which you can always find in the **Storage** tab. Here's an excerpt from the data you'd get if you apply the input parameters above:

And here is the same data but in JSON. You can choose in which format to download your data: JSON, JSONL, Excel spreadsheet, HTML table, CSV, or XML.

```json
[
    {
        "profileUrl": "https://onlyfans.com/elenafleur",
        "scrapedAt": "2025-01-25T05:47:18.176Z",
        "profile": {
            "view": "f",
            "avatar": "https://public.onlyfans.com/files/u/ug/ug2/ug20zm6ukkm1fyptii6ewqzgcrxqhnqa1735848314/229147962/avatar.jpg",
            "avatarThumbs": {
                "c50": "https://thumbs.onlyfans.com/public/files/thumbs/c50/u/ug/ug2/ug20zm6ukkm1fyptii6ewqzgcrxqhnqa1735848314/229147962/avatar.jpg",
                "c144": "https://thumbs.onlyfans.com/public/files/thumbs/c144/u/ug/ug2/ug20zm6ukkm1fyptii6ewqzgcrxqhnqa1735848314/229147962/avatar.jpg"
            },
            "header": "https://public.onlyfans.com/files/j/ja/jac/jacfvecwbaumfli9eq7d26qduz82qnei1735850013/229147962/header_image.jpg",
            "headerSize": {
                "width": 4096,
                "height": 2730
            },
            "headerThumbs": {
                "w480": "https://thumbs.onlyfans.com/public/files/thumbs/w480/j/ja/jac/jacfvecwbaumfli9eq7d26qduz82qnei1735850013/229147962/header_image.jpg",
                "w760": "https://thumbs.onlyfans.com/public/files/thumbs/w760/j/ja/jac/jacfvecwbaumfli9eq7d26qduz82qnei1735850013/229147962/header_image.jpg"
            },
            "id": 229147962,
            "name": "Elena Fleur",
            "username": "elenafleur",
            "canLookStory": false,
            "canCommentStory": false,
            "hasNotViewedStory": false,
            "isVerified": true,
            "canPayInternal": false,
            "hasScheduledStream": false,
            "hasStream": false,
            "hasStories": false,
            "tipsEnabled": false,
            "tipsTextEnabled": true,
            "tipsMin": 5,
            "tipsMinInternal": 1,
            "tipsMax": 200,
            "canEarn": true,
            "canAddSubscriber": true,
            "subscribePrice": 0,
            "isRestricted": false,
            "canRestrict": true,
            "subscribedBy": false,
            "subscribedByExpire": null,
            "subscribedByExpireDate": null,
            "subscribedByAutoprolong": null,
            "subscribedIsExpiredNow": null,
            "currentSubscribePrice": null,
            "subscribedOn": false,
            "subscribedOnExpiredNow": null,
            "subscribedOnDuration": null,
            "joinDate": "2022-04-03T00:00:00+00:00",
            "isReferrerAllowed": true,
            "about": "**90% OFF MY VIP**👉 <a href=\"https://onlyfans.com/tinyelena/c72\">onlyfans.com/tinyelena/c72</a><br />\n<br />\nI hope you are ready to go on an adventure🧘‍♀️🌲",
            "isMarkdownDisabledForAbout": false,
            "website": null,
            "wishlist": null,
            "location": "check my bio 🙈",
            "postsCount": 294,
            "archivedPostsCount": 2,
            "privateArchivedPostsCount": 758,
            "photosCount": 280,
            "videosCount": 3,
            "audiosCount": 0,
            "mediasCount": 283,
            "lastSeen": "2025-01-25T05:44:01+00:00",
            "favoritesCount": 944,
            "favoritedCount": 73013,
            "showPostsInFeed": false,
            "canReceiveChatMessage": false,
            "isPerformer": true,
            "isRealPerformer": true,
            "isSpotifyConnected": false,
            "subscribersCount": 67186,
            "hasPinnedPosts": true,
            "hasLabels": true,
            "canChat": true,
            "avatarHeaderConverterUpload": true,
            "isPrivateRestriction": false,
            "showSubscribersCount": true,
            "showMediaCount": true,
            "subscribedByData": null,
            "subscribedOnData": null,
            "canCreatePromotion": false,
            "canCreateTrial": false,
            "isAdultContent": false,
            "canTrialSend": false,
            "hasLinks": false,
            "referalBonusSummForReferer": 4331.2,
            "finishedStreamsCount": 0,
            "shouldShowFinishedStreams": false,
            "hasSavedStreams": false,
            "firstPublishedPostDate": "2022-04-17T00:00:00+00:00",
            "isSpringConnected": false,
            "isFriend": false,
            "isBlocked": false,
            "canReport": false
        }
    }
]
```

# Actor input Schema

## `profileUrls` (type: `array`):

List of OnlyFans profile URLs to scrape

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

Proxy settings for the scraper

## Actor input object example

```json
{
  "profileUrls": [
    "https://onlyfans.com/elenafleur"
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("easyapi/onlyfans-profile-scraper").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 = {}

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

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

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

```

## CLI example

```bash
echo '{}' |
apify call easyapi/onlyfans-profile-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=easyapi/onlyfans-profile-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "OnlyFans Profile Scraper 👩‍💻",
        "description": "Extract detailed profile information from OnlyFans creator pages including stats, media counts, and profile details. Perfect for creator analytics and market research.",
        "version": "0.0",
        "x-build-id": "bOtYlevzxGmlx7k0y"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/easyapi~onlyfans-profile-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-easyapi-onlyfans-profile-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/easyapi~onlyfans-profile-scraper/runs": {
            "post": {
                "operationId": "runs-sync-easyapi-onlyfans-profile-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/easyapi~onlyfans-profile-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-easyapi-onlyfans-profile-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "profileUrls"
                ],
                "properties": {
                    "profileUrls": {
                        "title": "Profile URLs",
                        "type": "array",
                        "description": "List of OnlyFans profile URLs to scrape",
                        "default": [
                            "https://onlyfans.com/elenafleur"
                        ],
                        "items": {
                            "type": "string"
                        }
                    },
                    "proxyConfiguration": {
                        "title": "Proxy Configuration",
                        "type": "object",
                        "description": "Proxy settings for the scraper",
                        "default": {
                            "useApifyProxy": false
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
