ofapisv1
integration

OnlyFans + n8n

To run OnlyFans in n8n you only need one node: the HTTP Request node calls any REST API, so ofapis drops straight into your workflows. If you self-host n8n, this keeps the whole pipeline — credentials, data, logs — on infrastructure you control, which is why agencies handling multiple creators tend to prefer it over cloud-only tools.

The node you need: HTTP Request + Header Auth credential

Do not paste the token into the node. n8n has a reusable Header Auth credential that keeps it encrypted and out of exported workflows:

  1. Credentials → New → Header Auth. Name = Authorization, Value = Bearer ofapis_sk_.... Save.
  2. Add an HTTP Request node.
  3. Authentication = Generic Credential Type → Header Auth, pick the credential above.
  4. Method and URL = your ofapis endpoint.
  5. For POSTs, set Body Content Type = JSON and turn on Send Body.
POST https://api.ofapis.com/api/public/v1/accounts/42/scheduled/posts
Content-Type: application/json

{ "mediaFiles": [88123], "scheduledAt": "2026-06-20T18:00:00Z" }

The HTTP Request node also has a built-in Import cURL button — paste any snippet from the ofapis /docs playground and it fills in method, URL, headers and body for you.

Worked example: nightly segment rebuild

Trigger: Schedule Trigger node at 03:00. Step 1 — HTTP Request GET .../accounts/42/subscribers with pagination enabled. Step 2 — an Edit Fields / Code node buckets fans by spend and last-active. Step 3 — HTTP Request POST .../accounts/42/lists/9/users to write the refreshed fan segments back. Because ofapis holds the session open server-side, the workflow never has to re-authenticate mid-run.

Three workflows to build

FAQ

Is there a community n8n node for OnlyFans?

Not needed. The core HTTP Request node reaches every ofapis endpoint, and Header Auth keeps your Bearer token encrypted.

Does self-hosting change anything about auth?

No. The Bearer token and base URL are identical whether n8n runs on n8n Cloud or your own server; self-hosting only changes where the workflow executes and where logs live.

How do I handle paginated responses?

Enable Pagination on the HTTP Request node (or loop with SplitInBatches) and read the cursor/next-page field from the ofapis response. The OpenAPI spec documents the paging parameters per endpoint.

Where do I get a token?

Create one free; the Free plan's 250 monthly credits are enough to prototype a full workflow before upgrading.

Related: Make.com · Zapier · all integrations

Related guides

All guides
Start free — 250 credits, no card
Generate a token and make your first call in minutes.
Get started