# Fansly Scraper & Search Actor (`bovi/fansly-scraper`) Actor

Collect public Fansly creator, media-tag, live-suggestion, and profile records without logging in. Run with an action and a query or usernames. Pricing: $0.0037 per result and $0.00005 per Actor Start on Free.

- **URL**: https://apify.com/bovi/fansly-scraper.md
- **Developed by:** [Vitalii Bondarev](https://apify.com/bovi) (community)
- **Categories:** Social media
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 85.2% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.70 / 1,000 fansly scraper & search actors

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## Fansly Scraper & Search Actor

Extract publicly available creator, media-tag, live-suggestion and profile data from Fansly discovery endpoints without logging in. On the Free plan, each result costs $0.0037 and each Actor Start event costs $0.00005.

- Search public creator discovery results with a query to collect creator records.
- Extract media-tag suggestions with labels, public post/view counts, and suggestion scores when available.
- Retrieve public live suggestions for live-content discovery.
- Look up one username or a comma-separated list to collect public profile records.
- Run without a Fansly login; the Actor does not request private messages, paid media, or subscriber-only content.

### What you get

The Actor supports four public-data actions: creator search, media-tag suggestions, live suggestions, and profile lookup. Records are written to an Apify dataset using the fields below.

| Field | Type | Appears in | Contents |
|---|---|---|---|
| `record_type` | string | Creator, media-tag, live-suggestion, and profile records | `creator`, `media_tag`, `live_suggestion`, or `profile`; never `null` or empty |
| `id` | string | Account and media-tag records | Fansly account ID or tag ID |
| `username` | string | Creator, live, and profile records | Fansly username |
| `display_name` | string | Account records | Public display name |
| `url` | string | Account records | Fansly profile URL generated from the username |
| `created_at` | ISO 8601 string | Account records | Profile creation timestamp |
| `follow_count` | integer | Account records | Public follower count |
| `subscriber_count` | integer | Account records | Public subscriber count |
| `about` | string | Profile records | Public profile bio |
| `tag` | string | Media-tag records | Media tag |
| `label` | string | Media-tag records | Tag label |
| `post_count` | integer | Media-tag records | Public post count for the tag |
| `view_count` | integer | Media-tag records | Public view count for the tag |
| `score` | number | Media-tag records | Suggestion score |
| `query` | string | Creator and media-tag searches | Search query used for the record |
| `scraped_at` | ISO 8601 string | Creator, media-tag, live-suggestion, and profile records | UTC timestamp for the collection; never `null` or empty |

The fields a record carries depend on what Fansly returns for it; run once with `maxResults` set to `1` to see them for your input.

### Sample output

This is one complete creator record from the dataset sample.

```json
{
  "record_type": "creator",
  "scraped_at": "2026-10-28T09:06:23.500045+00:00",
  "id": "438338355743174656",
  "username": "tiny_joy",
  "url": "https://fansly.com/tiny_joy",
  "display_name": "Tiny Joy 🤍",
  "created_at": "2022-10-17T10:26:07+00:00",
  "follow_count": 56320,
  "subscriber_count": 0,
  "query": "cosplay"
}
```

### Pricing

Pricing uses a pay-per-event model. The Actor charges for the following events:

| Event | Billing unit | Price | Condition |
|---|---|---:|---|
| `apify-default-dataset-item` | One scraped result with all fields | $0.0037 per event on the Free plan | Charged for each result written to the dataset |
| `apify-actor-start` | One Actor Start event | $0.00005 per event on the Free plan | Charged when the Actor starts; charged once per GB of run memory, with a minimum of one event |

100 results plus one Actor Start event cost $0.37005 on the Free plan; 1,000 results cost $3.70 and 10,000 results cost $37.00, both before the $0.00005 Actor Start event.

The Apify Free plan includes $5 of platform credit each month. The $5 credit covers 1,351 result events after one Actor Start event.

You pay only for the events listed above. This Actor does not use the Pay per event + usage option, so the platform usage of your runs (compute, proxy traffic and storage) is not billed to you separately.

### How to use

1. **Choose** one action: `search-creators`, `search-media`, `lives-suggestions`, or `profile`.
2. **Enter** `query` for `search-creators` or `search-media`; both actions require a non-empty search query.
3. **Enter** one username or comma-separated usernames in `usernames` when using `profile`.
4. **Set** `maxResults` to the maximum number of records to store and use `offset` when requesting a later result position.
5. **Optionally provide** `proxyConfiguration` to set Apify proxy options.
6. **Run** the Actor and inspect the resulting dataset.
7. **Repeat** the run through Apify Schedules; daily is a reasonable starting point for recurring public discovery collection.

```json
{
  "action": "search-creators",
  "query": "cosplay",
  "maxResults": 50,
  "offset": 0
}
```

Export the dataset as JSON or CSV, or read it through the Apify dataset API.

### Input parameters

| Parameter | What it does | Default |
|---|---|---|
| `action` | Selects `search-creators`, `search-media`, `lives-suggestions`, or `profile`. | `search-creators` |
| `query` | Supplies the keyword for creator or media-tag search. | `cosplay` in the input form |
| `usernames` | Supplies one Fansly username or comma-separated usernames for `profile`. | Empty string |
| `maxResults` | Limits the number of records stored in the dataset. | `50` |
| `offset` | Sets the result offset for paginated actions. Negative values are normalized to `0`. | `0` |
| `proxyConfiguration` | Optional Apify proxy settings. | Apify residential proxy enabled |

### Limits and edge cases

Rows reach the dataset one at a time after fetching and parsing. If a run is aborted or fails after pushing starts, already-pushed rows remain; a fetch HTTP error, non-JSON response, unsuccessful API response, or 40-second timeout occurs before records from that fetch are pushed.

| Condition | What happens | What to do |
|---|---|---|
| Invalid `action`, empty `query` for a search action, or empty `usernames` for `profile` (including when the offset removes every username) | The run raises an error naming the missing or invalid input. | Use a supported action, a non-empty query, or at least one username, and check the offset. |
| `maxResults` is `0` or negative | The Actor returns before fetching data and writes no records. | Set `maxResults` to at least `1`. |
| `maxResults` exceeds the available records, or `offset` is past the available records | Fewer records than the requested maximum, or no records, are written. | Use a smaller `offset`. |
| `offset` is set | Creator search and profile lookup apply slicing locally; media-tag and live-suggestion actions send `limit` and `offset` to their Fansly endpoints. | Check which action you run before setting `offset`. |
| A returned account has neither an ID nor a username, or a returned media-tag item has no ID, tag, or label | The parser skips that account or item instead of writing it. | Check the returned public data and run again if the source response changes. |
| Fansly returns an HTTP error, non-JSON response, or unsuccessful API response, or an HTTP request reaches its configured 40-second timeout | The fetch raises an error, and records from that fetch are not pushed before the error. | Check the action, query or usernames, proxy configuration, and source response, then run again. |

### FAQ

#### How much does it cost to scrape Fansly?

You pay per result plus one Actor Start event per run; see the Pricing section for the Free-plan rates and totals.

#### What can this Fansly Actor collect?

It can search public creator discovery results, return media-tag suggestions, retrieve public live suggestions, and look up one or more public creator profiles. It does not require a Fansly login.

#### Why did my run return fewer results or no results?

The source may return fewer records than `maxResults`, an `offset` may be past the available results, or the parser may skip records without the required identifying fields. For creator and media searches, check `query`; for profile lookup, check `usernames` and the offset.

#### Why is my run not working?

The Actor raises an error when the action is invalid, a required query or username is missing, or Fansly returns an HTTP error, non-JSON response, or unsuccessful API response. Check the input values and optional proxy configuration, then run it again.

#### Is it legal to use public Fansly data?

This Actor collects public data from Fansly discovery endpoints without logging in. Whether a particular use is allowed depends on the source terms and applicable law for your use case, so review those requirements before using the data.

# Actor input Schema

## `action` (type: `string`):

Choose the public Fansly data to collect.

## `query` (type: `string`):

Keyword for creator or media-tag search.

## `usernames` (type: `string`):

One Fansly username, or comma-separated usernames, for the profile action.

## `maxResults` (type: `integer`):

Maximum number of records to store.

## `offset` (type: `integer`):

Result offset for paginated actions.

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

Optional Apify proxy settings. Disabled by default.

## Actor input object example

```json
{
  "action": "search-creators",
  "query": "cosplay",
  "usernames": "",
  "maxResults": 50,
  "offset": 0,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

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

Dataset with the scraped records.

# 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 = {
    "action": "search-creators",
    "query": "cosplay",
    "usernames": "",
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("bovi/fansly-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 = {
    "action": "search-creators",
    "query": "cosplay",
    "usernames": "",
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("bovi/fansly-scraper").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 '{
  "action": "search-creators",
  "query": "cosplay",
  "usernames": "",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call bovi/fansly-scraper --silent --output-dataset

```

## MCP server setup

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

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/S3x5RHi2d8YVbwoSA/builds/OEwaenUqlcEzKDLFs/openapi.json
