FanOptikFeaturesUse casesPricingAboutBlogBook a demoLog in
Developers

The FanOptik API

Read the earnings and connection health of every creator in your agency workspace. You get the same figures the app shows, over a REST API with signed webhooks.

Read-onlyMoney & status onlyNever fan-identifying data

Base URL  https://app.fanoptik.com

Authentication

Every request carries an API key as a Bearer token. The owner creates and revokes keys in the app under Settings → Integrations. A key is shown in full only once, when you create it. Store it then. A key can only read the workspace it was created in.

Authorization: Bearer fo_live_xxxxxxxxxxxxxxxxxxxxxxxx

Each key can make 120 requests a minute. Over the limit returns 429. A missing or invalid key returns 401.

Endpoints

GET/api/v1/creators

List the creators in your workspace.

{
  "creators": [
    { "id": "cl_...", "name": "Creator Name", "status": "active", "lastSyncAt": "2026-09-16T03:12:00Z" }
  ]
}
GET/api/v1/creators/{id}/earnings?days=30

Earnings for one creator over a window (days: 1–365, default 30). You get net (the Statements value) and gross, split by type. Figures come from FanOptik’s matched transactions.

{
  "creatorId": "cl_...",
  "windowDays": 30,
  "totals": { "count": 188, "gross": 3666.04, "net": 2932.64 },
  "byType": {
    "subscription": { "count": 126, "gross": 2519.74, "net": 2015.79 },
    "message": { "count": 61, "gross": 1100.30, "net": 880.24 },
    "tip": { "count": 1, "gross": 46.00, "net": 36.61 }
  }
}
GET/api/v1/creators/needs-relink

Creators who need someone to reconnect them. This is the most useful signal to alert on.

Webhooks

Register https:// endpoints under Settings → Integrations. FanOptik POSTs a JSON body for each event:

sync.completeda creator’s data update finished
alert.firedan account alert triggered
client.needs_relinka creator’s session ended and needs reconnecting

Every delivery is signed. We sign the raw body with HMAC-SHA256 using the webhook’s signing secret. The secret is shown once, when you create it. The signature is sent as:

X-FanOptik-Signature: sha256=<hex digest of the raw request body>

Verify by recomputing the HMAC over the raw body and comparing in constant time. Reject any request whose signature does not match.

import { createHmac, timingSafeEqual } from "node:crypto";

function verify(rawBody, header, secret) {
  const expected = "sha256=" + createHmac("sha256", secret).update(rawBody).digest("hex");
  const a = Buffer.from(header || ""); const b = Buffer.from(expected);
  return a.length === b.length && timingSafeEqual(a, b);
}

Notes

Read-only. There is no write endpoint.

Privacy. The API never returns fan handles or fan IDs.

FanOptik

Chat, analytics and payroll for OnlyFans agencies and creators. Every number shows where it came from.

© 2026 FanOptik LLC, 1314 E Las Olas Blvd #1862, Fort Lauderdale, FL 33301 · Free to start. No card needed.