LOCAL CONNECT TOOL

Connect OnlyFans or Fansly from your own machine

An open source script that logs into the real OnlyFans or Fansly login page in a browser on your own computer, then hands the session to your own CreatorAPI key. Your own IP, your own device, your password never touches this script.

About 250 lines · Python 3.9+ · needs a full scope CreatorAPI key

What it does

Three steps, all visible in the source before you run anything.

1

Real login, your machine

Opens a real Chromium window locally, pointed at the real onlyfans.com or fansly.com. You log in yourself, including your own two factor code.

2

Reads only a handful of cookies

After login, it reads the same session cookies and two localStorage values your own browser's DevTools would show, nothing else.

3

Sends to your CreatorAPI key

Registers the account with POST /v1/connect/import using your own API key. That is the only place it ever sends data.

Setup

Download the two files, install, run.

# 1. get the files
curl -O https://creator-api.com/tools/creatorapi-connect.py
curl -O https://creator-api.com/tools/creatorapi-connect-requirements.txt

# 2. install
pip install -r creatorapi-connect-requirements.txt
playwright install chromium

# 3. run (or just run with no flags and answer the prompts)
python creatorapi-connect.py --platform onlyfans --creator-id my_account

Your API key can also be set once via the CREATORAPI_KEY environment variable instead of typing it every run. Nothing this script touches, your key, your password, or the captured session, is ever written to disk.

Only for OnlyFans and Fansly

The other two platforms already connect without any browser automation.

4based

Plain identifier and password login, no browser needed. Built directly into /connect.

Fanvue

Paste an access token from your Fanvue account settings, also built directly into /connect.

OnlyFans and Fansly

Both need a real login, hosted on /connect by default, or locally with this tool.

Questions

Does this tool see my OnlyFans or Fansly password?

No. It opens a real browser on your own machine pointed at the real onlyfans.com or fansly.com login page. Your password and two factor code go straight to the platform, never to this script or to CreatorAPI. After you log in, the script only reads a handful of session cookies from that browser tab.

Need a CreatorAPI key first?

Start free with 1,000 credits, no card, then come back and run the script.