API Reference

Reference for all OnlyFans proxy endpoints. Each entry shows the HTTP method, path, query parameters, credit cost, and a real response example.

Base URL

All proxy endpoints are relative to https://api.onlyfans-api.ai/api. Every request must include the X-API-Key header. Credits are deducted on every successful (2xx) response.

Two ways to identify a model

The :model_id path parameter accepts either identifier:
  • internal UUID — the id returned by the Connect Model or List Models API (e.g. 16f3d13b-9415-4e6b-babe-e8db6b31bd97)
  • platform_model_id — the OnlyFans numeric user ID returned in platform_model_id from the same endpoints (e.g. 523990756). Useful if your integration already has the OF user ID from another source.

Response Envelope

Every successful proxy response is wrapped in a consistent envelope. The raw OnlyFans data is in data; billing metadata is in _meta.

Response shape
{
  "data": { /* raw OnlyFans response */ },
  "_meta": {
    "_credits": {
      "used": 1,
      "balance": 4999
    },
    "_rate_limits": {
      "limit_minute": 60,
      "remaining_minute": 58
    }
  }
}
FieldDescription
dataRaw OnlyFans response — same structure as if you called OF directly
_meta._credits.usedCredits deducted for this request
_meta._credits.balanceRemaining credit balance after this request
_meta._rate_limits.limit_minuteYour plan's request limit per minute
_meta._rate_limits.remaining_minuteRequests remaining in the current 60-second window

Error responses are not wrapped

Only 2xx responses include the _meta envelope. Error responses (4xx, 5xx) return {"error": "...", "code": "...", "trace_id": "..."} directly. A 502 from OnlyFans also says upstream_status (what OnlyFans answered), and upstream_message and retry_after when it sent them. See Error Handling.

Every response has an X-Trace-Id header

Success or error, each response carries the id of the request in the X-Trace-Id header (the same as trace_id in an error body). A success body is not changed. Log it: with it we can find the request, and what OnlyFans answered, in our logs.

Models

Connect and manage OnlyFans model accounts programmatically. These endpoints are also available in the Playground.

curl -X POST "https://api.onlyfans-api.ai/api/organizations/ORG_UUID/models" \
  -H "X-API-Key: sk_live_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"email": "creator@example.com", "password": "your_password"}'
ParameterTypeDescription
emailrequired
stringOnlyFans account email address.
passwordrequired
stringOnlyFans account password. A body without email or password is a 400 (Email and password are required).

Before the job finishes

The model in the 202 answer is the gateway's record as it is when the job starts: a model never connected before has status: "DISCONNECTED" and no platform_model_id yet. Its link to your organization only turns CONNECTED once the login succeeds. An email already connected to your organization is a 409.
Response — 202 (built by the gateway)
{
  "message": "Session grant started for new model",
  "job_id": "c290f1ee-6c54-4b01-90e6-d701748f0851",
  "model": {
    "id": "16f3d13b-9415-4e6b-babe-e8db6b31bd97",
    "email": "creator@example.com",
    "status": "DISCONNECTED",
    "platform_model_id": null,
    "createdAt": "2026-01-15T10:30:00.000000+00:00"
  }
}
curl -X POST "https://api.onlyfans-api.ai/api/models/MODEL_UUID/reconnect" \
  -H "X-API-Key: sk_live_your_key_here"
ParameterTypeDescription
password
stringNew OnlyFans password. If omitted, the gateway uses the credentials stored from the last successful connection; with none stored it is a 400.
email
stringA new login email for the model. Already used by another model: 409.
Response — 202 (built by the gateway)
{
  "message": "Reconnect started",
  "job_id": "c290f1ee-6c54-4b01-90e6-d701748f0851"
}
curl "https://api.onlyfans-api.ai/api/models/connect-jobs/JOB_ID" \
  -H "X-API-Key: sk_live_your_key_here"
Response — success
{
  "job_id": "c290f1ee-6c54-4b01-90e6-d701748f0851",
  "status": "SUCCESS",
  "error": null,
  "model": {
    "id": "16f3d13b-9415-4e6b-babe-e8db6b31bd97",
    "email": "creator@example.com",
    "status": "CONNECTED",
    "platform_model_id": "523990756"
  }
}
Response — still running
{
  "job_id": "c290f1ee-6c54-4b01-90e6-d701748f0851",
  "status": "queued",
  "error": null
}
curl "https://api.onlyfans-api.ai/api/models?page=1&per_page=10" \
  -H "X-API-Key: sk_live_your_key_here"
ParameterTypeDescription
page
integerPage numberDefault: 1
per_page
integerRecords per page (5-50)Default: 10
search
stringFilter by model email (substring match)
sort_by
stringOne of: email, orgLinkStatus, lastSyncAt, createdAt, connectedAt. Any other value sorts by connectedAt, newest first
sort_dir
stringasc or descDefault: desc
status
stringFilter by the status of the model's link to your organization (orgLinkStatus), or 'all'Default: all
include_archived
booleantrue also lists the models your organization archived. Left out, they are hiddenDefault: false
archived_only
booleantrue lists only the archived modelsDefault: false
Response
{
  "data": [
    {
      "id": "16f3d13b-9415-4e6b-babe-e8db6b31bd97",
      "email": "creator@example.com",
      "status": "CONNECTED",
      "platform_model_id": "523990756",
      "lastSyncAt": "2026-08-10T09:12:03.000000+00:00",
      "createdAt": "2026-01-15T10:30:00.000000+00:00",
      "connectedAt": "2026-01-15T10:30:00.000000+00:00",
      "orgLinkStatus": "CONNECTED",
      "isArchived": false,
      "archivedAt": null,
      "wsStatus": "connected",
      "chatsDiscoveredTotal": 128,
      "profile": { "name": "molly", "subscribersCount": 108 }
    }
  ],
  "pagination": {
    "page": 1,
    "per_page": 10,
    "total": 1,
    "total_pages": 1,
    "has_next": false,
    "has_prev": false
  }
}

Fields the gateway adds

status is the model's own session status; orgLinkStatus is the status of its link to your organization, the one the status filter reads. isArchived and archivedAt come from Archive Model. wsStatusis the state of the gateway's live listener for the model: connecting, connected, reconnecting, or offline when it is not running. chatsDiscoveredTotalis how many of the model's chats the gateway has found so far (null until it has counted). profile is a cached copy of the OnlyFans profile (abridged here), never a live call.
curl -X DELETE "https://api.onlyfans-api.ai/api/organizations/ORG_UUID/models/MODEL_UUID?wipe_session=true&requested_by=Jane" \
  -H "X-API-Key: sk_live_your_key_here"
ParameterTypeDescription
wipe_session
booleantrue (or 1, yes) also empties the stored session. It cannot be undone: reconnecting the creator needs her password again. Skipped while another organization is still connected to the model
requested_by
stringWho runs it, at most 100 characters, kept in the audit log. If omitted, an API key is recorded as its creator's name
Response
{
  "message": "Model disconnected successfully"
}
Response with wipe_session=true
{
  "message": "Model disconnected successfully",
  "session_wiped": true
}

Shared models

A model can be connected by several organizations and its stored session is shared. With wipe_session=true the session is only emptied when yours was the last connected organization. Otherwise the response says session_wiped false with a note, and the session is kept.
curl "https://api.onlyfans-api.ai/api/organizations/ORG_UUID/models?page=1&per_page=10&include_archived=true" \
  -H "X-API-Key: sk_live_your_key_here"
ParameterTypeDescription
page
integerPage numberDefault: 1
per_page
integerRecords per page (5-50)Default: 10
search
stringFilter by model email (substring match)
sort_by
stringOne of: email, orgLinkStatus, lastSyncAt, createdAt, connectedAt. Any other value sorts by connectedAt, newest first
sort_dir
stringasc or descDefault: desc
status
stringFilter by the status of the model's link to your organization (orgLinkStatus), or 'all'Default: all
include_archived
booleantrue also lists the models your organization archived. Left out, they are hiddenDefault: false
archived_only
booleantrue lists only the archived modelsDefault: false

Response

The same body as GET /models. Each model also carries orgLinkStatus (the status of its link to your organization, which the status filter reads), isArchived and archivedAt.
curl -X POST "https://api.onlyfans-api.ai/api/organizations/ORG_UUID/models/MODEL_UUID/archive" \
  -H "X-API-Key: sk_live_your_key_here"
ParameterTypeDescription
org_idrequired
stringIn the path. Your organization id: it must be the organization of your API key, otherwise it is a 403.
model_idrequired
stringIn the path. The model's internal UUID. This route does not take the OnlyFans numeric id: a model not linked to your organization under that UUID is a 404 (Model not found or not connected to this organization).

Per organization

Archiving is your organization's choice only: another organization connected to the same model still sees it. Archived models are left out of GET /models and GET /organizations/:org_id/models unless you pass include_archived=true, or archived_only=true for the archived ones alone. Archiving an archived model again answers 200 and sets a new archivedAt.
Response (built by the gateway, no _meta)
{
  "message": "Model archived successfully",
  "isArchived": true,
  "archivedAt": "2026-11-08T09:12:03.000000+00:00"
}
curl -X POST "https://api.onlyfans-api.ai/api/organizations/ORG_UUID/models/MODEL_UUID/unarchive" \
  -H "X-API-Key: sk_live_your_key_here"
ParameterTypeDescription
org_idrequired
stringIn the path. Your organization id.
model_idrequired
stringIn the path. The model's internal UUID.
Response (built by the gateway, no _meta)
{
  "message": "Model unarchived successfully",
  "isArchived": false,
  "archivedAt": null
}

Campaigns

Manage OnlyFans tracking links (campaigns) for a model.

curl "https://api.onlyfans-api.ai/api/models/MODEL_UUID/campaigns?limit=10&offset=0" \
  -H "X-API-Key: sk_live_your_key_here"
ParameterTypeDescription
limit
integerNumber of campaigns to returnDefault: 10
offset
integerPagination offsetDefault: 0
startDate
stringScope the counts to a window start (YYYY-MM-DD). Absent: all-time.
endDate
stringScope the counts to a window end (YYYY-MM-DD). Absent: all-time.
Response
{
  "data": {
    "hasMore": false,
    "list": [
      {
        "id": 3927164,
        "countSubscribers": 42,
        "countTransitions": 310,
        "campaignCode": "abc123",
        "campaignName": "Instagram bio link",
        "createdAt": "2026-02-01T10:00:00+00:00",
        "endDate": null,
        "user": { "id": 523990756, "username": "mollyy2006" },
        "sharedWith": [],
        "isDeleted": false
      }
    ]
  },
  "_meta": { "_credits": { "used": 1, "balance": 4998 }, "_rate_limits": { "limit_minute": 60, "remaining_minute": 55 } }
}
curl -X POST "https://api.onlyfans-api.ai/api/models/MODEL_UUID/campaigns" \
  -H "X-API-Key: sk_live_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"name": "Instagram bio link"}'
ParameterTypeDescription
namerequired
stringCampaign name.
Response
{
  "data": {
    "id": 3927164,
    "name": "Instagram bio link",
    "trialLink": "https://onlyfans.com/action/trial/abc123",
    "createdAt": "2026-02-01T10:00:00+00:00"
  },
  "_meta": { "_credits": { "used": 1, "balance": 4997 }, "_rate_limits": { "limit_minute": 60, "remaining_minute": 54 } }
}
curl -X DELETE "https://api.onlyfans-api.ai/api/models/MODEL_UUID/campaigns/CAMPAIGN_ID" \
  -H "X-API-Key: sk_live_your_key_here"
Response
{
  "data": { "id": 3927164, "isDeleted": true },
  "_meta": { "_credits": { "used": 1, "balance": 4996 }, "_rate_limits": { "limit_minute": 60, "remaining_minute": 53 } }
}
curl "https://api.onlyfans-api.ai/api/models/MODEL_UUID/campaigns/CAMPAIGN_ID/claimers?limit=10&offset=0" \
  -H "X-API-Key: sk_live_your_key_here"
ParameterTypeDescription
campaign_idrequired
stringPath param: the tracking link (campaign) ID whose subscribers to list.
limit
integerFans per page. Values above 10 are accepted.Default: 10
offset
integerFans to skip. Advance by limit while hasMore is true.Default: 0
Response
{
  "data": {
    "hasMore": true,
    "marker": "1795420138",
    "list": [
      {
        "id": 359167288,
        "username": "u359167288",
        "name": "Jane",
        "displayName": "Jane",
        "isActive": true,
        "subscribedOnDuration": "6 months",
        "subscribePrice": 9.99
      }
    ]
  },
  "_meta": { "_credits": { "used": 1, "balance": 4995 }, "_rate_limits": { "limit_minute": 60, "remaining_minute": 52 } }
}
curl "https://api.onlyfans-api.ai/api/models/MODEL_UUID/trials/stats?limit=10&offset=0" \
  -H "X-API-Key: sk_live_your_key_here"
ParameterTypeDescription
limit
integerNumber of trial links to returnDefault: 10
offset
integerPagination offsetDefault: 0
startDate
stringScope the counts to a window start (YYYY-MM-DD). Absent: all-time.
endDate
stringScope the counts to a window end (YYYY-MM-DD). Absent: all-time.
Response
{
  "data": {
    "hasMore": false,
    "items": [
      {
        "id": 11229335,
        "trialLinkName": "Reddit free trial",
        "url": "https://onlyfans.com/mollyy2006/trial/nh1pg0x6vv9hzksidztga43ngstrvtqj",
        "subscribeDays": 30,
        "subscribeCounts": 18,
        "claimCounts": 25,
        "clicksCounts": 140,
        "expiredAt": null,
        "createdAt": "2026-10-01T09:00:00+00:00"
      }
    ]
  },
  "_meta": { "_credits": { "used": 1, "balance": 4994 }, "_rate_limits": { "limit_minute": 60, "remaining_minute": 51 } }
}

User

Session credentials are not returned

OnlyFans includes the account's own session credentials in this response (csrf, wsAuthToken, wsUrl). The gateway removes those three fields from the response it gives your API key. Everything else, email included, is OnlyFans' body unchanged. To follow the model's live events, subscribe to the WebSocket bridge.
curl "https://api.onlyfans-api.ai/api/models/MODEL_UUID/users/me" \
  -H "X-API-Key: sk_live_your_key_here"
Response
{
  "data": {
    "id": 523990756,
    "name": "molly",
    "username": "mollyy2006",
    "email": "creator@onlyfans.com",
    "about": "<p>Profile bio text...</p>",
    "avatar": "https://public.onlyfans.com/files/.../avatar.jpg",
    "header": "https://public.onlyfans.com/files/.../header_image.jpg",
    "isPerformer": true,
    "isVerified": true,
    "subscribersCount": 108,
    "postsCount": 75,
    "photosCount": 88,
    "videosCount": 2,
    "subscribePrice": 20,
    "performerTop": 3.3,
    "joinDate": "2025-09-16T00:00:00+00:00"
  },
  "_meta": {
    "_credits": { "used": 1, "balance": 4999 },
    "_rate_limits": { "limit_minute": 60, "remaining_minute": 58 }
  }
}

Chats

curl "https://api.onlyfans-api.ai/api/models/MODEL_UUID/chats?limit=20&offset=0" \
  -H "X-API-Key: sk_live_your_key_here"
ParameterTypeDescription
limit
integerNumber of chats to returnDefault: 10
offset
integerPagination offsetDefault: 0
Response
{
  "data": {
    "hasMore": true,
    "list": [
      {
        "withUser": { "id": 553393565, "_view": "m" },
        "lastMessage": {
          "id": 9130375619415,
          "text": "<p>I caught a few mins but had to go to sleep :(</p>",
          "createdAt": "2026-04-03T15:58:51+00:00",
          "isFree": true,
          "mediaCount": 0
        },
        "unreadMessagesCount": 1,
        "canSendMessage": true,
        "isMutedNotifications": false
      }
    ],
    "nextOffset": 1
  },
  "_meta": {
    "_credits": { "used": 1, "balance": 4998 },
    "_rate_limits": { "limit_minute": 60, "remaining_minute": 57 }
  }
}
curl "https://api.onlyfans-api.ai/api/models/MODEL_UUID/chats/FAN_USER_ID/messages?limit=20" \
  -H "X-API-Key: sk_live_your_key_here"
ParameterTypeDescription
limit
integerNumber of messages to returnDefault: 10
id
integerFetch messages before this message ID (cursor). Omit it and OnlyFans returns the newest message and marks the chat as read; pass the id of the newest message you already have to read older messages without that effect.
Response
{
  "data": {
    "hasMore": true,
    "list": [
      {
        "id": 9130375619415,
        "text": "<p>I caught a few mins but had to go to sleep :(</p>",
        "createdAt": "2026-04-03T15:58:51+00:00",
        "fromUser": { "id": 553393565, "_view": "s" },
        "isFree": true,
        "isTip": false,
        "media": [],
        "mediaCount": 0,
        "price": 0,
        "isNew": true,
        "isOpened": false
      },
      {
        "id": 9130375619420,
        "text": "<p>check this out</p>",
        "createdAt": "2026-04-03T16:02:10+00:00",
        "fromUser": { "id": 553393565, "_view": "s" },
        "isFree": true,
        "isTip": false,
        "media": [
          {
            "id": 4642003333,
            "type": "photo",
            "isReady": true,
            "files": {
              "full":  { "url": "https://cdn2.onlyfans.com/.../3024x4032_xxx.jpg?...", "width": 3024, "height": 4032 },
              "thumb": { "url": "https://cdn2.onlyfans.com/.../300x300_xxx.jpg?...",   "width": 300,  "height": 300  }
            },
            "cursor_id": "gAAAAABmZ...5f3c"
          }
        ],
        "mediaCount": 1,
        "price": 0,
        "isNew": true,
        "isOpened": false
      }
    ]
  },
  "_meta": {
    "_credits": { "used": 1, "balance": 4997 },
    "_rate_limits": { "limit_minute": 60, "remaining_minute": 56 }
  }
}
curl -X POST "https://api.onlyfans-api.ai/api/models/MODEL_UUID/chats/FAN_USER_ID/messages" \
  -H "X-API-Key: sk_live_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"text": "Hey, thanks for subscribing!", "mediaFiles": [], "price": 0, "tags": {"xpromo_key": "summer2026_to_modelB"}}'
ParameterTypeDescription
text
stringMessage text (HTML supported). Required if mediaFiles or giphyId not provided.
mediaFiles
arrayArray of media IDs or objects {id, thumbId}. Required if text or giphyId not provided.
price
integerPrice in cents for paid message. 0 = free. When price > 0, mediaFiles must be objects {id, thumbId}.Default: 0
giphyId
stringA Giphy GIF id (from Get GIF Trending / Get GIF Search) to send as a GIF. Required if text or mediaFiles not provided.
lockedText
booleanLock the text itself behind price. Needed for a text-only paid message: OnlyFans rejects price > 0 with no media while this is false.Default: false
replyToMessageId
stringQuotes an existing message in this chat. Its plain OnlyFans message id (platform_message_id), not its queueId.
isForward
booleanMarks the send as a forward. The text is a copy made by your client, not a reference to the original message.Default: false
tags
objectYour own key/value tags on this send — your names, your values, no reserved vocabulary. Filterable afterward via /api/query on message_tags (see RAG & Search). Gateway never refuses a send over tags — dedup is your policy, not the gateway's. Max 20 keys, 128 chars/key, 512 chars/string value; values must be string, number, or boolean. If the tags could not be saved, the send is still made and the response carries tags_saved: false.
Response
{
  "data": {
    "id": 9130375619420,
    "text": "<p>Hey, thanks for subscribing!</p>",
    "createdAt": "2026-04-04T10:00:00+00:00",
    "fromUser": { "id": 523990756, "_view": "s" },
    "isFree": true,
    "isTip": false,
    "media": [],
    "mediaCount": 0,
    "price": 0
  },
  "_meta": {
    "_credits": { "used": 2, "balance": 4995 },
    "_rate_limits": { "limit_minute": 60, "remaining_minute": 55 }
  }
}

When the response says more than OnlyFans did

  • tags_saved: false: you sent tags and they were not saved. The message was sent, so the status is still 200. The field appears only then; a send whose tags were saved answers as above. If you rely on tags, check them through /api/query on message_tags.
  • code: "MEDIA_DROPPED" with media_dropped_count: OnlyFans accepted the send but dropped some of the media (a WebP did once). The status is still 200, so compare mediaCount with what you sent.
  • code: "MISSING_MESSAGE_ID": OnlyFans answered without an id, so there is nothing to join your own records or tags to.
  • Sent again with the same Idempotency-Key, the answer is the stored one from before the tags were written (header Idempotency-Replayed: true), so it carries no tags_saved.

This reaches every member of every list you name

Show the recipient count and ask for confirmation before sending, and test with a custom list that holds only test accounts. Built-in lists (Fans, Following, …) have not been verified through the gateway, so do not target them yet. Send an Idempotency-Key header (a UUID) so a retry after a lost answer cannot send twice. After a 504 the result is unknown: check before sending again (see Troubleshooting, 504 — TIMEOUT).
curl -X POST "https://api.onlyfans-api.ai/api/models/MODEL_UUID/chats/mass-message" \
  -H "X-API-Key: sk_live_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"userLists": ["1318069122"], "text": "Hey everyone!"}'
ParameterTypeDescription
userIds
arrayOnlyFans fan ids to send to. At least one of userIds or userLists is required.
userLists
arrayIds of the model's lists, as strings. The message goes to every member of each list. Custom list ids are numeric strings, for example "1318069122".
excludedLists
arrayIds of lists to leave out, as strings. A fan who is in an included list and in an excluded one does not get the message. Built-in ids such as "muted" work too. Needs userIds or userLists.
scheduledDate
stringISO 8601 time, for example "2026-10-12T08:00:00Z". When present the message is scheduled instead of sent now; leave the key out to send now. A null or empty value is a 400, so a schedule can never turn into an immediate send.
text
stringMessage text. Required if mediaFiles is not provided.
mediaFiles
arrayArray of media IDs or objects {id, thumbId}. When price > 0, mediaFiles must be objects {id, thumbId}.
price
numberPrice of a paid message. 0 = free.Default: 0
lockedText
booleanLock the text itself behind price.Default: false
isForward
booleanMarks the send as a forward: the text is a copy made by your client, not a reference to the original message. It is the only difference between a Forward and a plain list send on onlyfans.com.Default: false
filters
objectPassed to OnlyFans as-is and unverified. The OnlyFans web app always sends an empty object here. This is not the exclusion: use excludedLists, and do not rely on filters to leave anyone out.

Scheduled and excluded sends

A send with scheduledDate answers with the same queue object, its id being the queueId, and date the time you asked for. It shows in GET /models/:model_id/schedules as an item with its own id (not the queueId); the item's entity carries queueId, scheduledAt, userLists and excludedLists. When the time comes, OnlyFans sends it about ten seconds late. OnlyFans refuses a second queue created within about ten seconds of another with 400 "Please allow 10 seconds", which comes back here as a 502 with code: "OF_API_ERROR"; wait and send again.

After the call returns

The response is OnlyFans' queue object, a snapshot from when the queue was created: total: -1 and isDone: false mean the recipients are still being resolved. Progress arrives on the WebSocket feed as chat_queue_update and chat_queue_finish events carrying the same id. The delivered messages have isFromQueue: true and a queueId equal to that id. OnlyFans sends no per-recipient message event for a mass send, nor for a scheduled message when it fires, so the messages reach /api/query only when the next message arrives in that chat, which can be hours later. Until then, draw the send from this response, read its delivery from chat_queue_finish (match on id; check hasError and isCanceled), and when the stored message arrives replace your own bubble by its queue_id. A message sent from onlyfans.com has no bubble of yours and shows up late.
Response
{
  "data": {
    "id": 47977542779,
    "date": "2026-10-03T21:02:05+00:00",
    "isReady": true,
    "isDone": false,
    "total": -1,
    "pending": 0,
    "canUnsend": true,
    "unsendSeconds": 1000000,
    "hasError": false,
    "isCanceled": false,
    "isCouplePeopleMedia": false
  },
  "_meta": {
    "_credits": { "used": 2, "balance": 998 },
    "_rate_limits": { "limit_minute": 60, "remaining_minute": 58 }
  }
}

This removes the message from every recipient

It cannot be undone. Test on a queue that went to test accounts only.
curl -X DELETE "https://api.onlyfans-api.ai/api/models/MODEL_UUID/queues/48427873461" \
  -H "X-API-Key: sk_live_your_key_here"
ParameterTypeDescription
queue_idrequired
stringIn the path. The numeric id Mass Message returned, which is also the queueId on every message it delivered. It is not the id of an item in the scheduled list, and anything that is not plain digits is a 400.

What comes back

OnlyFans' own answer: queue.sentCount (how many fans it had reached) and queue.viewedCount (the number OnlyFans reports as viewed), with isCanceled: true and canUnsend: false. A queue still scheduled answers sentCount: 0and leaves the scheduled list. The window is the queue's unsendSeconds, about 11.6 days from the send, against 24 hours for deleting one message with Delete Message. A queue that is gone or already unsent comes back as a 502 with code: "OF_API_ERROR", upstream_status: 404 and upstream_message: "Queue not found.".
Response
{
  "data": {
    "success": true,
    "queue": {
      "id": 48427873461,
      "date": "2026-10-11T09:25:14+00:00",
      "text": "<p>Hey everyone!</p>",
      "isFree": true,
      "sentCount": 1,
      "viewedCount": 0,
      "canUnsend": false,
      "unsendSeconds": 0,
      "isCanceled": true,
      "mediaTypes": [],
      "hasError": false,
      "releaseForms": []
    }
  },
  "_meta": {
    "_credits": { "used": 1, "balance": 996 },
    "_rate_limits": { "limit_minute": 60, "remaining_minute": 56 }
  }
}
curl "https://api.onlyfans-api.ai/api/models/MODEL_UUID/queues/48427873461" \
  -H "X-API-Key: sk_live_your_key_here"
ParameterTypeDescription
queue_idrequired
stringIn the path. The numeric id Mass Message returned.

Reading it

total is -1 right after the send and the audience size once OnlyFans has counted the recipients (it read 2 for a two-fan send about 45 seconds later, with isDone: true). pending read 0 in every check. A scheduled queue stays at total: -1 and isDone: false until its time. The counts of how many fans received or viewed the message come with Unsend Mass Message, not from here.
Response
{
  "data": {
    "id": 48427873461,
    "date": "2026-10-11T09:25:14+00:00",
    "isReady": true,
    "isDone": true,
    "total": 2,
    "pending": 0,
    "canUnsend": true,
    "unsendSeconds": 999320,
    "hasError": false,
    "isCanceled": false,
    "isCouplePeopleMedia": false
  },
  "_meta": {
    "_credits": { "used": 1, "balance": 997 },
    "_rate_limits": { "limit_minute": 60, "remaining_minute": 57 }
  }
}

Note

OF processes uploads asynchronously. The response's media object can be sent to Send Message immediately, but the media will report isReady: false in OnlyFans until transcoding finishes (usually a few seconds).
curl -X POST "https://api.onlyfans-api.ai/api/models/MODEL_UUID/media/upload" \
  -H "X-API-Key: sk_live_your_key_here" \
  -F "file=@/path/to/your/file"
ParameterTypeDescription
filerequired
fileThe file to upload, as multipart/form-data. At most 25 MB; larger is a 413.
Response
{
  "data": {
    "processId": "0igom5veffr62bz6mw3t5",
    "host": "convert3.onlyfans.com",
    "name": "photo.jpg",
    "extra": "yJG7SVadr+JWcbr3XxN...(opaque token, pass through as-is)"
  },
  "_meta": {
    "_credits": { "used": 2, "balance": 4993 },
    "_rate_limits": { "limit_minute": 60, "remaining_minute": 54 }
  }
}
curl -X POST "https://api.onlyfans-api.ai/api/models/MODEL_UUID/chats/FAN_USER_ID/voice-message" \
  -H "X-API-Key: sk_live_your_key_here" \
  -F "file=@/path/to/your/file"
ParameterTypeDescription
filerequired
fileThe audio file to send as a voice note, as multipart/form-data. At most 25 MB; larger is a 413.
price
numberForm field. Price of a paid voice note; not a number is a 400 (price must be a valid number).Default: 0

Idempotency-Key

Send an Idempotency-Key header (a UUID), as on Send Message, so a retry cannot send the voice note twice.
Response
{
  "data": {
    "id": 9130375619420,
    "text": "<p>Hey, thanks for subscribing!</p>",
    "createdAt": "2026-04-04T10:00:00+00:00",
    "fromUser": { "id": 523990756, "_view": "s" },
    "isFree": true,
    "isTip": false,
    "media": [],
    "mediaCount": 0,
    "price": 0
  },
  "_meta": {
    "_credits": { "used": 2, "balance": 4995 },
    "_rate_limits": { "limit_minute": 60, "remaining_minute": 55 }
  }
}
curl "https://api.onlyfans-api.ai/api/models/MODEL_UUID/giphy/trending?limit=10&offset=0" \
  -H "X-API-Key: sk_live_your_key_here"
ParameterTypeDescription
limit
integerNumber of GIFs to return.Default: 10
offset
integerNumber of GIFs to skip for pagination.Default: 0
Response
{
  "data": [
    {
      "type": "gif",
      "id": "JMNUUrUh1Ymffmct3F",
      "title": "Fall Season Illustration GIF by Sophie Potter",
      "images": {
        "fixed_height": {
          "url": "https://media0.giphy.com/media/v1.../200.gif",
          "width": "366",
          "height": "200"
        },
        "original": {
          "url": "https://media0.giphy.com/media/v1.../giphy.gif",
          "width": "480",
          "height": "262"
        }
      }
    }
  ],
  "_meta": {
    "_credits": { "used": 1, "balance": 4992 },
    "_rate_limits": { "limit_minute": 60, "remaining_minute": 53 }
  }
}
curl "https://api.onlyfans-api.ai/api/models/MODEL_UUID/giphy/search?query=hello&limit=10" \
  -H "X-API-Key: sk_live_your_key_here"
ParameterTypeDescription
queryrequired
stringSearch term.
limit
integerNumber of GIFs to return.Default: 10
offset
integerNumber of GIFs to skip for pagination.Default: 0
Response
{
  "data": [
    {
      "type": "gif",
      "id": "JMNUUrUh1Ymffmct3F",
      "title": "Fall Season Illustration GIF by Sophie Potter",
      "images": {
        "fixed_height": {
          "url": "https://media0.giphy.com/media/v1.../200.gif",
          "width": "366",
          "height": "200"
        },
        "original": {
          "url": "https://media0.giphy.com/media/v1.../giphy.gif",
          "width": "480",
          "height": "262"
        }
      }
    }
  ],
  "_meta": {
    "_credits": { "used": 1, "balance": 4992 },
    "_rate_limits": { "limit_minute": 60, "remaining_minute": 53 }
  }
}
curl "https://api.onlyfans-api.ai/api/models/MODEL_UUID/creators/mention?query=anna&limit=10&offset=0" \
  -H "X-API-Key: sk_live_your_key_here"
ParameterTypeDescription
queryrequired
stringThe name to search. Missing or empty is a 400 (query param 'query' is required).
limit
integerNumber of creators to return.Default: 10
offset
integerNumber of creators to skip for pagination.Default: 0

Response

OnlyFans' own answer, relayed unchanged inside data. It was not captured for these docs, so no example is shown: read it once on a test chat before you rely on its fields.
curl -X POST "https://api.onlyfans-api.ai/api/models/MODEL_UUID/chats/CHAT_ID/mark-as-unread" \
  -H "X-API-Key: sk_live_your_key_here"
curl -X POST "https://api.onlyfans-api.ai/api/models/MODEL_UUID/chats/CHAT_ID/mark-as-read" \
  -H "X-API-Key: sk_live_your_key_here"
ParameterTypeDescription
chat_idrequired
stringIn the path. The fan's OnlyFans user id (a chat is named by the fan).
Response
{
  "data": { "success": true },
  "_meta": {
    "_credits": { "used": 1, "balance": 998 },
    "_rate_limits": { "limit_minute": 60, "remaining_minute": 58 }
  }
}

Every chat, every fan

All of the model's fans see their messages as read, and the unread counts your chatters work from are gone. It cannot be undone in one call: Mark Chat as Unread works one chat at a time.
curl -X POST "https://api.onlyfans-api.ai/api/models/MODEL_UUID/chats/mark-as-read" \
  -H "X-API-Key: sk_live_your_key_here"

Response

OnlyFans' own answer, relayed unchanged inside data. It was not captured for these docs, so no example is shown: read it once on a test chat before you rely on its fields.
curl "https://api.onlyfans-api.ai/api/models/MODEL_UUID/chats/FAN_USER_ID/messages/search?query=photo" \
  -H "X-API-Key: sk_live_your_key_here"
ParameterTypeDescription
user_idrequired
stringIn the path. The fan's OnlyFans user id.
queryrequired
stringThe text to find. Missing or empty is a 400 (query param 'query' is required). The gateway passes no limit or offset: OnlyFans decides how many matches come back.

Response

OnlyFans' own answer, relayed unchanged inside data. It was not captured for these docs, so no example is shown: read it once on a test chat before you rely on its fields.
curl "https://api.onlyfans-api.ai/api/models/MODEL_UUID/chats/FAN_USER_ID/comments" \
  -H "X-API-Key: sk_live_your_key_here"
ParameterTypeDescription
user_idrequired
stringIn the path. The fan's OnlyFans user id.

Response

OnlyFans' own answer, relayed unchanged. It comes from OnlyFans' notifications of the type commented, filtered to this fan, so it has the shape of a notifications page, not of a message list. It was not captured for these docs.
curl "https://api.onlyfans-api.ai/api/models/MODEL_UUID/chats/FAN_USER_ID/media?media_type=video&access=purchased&limit=10" \
  -H "X-API-Key: sk_live_your_key_here"
ParameterTypeDescription
user_idrequired
stringIn the path. The fan's OnlyFans user id.
limit
integerMessages per page.Default: 10
media_type
stringphoto, video or audio. Omit for all types. Anything else is a 400.
access
stringunlocked (free, preview and opened media; paid media the fan has not opened is left out) or purchased (media the fan paid for). Omit for all. Anything else is a 400.
last_id
stringThe nextLastId of the previous page, while hasMore is true. It must be digits, otherwise it is a 400.

What the gateway changes

The filters run on OnlyFans, so limit and hasMore describe the filtered result. OnlyFans filters by message, so a message with a photo and a video comes back on the videos tab whole: with media_typethe gateway trims each message's media to that type and drops a message left with none. It also adds cursor_idto every media item. Everything else is OnlyFans' own answer.
Response (dev log 2026-10-25, abridged)
{
  "data": {
    "list": [
      {
        "id": 11778149660501,
        "text": "<p>Message text</p>",
        "isNew": false,
        "isTip": false,
        "media": [
          {
            "id": 4109726435,
            "type": "photo",
            "files": {
              "full": { "url": "https://cdn2.onlyfans.com/files/.../full.jpg", "size": 0, "width": 2316, "height": 3088, "sources": [] },
              "thumb": { "url": "https://cdn2.onlyfans.com/files/.../thumb.jpg", "size": 0, "width": 300, "height": 300 },
              "preview": { "url": "https://cdn2.onlyfans.com/files/.../preview.jpg", "size": 0, "width": 960, "height": 1280 },
              "squarePreview": { "url": "https://cdn2.onlyfans.com/files/.../square.jpg", "size": 0, "width": 960, "height": 960 }
            },
            "canView": true,
            "isReady": true,
            "duration": 0,
            "hasError": false,
            "createdAt": "2025-10-24T07:17:53+00:00",
            "cursor_id": "gAAAAABq...",
            "videoSources": { "240": null, "720": null },
            "convertedToVideo": false,
            "hasCustomPreview": false
          }
        ],
        "price": 0,
        "isFree": true,
        "giphyId": null,
        "isLiked": false,
        "queueId": 48609331871,
        "fromUser": { "id": 523990756, "_view": "t" },
        "isOpened": false,
        "isPinned": false,
        "previews": [],
        "canReport": false,
        "changedAt": "2026-10-24T21:38:29+00:00",
        "createdAt": "2026-10-24T21:38:29+00:00",
        "chatUserId": 111111111,
        "lockedText": false,
        "mediaCount": 1,
        "canBePinned": true,
        "canPurchase": false,
        "isFromQueue": true,
        "isMediaReady": true,
        "releaseForms": [],
        "responseType": "message",
        "cancelSeconds": 23232,
        "canUnsendQueue": true,
        "isReportedByMe": false,
        "canPurchaseReason": "free",
        "isAddedToBookmarks": false,
        "isMarkdownDisabled": true,
        "unsendSecondsQueue": 1000000,
        "isCouplePeopleMedia": false
      }
    ],
    "hasMore": true,
    "nextLastId": "11656299133581"
  },
  "_meta": {
    "_credits": { "used": 1, "balance": 46 },
    "_rate_limits": { "limit_minute": 60, "remaining_minute": 58 }
  }
}
curl -X DELETE "https://api.onlyfans-api.ai/api/models/MODEL_UUID/messages/MESSAGE_ID?user_id=553393565" \
  -H "X-API-Key: sk_live_your_key_here"
ParameterTypeDescription
user_idrequired
integerThe OnlyFans fan ID in the conversation. Sent as a query parameter; a JSON body {"user_id": ...} is accepted too, and if both are sent they must match.

What the gateway does with an unsent message

A message unsent on OnlyFans, through this call or anywhere else, is marked as deleted in the gateway's stored copy and hidden from reads. /api/query only returns it with include_deleted: true, and the WebSocket feed delivers a chat_message_delete event for it.

Chat actions

What the chat header and the fan menu on onlyfans.com do to one fan: mute, hide, restrict, block, delete the chat, the private note and nickname, and a free subscription. :user_id is the fan's OnlyFans user id. Each call is relayed to OnlyFans as is and answers with OnlyFans' own body; none of these answers was captured for these docs.

curl -X POST "https://api.onlyfans-api.ai/api/models/MODEL_UUID/chats/FAN_USER_ID/mute" \
  -H "X-API-Key: sk_live_your_key_here"

Response

OnlyFans' own answer, relayed unchanged inside data. It was not captured for these docs, so no example is shown: read it once on a test chat before you rely on its fields.
curl -X DELETE "https://api.onlyfans-api.ai/api/models/MODEL_UUID/chats/FAN_USER_ID/mute" \
  -H "X-API-Key: sk_live_your_key_here"

Response

OnlyFans' own answer, relayed unchanged inside data. It was not captured for these docs, so no example is shown: read it once on a test chat before you rely on its fields.
curl -X POST "https://api.onlyfans-api.ai/api/models/MODEL_UUID/chats/FAN_USER_ID/hide" \
  -H "X-API-Key: sk_live_your_key_here"

There is no unhide

OnlyFans has no unhide action, on its website or here (checked live). A hidden chat comes back by itself when the fan writes again, or on onlyfans.com when the chat's own address is opened.

Response

OnlyFans' own answer, relayed unchanged inside data. It was not captured for these docs, so no example is shown: read it once on a test chat before you rely on its fields.
curl -X POST "https://api.onlyfans-api.ai/api/models/MODEL_UUID/chats/FAN_USER_ID/restrict" \
  -H "X-API-Key: sk_live_your_key_here"

Response

OnlyFans' own answer, relayed unchanged inside data. It was not captured for these docs, so no example is shown: read it once on a test chat before you rely on its fields.
curl -X DELETE "https://api.onlyfans-api.ai/api/models/MODEL_UUID/chats/FAN_USER_ID/restrict" \
  -H "X-API-Key: sk_live_your_key_here"

Response

OnlyFans' own answer, relayed unchanged inside data. It was not captured for these docs, so no example is shown: read it once on a test chat before you rely on its fields.

Blocking cancels the fan's subscription

Checked live: OnlyFans cancels the fan's subscription when the fan is blocked, and unblocking does not bring it back. Ask the chatter to confirm before you call this. The WebSocket feed has a block_user event; whether this call sends one was not checked.
curl -X POST "https://api.onlyfans-api.ai/api/models/MODEL_UUID/chats/FAN_USER_ID/block" \
  -H "X-API-Key: sk_live_your_key_here"

Response

OnlyFans' own answer, relayed unchanged inside data. It was not captured for these docs, so no example is shown: read it once on a test chat before you rely on its fields.
curl -X DELETE "https://api.onlyfans-api.ai/api/models/MODEL_UUID/chats/FAN_USER_ID/block" \
  -H "X-API-Key: sk_live_your_key_here"

Response

OnlyFans' own answer, relayed unchanged inside data. It was not captured for these docs, so no example is shown: read it once on a test chat before you rely on its fields.

Permanent

Every message of the chat is cleared and cannot be brought back, unlike hide, restrict and block. OnlyFans' own confirmation reads "Are you sure to clear 1 chat?". Ask for the same confirmation in your client, and test on a test fan only.
curl -X DELETE "https://api.onlyfans-api.ai/api/models/MODEL_UUID/chats/FAN_USER_ID" \
  -H "X-API-Key: sk_live_your_key_here"

Response

OnlyFans' own answer, relayed unchanged inside data. It was not captured for these docs, so no example is shown: read it once on a test chat before you rely on its fields.
Request
curl -X PUT "https://api.onlyfans-api.ai/api/models/MODEL_UUID/chats/FAN_USER_ID/note" \
  -H "X-API-Key: sk_live_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"note": "Prefers short replies"}'
ParameterTypeDescription
noterequired
stringThe note. "" clears it. A body without the note key is a 400 ('note' field is required (pass an empty string to clear it)).

Response

OnlyFans' own answer, relayed unchanged inside data. It was not captured for these docs, so no example is shown: read it once on a test chat before you rely on its fields.
Request
curl -X PUT "https://api.onlyfans-api.ai/api/models/MODEL_UUID/chats/FAN_USER_ID/nickname" \
  -H "X-API-Key: sk_live_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"nickname": "Fan Name"}'
ParameterTypeDescription
nicknamerequired
stringThe name to show. "" clears it. A body without the nickname key is a 400 ('nickname' field is required (pass an empty string to clear it)).

Note

The note and the nickname are two fields of the same OnlyFans record of the fan, each call sets only its own.

Response

OnlyFans' own answer, relayed unchanged inside data. It was not captured for these docs, so no example is shown: read it once on a test chat before you rely on its fields.
curl -X POST "https://api.onlyfans-api.ai/api/models/MODEL_UUID/chats/FAN_USER_ID/subscribe-free" \
  -H "X-API-Key: sk_live_your_key_here"

Response

OnlyFans' own answer, relayed unchanged inside data. It was not captured for these docs, so no example is shown: read it once on a test chat before you rely on its fields.

Message actions

Pin, like or hide one message in a chat. :user_id is the fan's OnlyFans user id and :message_id the OnlyFans message id (id in Get Chat Messages, platform_message_id in /api/query), not the queueId. No body. Each answer is OnlyFans' own; none was captured for these docs. Bookmarking a message is under Bookmarks.

curl -X POST "https://api.onlyfans-api.ai/api/models/MODEL_UUID/chats/FAN_USER_ID/messages/MESSAGE_ID/pin" \
  -H "X-API-Key: sk_live_your_key_here"

Note

The WebSocket feed sends no event for pinning or unpinning (tested 2026-10-09). Read isPinned on the message in Get Chat Messages.

Response

OnlyFans' own answer, relayed unchanged inside data. It was not captured for these docs, so no example is shown: read it once on a test chat before you rely on its fields.
curl -X DELETE "https://api.onlyfans-api.ai/api/models/MODEL_UUID/chats/FAN_USER_ID/messages/MESSAGE_ID/pin" \
  -H "X-API-Key: sk_live_your_key_here"

Response

OnlyFans' own answer, relayed unchanged inside data. It was not captured for these docs, so no example is shown: read it once on a test chat before you rely on its fields.
curl -X POST "https://api.onlyfans-api.ai/api/models/MODEL_UUID/chats/FAN_USER_ID/messages/MESSAGE_ID/like" \
  -H "X-API-Key: sk_live_your_key_here"

Note

A like the model gives is not announced on the WebSocket feed; only a fan's like is (chat_message_like).

Response

OnlyFans' own answer, relayed unchanged inside data. It was not captured for these docs, so no example is shown: read it once on a test chat before you rely on its fields.
curl -X DELETE "https://api.onlyfans-api.ai/api/models/MODEL_UUID/chats/FAN_USER_ID/messages/MESSAGE_ID/like" \
  -H "X-API-Key: sk_live_your_key_here"

Response

OnlyFans' own answer, relayed unchanged inside data. It was not captured for these docs, so no example is shown: read it once on a test chat before you rely on its fields.
Request
curl -X PUT "https://api.onlyfans-api.ai/api/models/MODEL_UUID/chats/FAN_USER_ID/messages/MESSAGE_ID/hide" \
  -H "X-API-Key: sk_live_your_key_here"

Note

There is no call to show a hidden message again, and whether the fan still sees it was not checked.

Response

OnlyFans' own answer, relayed unchanged inside data. It was not captured for these docs, so no example is shown: read it once on a test chat before you rely on its fields.

Scheduling

Schedule a message to one fan, and read the model's scheduled messages. A scheduled message to a list is Mass Message with scheduledDate. These three calls cost 2 credits each.

curl -X POST "https://api.onlyfans-api.ai/api/models/MODEL_UUID/chats/FAN_USER_ID/messages/schedule" \
  -H "X-API-Key: sk_live_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"text": "Good morning!", "scheduledDate": "2026-11-09T08:00:00Z"}'
ParameterTypeDescription
scheduledDaterequired
stringISO 8601 time, for example "2026-11-09T08:00:00Z". Missing or empty is a 400 ('scheduledDate' (ISO 8601) is required). The gateway does not read the date; OnlyFans does.
text
stringMessage text. The gateway wraps it in <p>...</p>. Required if mediaFiles is empty (text or mediaFiles is required).
mediaFiles
arrayMedia ids, or objects {id, thumbId}. With price > 0, a plain id is sent as {id, thumbId: 1}.
price
numberPrice of a paid message. 0 = free. Not a number is a 400 (price must be a valid number).Default: 0
lockedText
booleanLock the text itself behind price.Default: false
previews
arrayPassed to OnlyFans as is. Not an array is a 400 (previews must be an array).Default: []

Idempotency-Key

Send an Idempotency-Key header (a UUID), as on Send Message: a retry with the same key and body answers the stored response (header Idempotency-Replayed: true) instead of scheduling a second message.

After the call

The answer is OnlyFans' queue object: its id is the queueId, date the time you asked for, and total: -1until it is sent. The message then shows in List Scheduled Messages under an item id of its own; the item's entity.queueId is this id. The WebSocket feed sends a chat_queue_update when it is created and chat_queue_finish when it has been sent. Cancelling a scheduled queue with DELETE /models/:model_id/queues/:queue_id is documented for mass messages; for this call it was not tested.
Response (dev log 2026-10-25)
{
  "data": {
    "id": 49284721214,
    "date": "2026-10-25T16:41:00+00:00",
    "total": -1,
    "isDone": false,
    "isReady": true,
    "pending": 0,
    "hasError": false,
    "canUnsend": true,
    "isCanceled": false,
    "unsendSeconds": 1000000,
    "isCouplePeopleMedia": false
  },
  "_meta": {
    "_credits": { "used": 2, "balance": 33 },
    "_rate_limits": { "limit_minute": 60, "remaining_minute": 58 }
  }
}
curl "https://api.onlyfans-api.ai/api/models/MODEL_UUID/schedules?publishDate=2026-11-08T00:00:00.000Z&publishDateEnd=2026-11-09T00:00:00.000Z&limit=20" \
  -H "X-API-Key: sk_live_your_key_here"
ParameterTypeDescription
publishDate
stringStart of the window, ISO 8601. Sent to OnlyFans only when given.
publishDateEnd
stringEnd of the window, ISO 8601. Sent to OnlyFans only when given.
timeZone
stringSent to OnlyFans only when given. Its format was not checked.
limit
integerNumber of items to return.Default: 20

Reading it

Each item has its own id (not the queueId), type, publishDateTime, and the message in entity: queueId, scheduledAt, and either userIds (one fan) or userLists and excludedLists (a list send). Whether a call without a window works was not tested: the call on record sent both dates.
Response (dev log 2026-10-25, abridged)
{
  "data": {
    "list": [
      {
        "id": 1782098354,
        "type": "chat",
        "entity": {
          "id": 49284721214,
          "text": "<p>Scheduled message text</p>",
          "isNew": true,
          "isTip": false,
          "media": [],
          "price": 0,
          "isFree": true,
          "giphyId": null,
          "isLiked": false,
          "queueId": 49284721214,
          "rawText": "Scheduled message text",
          "userIds": ["111111111"],
          "isOpened": false,
          "previews": [],
          "changedAt": "2026-10-25T16:37:10+00:00",
          "createdAt": "2026-10-25T16:37:10+00:00",
          "lockedText": false,
          "mediaCount": 0,
          "canPurchase": false,
          "isFromQueue": true,
          "scheduledAt": "2026-10-25T16:41:00+00:00",
          "isMediaReady": true,
          "releaseForms": [],
          "responseType": "message",
          "cancelSeconds": 1000000,
          "sentRulesType": "user",
          "canUnsendQueue": true,
          "sentRulesExtra": "u111111111",
          "isMarkdownDisabled": true,
          "unsendSecondsQueue": 1000000
        },
        "createdDateTime": "2026-10-25T16:37:11+00:00",
        "publishDateTime": "2026-10-25T16:41:00+00:00"
      },
      {
        "id": 1773796332,
        "type": "chat",
        "entity": {
          "id": 49042145745,
          "text": "<p>List message text</p>",
          "media": [],
          "price": 0,
          "isFree": true,
          "queueId": 49042145745,
          "rawText": "List message text",
          "userLists": ["fans", "following"],
          "excludedLists": ["muted", "1228687696"],
          "mediaCount": 1,
          "isFromQueue": true,
          "scheduledAt": "2026-10-25T21:39:00+00:00",
          "sentRulesType": "custom",
          "sentRulesExtra": "Custom list",
          "canUnsendQueue": true,
          "unsendSecondsQueue": 1000000
        },
        "createdDateTime": "2026-10-21T10:39:41+00:00",
        "publishDateTime": "2026-10-25T21:39:00+00:00"
      }
    ],
    "syncInProcess": false
  },
  "_meta": {
    "_credits": { "used": 2, "balance": 30 },
    "_rate_limits": { "limit_minute": 60, "remaining_minute": 58 }
  }
}
curl "https://api.onlyfans-api.ai/api/models/MODEL_UUID/schedules/counters?publishDate=2026-11-08T00:00:00.000Z&publishDateEnd=2026-11-09T00:00:00.000Z" \
  -H "X-API-Key: sk_live_your_key_here"
ParameterTypeDescription
publishDate
stringStart of the window, ISO 8601.
publishDateEnd
stringEnd of the window, ISO 8601.
timeZone
stringSent to OnlyFans only when given.

Response

OnlyFans' own answer, relayed unchanged inside data. It was not captured for these docs, so no example is shown: read it once on a test chat before you rely on its fields.

Lists

The lists on a model's OnlyFans account: list them, create one, pin lists to the chat filter bar and sort it, see and change which lists one fan is on, and manage a custom list (rename, delete, add several fans at once, clear, read the members). Rename, delete, add and clear take custom lists (numeric ids) only; the members read also takes the built-in lists (fans, following, friends, muted, purchased, recent, tagged). The limits (fans per call, fans per list, lists per account, calls per day) were not measured.

curl "https://api.onlyfans-api.ai/api/models/MODEL_UUID/lists?limit=10&offset=0" \
  -H "X-API-Key: sk_live_your_key_here"
ParameterTypeDescription
limit
integerLists per page.Default: 10
offset
integerLists to skip.Default: 0
query
stringSearch the list names, on OnlyFans. Not with view=queue: that is a 400 ('query' cannot be combined with view=queue).
view
stringqueue, or leave it out. Any other value is a 400 ('view' must be 'queue' when given).

The two views

The default view asks OnlyFans for the lists that can be pinned to the chat filter bar; the answer also carries the saved sort and order of that bar (see Sort Pinned Lists). view=queueis the call OnlyFans' New Message screen makes for its recipient picker: it adds the built-in lists (fans, recent, following, muted, tagged) to the custom ones, each with id, type, name, usersCount and a preview of three fans, and pages with hasMore. Both answers are OnlyFans' own; neither was captured for these docs.
curl -X POST "https://api.onlyfans-api.ai/api/models/MODEL_UUID/lists" \
  -H "X-API-Key: sk_live_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"name": "Cross-promo wave 1"}'
ParameterTypeDescription
namerequired
stringThe list name. Missing or empty is a 400 (name is required).

Response

OnlyFans' object for the new list. Checked live: it has usersCount: 0, postsCount: 0 and users: [], as the list is empty. Keep its id: every other list call takes it. A full example was not captured for these docs; the list object of Rename List shows the fields a list has.
Request
curl -X PATCH "https://api.onlyfans-api.ai/api/models/MODEL_UUID/lists/1320546743/pin" \
  -H "X-API-Key: sk_live_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"pinned": true}'
ParameterTypeDescription
list_idrequired
stringIn the path. The id of one of the model's lists.
pinnedrequired
booleantrue pins, false unpins. A body without it is a 400 ('pinned' field (boolean) is required). Send a JSON boolean: the gateway reads the value as true or false the way Python does, so the string "false" counts as true.

Note

Pinning is a setting of the model's account: the model sees the change on onlyfans.com too. Read the result in isPinnedToChat of Get Lists.

Response

OnlyFans' own answer, relayed unchanged inside data. It was not captured for these docs, so no example is shown: read it once on a test chat before you rely on its fields.

This is an account setting

OnlyFans saves the sort on the model's account, not on one list, so it also changes what the model sees on onlyfans.com. Get Lists answers with the saved sort and order. OnlyFans' drag-to-reorder (Customize order) is not supported.
curl -X POST "https://api.onlyfans-api.ai/api/models/MODEL_UUID/lists/sort" \
  -H "X-API-Key: sk_live_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"sort": "name", "order": "asc"}'
ParameterTypeDescription
sortrequired
stringOne of recent, name, people or custom. Anything else is a 400.
orderrequired
stringasc or desc. Anything else is a 400.

Response

OnlyFans' own answer, relayed unchanged inside data. It was not captured for these docs, so no example is shown: read it once on a test chat before you rely on its fields.
curl "https://api.onlyfans-api.ai/api/models/MODEL_UUID/chats/FAN_USER_ID/lists?limit=10&offset=0" \
  -H "X-API-Key: sk_live_your_key_here"
ParameterTypeDescription
user_idrequired
stringIn the path. The fan's OnlyFans user id.
limit
integerLists per page.Default: 10
offset
integerLists to skip. Lists further out (muted, purchased, recent, tagged and more custom lists) come on the next pages.Default: 0
query
stringSearch the list names, on OnlyFans.

Response

OnlyFans' own answer, relayed unchanged inside data. It was not captured for these docs, so no example is shown: read it once on a test chat before you rely on its fields.
curl -X POST "https://api.onlyfans-api.ai/api/models/MODEL_UUID/chats/FAN_USER_ID/lists/1320546743" \
  -H "X-API-Key: sk_live_your_key_here"
ParameterTypeDescription
user_idrequired
stringIn the path. The fan's OnlyFans user id.
list_idrequired
stringIn the path. A custom list's numeric id, or a built-in list id. The gateway passes it to OnlyFans unchecked.

Response

OnlyFans' own answer, relayed unchanged inside data. It was not captured for these docs, so no example is shown: read it once on a test chat before you rely on its fields.
curl -X DELETE "https://api.onlyfans-api.ai/api/models/MODEL_UUID/chats/FAN_USER_ID/lists/1320546743" \
  -H "X-API-Key: sk_live_your_key_here"
ParameterTypeDescription
user_idrequired
stringIn the path. The fan's OnlyFans user id.
list_idrequired
stringIn the path. The list's id.

Response

OnlyFans' own answer, relayed unchanged inside data. It was not captured for these docs, so no example is shown: read it once on a test chat before you rely on its fields.
Request
curl -X PATCH "https://api.onlyfans-api.ai/api/models/MODEL_UUID/lists/1320546743" \
  -H "X-API-Key: sk_live_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"name": "Cross-promo wave 1 - renamed"}'
ParameterTypeDescription
list_idrequired
stringIn the path. The numeric id of a custom list. A built-in list (fans, muted, ...) or anything that is not plain digits is a 400.
namerequired
stringThe new name. Blank is a 400.
Response
{
  "data": {
    "id": "1320546743",
    "type": "custom",
    "name": "Cross-promo wave 1 - renamed",
    "usersCount": 2,
    "postsCount": 0,
    "order": "default",
    "direction": "asc",
    "canUpdate": true,
    "canDelete": true,
    "canManageUsers": true,
    "canAddUsers": true,
    "canPinnedToFeed": true,
    "isPinnedToFeed": false,
    "canPinnedToChat": true,
    "isPinnedToChat": false,
    "sortList": [],
    "users": [
        {
          "view": "t",
          "id": 111111111,
          "name": "Fan One",
          "username": "u111111111",
          "isVerified": false,
          "isDeleted": false,
          "isActive": true,
          "avatar": null,
          "avatarThumbs": null,
          "displayName": "Fan One"
        },
        {
          "view": "t",
          "id": 111111112,
          "name": "Fan Two",
          "username": "u111111112",
          "isVerified": false,
          "isDeleted": false,
          "isActive": true,
          "avatar": null,
          "avatarThumbs": null,
          "displayName": "Fan Two"
        }
    ]
  },
  "_meta": {
    "_credits": { "used": 1, "balance": 995 },
    "_rate_limits": { "limit_minute": 60, "remaining_minute": 55 }
  }
}

The list is gone for good

Test on a throwaway list. The answer is {"success": true}. Reading the members of a deleted list comes back as a 502 with upstream_status: 404 and upstream_message: "User list not found".
curl -X DELETE "https://api.onlyfans-api.ai/api/models/MODEL_UUID/lists/1320546743" \
  -H "X-API-Key: sk_live_your_key_here"
ParameterTypeDescription
list_idrequired
stringIn the path. The numeric id of a custom list.
Response
{
  "data": { "success": true },
  "_meta": {
    "_credits": { "used": 1, "balance": 998 },
    "_rate_limits": { "limit_minute": 60, "remaining_minute": 58 }
  }
}

All or nothing

If any fan in the call is already in the list, OnlyFans refuses the whole call and adds none: 400 "Unable to add <username> to <list>", which comes back here as a 502 with code: "OF_API_ERROR". A call with one fan already in the list and one new fan added neither. Send only fans that are not in the list yet, or clear the list first. Repeated ids inside one call are dropped by the gateway before it asks OnlyFans.
curl -X POST "https://api.onlyfans-api.ai/api/models/MODEL_UUID/lists/1320546743/users" \
  -H "X-API-Key: sk_live_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"userIds": [111111111, 111111112]}'
ParameterTypeDescription
list_idrequired
stringIn the path. The numeric id of a custom list.
userIdsrequired
arrayOnlyFans fan ids, as numbers or digit strings; at least one. The gateway sets no maximum: how many OnlyFans takes in one call was not measured.

What comes back

The ids you sent, keyed by the list id. It is not the list object: read the count and the members with List Members.
Response
{
  "data": { "1320546743": [111111111, 111111112] },
  "_meta": {
    "_credits": { "used": 1, "balance": 993 },
    "_rate_limits": { "limit_minute": 60, "remaining_minute": 53 }
  }
}

This removes everyone

OnlyFans has no call that removes several chosen fans at once, and its own website has no multi-select either. Removing one fan is DELETE /models/:model_id/chats/:user_id/lists/:list_id. To rebuild a list: clear it, then add the fans in one call.
curl -X DELETE "https://api.onlyfans-api.ai/api/models/MODEL_UUID/lists/1320546743/users" \
  -H "X-API-Key: sk_live_your_key_here"
ParameterTypeDescription
list_idrequired
stringIn the path. The numeric id of a custom list.
Response
{
  "data": {
    "id": "1320546743",
    "type": "custom",
    "name": "Cross-promo wave 1 - renamed",
    "usersCount": 0,
    "postsCount": 0,
    "order": "default",
    "direction": "asc",
    "canUpdate": true,
    "canDelete": true,
    "canManageUsers": true,
    "canAddUsers": true,
    "canPinnedToFeed": true,
    "isPinnedToFeed": false,
    "canPinnedToChat": true,
    "isPinnedToChat": false,
    "sortList": [],
    "users": []
  },
  "_meta": {
    "_credits": { "used": 1, "balance": 994 },
    "_rate_limits": { "limit_minute": 60, "remaining_minute": 54 }
  }
}
curl "https://api.onlyfans-api.ai/api/models/MODEL_UUID/lists/1320546743/users?offset=0&limit=10&fields=slim" \
  -H "X-API-Key: sk_live_your_key_here"
ParameterTypeDescription
list_idrequired
stringIn the path. The numeric id of a custom list, or one of the built-in lists: fans, following, friends, muted, purchased, recent, tagged.
offset
numberWhere to start. Use nextOffset from the previous page.Default: 0
limit
numberFans per page. OnlyFans' own list screen asks for 10; 100 was tried on following and returned 100 fans (about 415 kB, 8 seconds). Larger values were not tried.Default: 10
fields
stringv3 extension, off unless you ask. raw (the default) is OnlyFans' own fan objects, unchanged: the lists a fan is on, the subscription state and the lifetime spend are in them. slim shortens each fan to id, username, name, displayName, isActive and lastSeen and nothing else: no spend, no subscription state, no lists. Same convention as Stats > Fans.Default: raw

Following and the other built-in lists

  • Every built-in list answered in a read-only check on one creator. friends and purchased were empty there, so what their fan objects hold was not seen. Only the members read takes these ids; rename, delete, add and clear refuse them.
  • The list is the list, not the chats: a fan with no chat is on it. In the check on following, every fan of the first ten came with listsStates (every list the fan is on, custom ones included) and subscribedByData, and 8 of the 10 had a number in subscribedOnData.totalSumm (what the fan has spent with the creator). The other 2 had no subscribedOnData values.
  • That is the raw answer, the default. fields=slim leaves all of it out, so do not use slim when you need spend, state or lists.

Paging

Call again with offset set to the nextOffset of the page you have, while hasMore is true. Do not compute it as offset plus the number of fans: OnlyFans skips some rows, so a page that started at 13 returned 10 fans and a nextOffset of 25. A raw fan object is several kilobytes (three test fans came to 12.8 kB raw and 0.5 kB slim), so use fields=slim for a membership check. The OnlyFans web app pages by 10.
Response (raw, abridged)
{
  "data": {
    "list": [
      {
        "view": "x",
        "id": 111111111,
        "name": "Fan One",
        "username": "u111111111",
        "displayName": "Fan One",
        "isActive": true,
        "lastSeen": "2026-10-11T04:17:21+00:00",
        "subscribedBy": false,
        "subscribedOn": true,
        "listsStates": [
          {
            "id": "fans",
            "type": "fans",
            "name": "Fans",
            "hasUser": true,
            "canAddUser": false,
            "cannotAddUserReason": "ALREADY_EXISTS"
          }
        ],
        "subscribedOnData": {
          "price": 0,
          "subscribeAt": "2026-10-05T12:57:27+00:00",
          "expiredAt": "2026-11-04T12:57:27+00:00",
          "totalSumm": 4.8
        }
      }
    ],
    "nextOffset": 2,
    "hasMore": true
  },
  "_meta": {
    "_credits": { "used": 1, "balance": 992 },
    "_rate_limits": { "limit_minute": 60, "remaining_minute": 52 }
  }
}
Response with fields=slim
{
  "data": {
    "list": [
      {
        "id": 111111111,
        "username": "u111111111",
        "name": "Fan One",
        "displayName": "Fan One",
        "isActive": true,
        "lastSeen": "2026-10-11T04:17:21+00:00"
      }
    ],
    "nextOffset": 2,
    "hasMore": true
  },
  "_meta": {
    "_credits": { "used": 1, "balance": 991 },
    "_rate_limits": { "limit_minute": 60, "remaining_minute": 51 }
  }
}

Bookmarks

Bookmark messages and file them in bookmark categories: the Add to collection dialog on onlyfans.com.

chatGroupId is the message's own queueId

Every bookmark call takes chatGroupId in the body: the message's own queueId (queue_id in /api/query, when named in fields; queueId in a live message), not the chat or fan id.queueId is accepted as an alternative name, and OnlyFans takes the value as a string or a number. The stored is_added_to_bookmarksflag is a snapshot from when the message was first synced; read a message's current state from isAddedToBookmarks in the live Get Chat Messages response.
curl -X POST "https://api.onlyfans-api.ai/api/models/MODEL_UUID/chats/FAN_USER_ID/messages/MESSAGE_ID/bookmark" \
  -H "X-API-Key: sk_live_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"chatGroupId": "47969407551"}'
ParameterTypeDescription
chatGroupIdrequired
stringThe message's own queueId.
Response
{
  "data": { "success": true },
  "_meta": {
    "_credits": { "used": 1, "balance": 998 },
    "_rate_limits": { "limit_minute": 60, "remaining_minute": 58 }
  }
}
curl -X DELETE "https://api.onlyfans-api.ai/api/models/MODEL_UUID/chats/FAN_USER_ID/messages/MESSAGE_ID/bookmark" \
  -H "X-API-Key: sk_live_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"chatGroupId": "47969407551"}'
ParameterTypeDescription
chatGroupIdrequired
stringThe message's own queueId.
Response
{
  "data": { "success": true },
  "_meta": {
    "_credits": { "used": 1, "balance": 998 },
    "_rate_limits": { "limit_minute": 60, "remaining_minute": 58 }
  }
}
curl "https://api.onlyfans-api.ai/api/models/MODEL_UUID/bookmarks/categories?messageId=11486645186108&chatGroupId=47969407551" \
  -H "X-API-Key: sk_live_your_key_here"
ParameterTypeDescription
limit
integerNumber of categories to return.Default: 10
offset
integerNumber of categories to skip for pagination.Default: 0
messageId
stringThe message the dialog was opened on (its OnlyFans message id). Send it together with chatGroupId, or neither.
chatGroupId
stringThat message's own queueId. Send it together with messageId, or neither.

Note

The order of the list is a setting saved on the model's account (see Sort Bookmark Categories), not a query parameter. The response echoes the saved sort and order.
Response
{
  "data": {
    "list": [
      {
        "id": "4027583",
        "name": "Favorites",
        "postCount": 0,
        "messageCount": 1,
        "lastActivity": "2026-10-03T20:26:29+00:00",
        "posts": [{ "type": "text", "canViewMedia": true, "postId": "11486645186108" }],
        "hasPost": true
      }
    ],
    "hasMore": false,
    "order": "asc",
    "sort": "name",
    "all": {
      "postCount": 0,
      "messageCount": 1,
      "posts": [{ "type": "text", "canViewMedia": true, "postId": "11486645186108" }]
    }
  },
  "_meta": {
    "_credits": { "used": 1, "balance": 998 },
    "_rate_limits": { "limit_minute": 60, "remaining_minute": 58 }
  }
}
curl -X POST "https://api.onlyfans-api.ai/api/models/MODEL_UUID/bookmarks/categories" \
  -H "X-API-Key: sk_live_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"name": "Favorites"}'
ParameterTypeDescription
namerequired
stringThe category name.
Response
{
  "data": {
    "id": "4027509",
    "name": "Favorites",
    "postCount": 0,
    "messageCount": 0,
    "lastActivity": "2026-10-03T20:05:49+00:00",
    "posts": []
  },
  "_meta": {
    "_credits": { "used": 1, "balance": 998 },
    "_rate_limits": { "limit_minute": 60, "remaining_minute": 58 }
  }
}

This is an account setting

OnlyFans saves the sort on the model's account, so it also changes the order the model sees on onlyfans.com. Sort on your side if you need a different order per screen. OnlyFans' drag-to-reorder (Customize order) is not supported.
curl -X POST "https://api.onlyfans-api.ai/api/models/MODEL_UUID/bookmarks/categories/sort" \
  -H "X-API-Key: sk_live_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"sort": "name", "order": "asc"}'
ParameterTypeDescription
sortrequired
stringOne of recent, name, bookmarks_count or custom.
orderrequired
stringasc or desc.
Response
{
  "data": { "success": true },
  "_meta": {
    "_credits": { "used": 1, "balance": 998 },
    "_rate_limits": { "limit_minute": 60, "remaining_minute": 58 }
  }
}
curl -X POST "https://api.onlyfans-api.ai/api/models/MODEL_UUID/bookmarks/categories/CATEGORY_ID/messages/MESSAGE_ID" \
  -H "X-API-Key: sk_live_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"chatGroupId": "47969407551"}'
ParameterTypeDescription
chatGroupIdrequired
stringThe message's own queueId.
Response
{
  "data": {
    "bookmarkCategory": {
      "id": "4027509",
      "name": "Favorites",
      "postCount": 0,
      "messageCount": 1,
      "lastActivity": "2026-10-03T20:06:00+00:00",
      "posts": [{ "type": "text", "canViewMedia": true, "postId": "11486645186108" }]
    },
    "bookmarkCategoryPost": {
      "id": "64213909",
      "categoryId": "4027509",
      "userId": 523990756,
      "postId": null,
      "messageId": "11486645186108",
      "postUserId": 566432805,
      "publishDate": "2026-10-03T17:50:37+00:00"
    },
    "success": true
  },
  "_meta": {
    "_credits": { "used": 1, "balance": 998 },
    "_rate_limits": { "limit_minute": 60, "remaining_minute": 58 }
  }
}
curl -X DELETE "https://api.onlyfans-api.ai/api/models/MODEL_UUID/bookmarks/categories/CATEGORY_ID/messages/MESSAGE_ID" \
  -H "X-API-Key: sk_live_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"chatGroupId": "47969407551"}'
ParameterTypeDescription
chatGroupIdrequired
stringThe message's own queueId.
Response
{
  "data": {
    "id": "4027509",
    "name": "Favorites",
    "postCount": 0,
    "messageCount": 0,
    "lastActivity": "2026-10-03T20:05:49+00:00",
    "posts": []
  },
  "_meta": {
    "_credits": { "used": 1, "balance": 998 },
    "_rate_limits": { "limit_minute": 60, "remaining_minute": 58 }
  }
}
curl "https://api.onlyfans-api.ai/api/models/MODEL_UUID/bookmarks?type=all&entityType=messages&filter=date_last_1_week" \
  -H "X-API-Key: sk_live_your_key_here"
ParameterTypeDescription
type
stringMedia type: all, photos, videos or audios. The Other and Locked chips are not supported yet.Default: all
entityType
stringall, posts or messages.Default: all
filter
stringDate filter: date_last_1_week, date_last_1_month or date_last_3_months. Omit for all time.
order
stringpublish_date_asc for oldest first. Omit for newest first.
limit
integerNumber of bookmarks to return.Default: 10
offset
integerNumber of bookmarks to skip for pagination.Default: 0

Note

With entityType=messages each item is the full OnlyFans message object, so keep limit small.
Response
{
  "data": {
    "list": [
      {
        "responseType": "message",
        "id": 11486645186108,
        "text": "<p>hi molly 2</p>",
        "queueId": 47969407551,
        "createdAt": "2026-10-03T17:50:37+00:00",
        "fromUser": { "id": 566432805, "displayName": "Patrick//" },
        "isAddedToBookmarks": true,
        "isPinned": true,
        "chatUserId": 566432805
      }
    ],
    "hasMore": false
  },
  "_meta": {
    "_credits": { "used": 1, "balance": 998 },
    "_rate_limits": { "limit_minute": 60, "remaining_minute": 58 }
  }
}

Stats

Analytics endpoints. All stats endpoints require startDate and endDate query parameters in YYYY-MM-DD format.

curl "https://api.onlyfans-api.ai/api/models/MODEL_UUID/stats/overview?startDate=2026-03-01&endDate=2026-03-31" \
  -H "X-API-Key: sk_live_your_key_here"
ParameterTypeDescription
startDaterequired
stringStart date in YYYY-MM-DD format
endDaterequired
stringEnd date in YYYY-MM-DD format
curl "https://api.onlyfans-api.ai/api/models/MODEL_UUID/stats/reach?startDate=2026-03-01&endDate=2026-03-31" \
  -H "X-API-Key: sk_live_your_key_here"
ParameterTypeDescription
startDaterequired
stringStart date in YYYY-MM-DD format
endDaterequired
stringEnd date in YYYY-MM-DD format
curl "https://api.onlyfans-api.ai/api/models/MODEL_UUID/stats/reach/by-country?startDate=2026-03-01&endDate=2026-03-31&limit=3" \
  -H "X-API-Key: sk_live_your_key_here"
ParameterTypeDescription
startDaterequired
stringStart date in YYYY-MM-DD format
endDaterequired
stringEnd date in YYYY-MM-DD format
limit
integerNumber of countries to returnDefault: 3
curl "https://api.onlyfans-api.ai/api/models/MODEL_UUID/stats/fans?startDate=2026-10-04%2010:30:00&endDate=2026-10-04%2011:10:00&by=new" \
  -H "X-API-Key: sk_live_your_key_here"
ParameterTypeDescription
startDaterequired
stringStart, UTC, YYYY-MM-DD HH:MM:SS (for example 2026-10-04 10:30:00). The time of day is honoured to the second and the start is inclusive
endDaterequired
stringEnd, UTC, YYYY-MM-DD HH:MM:SS. The end is inclusive
by
stringOnlyFans' own filter, passed through: total (all subscriptions), new (first-time subscribers) or renew (renewals)Default: total
offset
integerPagination offset, a multiple of 10. Go up by 10 for every page while hasMore is trueDefault: 0
fields
stringv3 extension. raw: OnlyFans' own fan objects, unchanged. slim: id, username, subscribeAt, expiredAt, price and subscribes (date, action, type, price) per fan. subscribeAt is the ORIGINAL subscribe date; for a renewal or return the time of the event is subscribes[].dateDefault: raw

Exact times, UTC

  • Both ends are inclusive and the time of day is honoured to the second.
  • The response is OnlyFans' own: one page of 10, as its Statistics > Fans list returns it (users, offset, hasMore).by is OnlyFans' own filter, passed through. fields=slim is a v3 extension.
  • A call is one call to OnlyFans and costs 1 credit. For more than one page, call again with offset up by 10 while hasMore is true (see below).
  • subscribeAtis the fan's original subscribe date. For a renewal (prolong) or a return, the time of the event is subscribes[].date, next to its action (subscribe, prolong, return), type (trial, promo, regular) and price.
  • by=new is OnlyFans' own set: it also holds free trials, promos and returning fans (action return). To count paying new subscribers, keep the entries whose subscribes[] has a price above 0, or use the payouts transactions.
  • Deleted accounts are not listed, so a count can run a little under the total OnlyFans shows for the same range. OnlyFans' own daily summary chart cannot count a window shorter than a day.
  • Only startDate, endDate, offset, by and fields are forwarded; other parameters are ignored.

Reading a whole window

  • Go up by 10 for every page, not by the number of fans in the answer: OnlyFans leaves deleted accounts out of a page, so a page can hold fewer than 10 and still be followed by another.
  • Stop when hasMore is false.
  • Keep a fan once by id. New subscribers arriving while you page shift the list; an endDate in the past gives a list that does not move.
  • On 429 or 502, wait a few seconds and ask for the same offset again.
Reading a whole window (Python)
import time
import requests

def fans_in_window(model_id, start, end, by="new", key="YOUR_API_KEY"):
    seen, offset, retries = {}, 0, 0
    while True:
        r = requests.get(
            f"https://api.onlyfans-api.ai/api/models/{model_id}/stats/fans",
            params={"startDate": start, "endDate": end, "by": by, "offset": offset},
            headers={"X-API-Key": key},
        )
        if r.status_code in (429, 502) and retries < 5:   # slow down, same offset again
            retries += 1
            time.sleep(5)
            continue
        r.raise_for_status()
        retries = 0
        page = r.json()["data"]
        for fan in page["users"]:
            seen[fan["id"]] = fan            # a fan seen twice counts once
        if not page["hasMore"]:
            return list(seen.values())
        offset += 10                         # always 10, not len(page["users"])
Reading a whole window (JavaScript)
async function fansInWindow(modelId, start, end, by = "new", key = "YOUR_API_KEY") {
  const seen = new Map()
  let offset = 0
  let retries = 0
  for (;;) {
    const qs = new URLSearchParams({ startDate: start, endDate: end, by, offset })
    const res = await fetch(
      "https://api.onlyfans-api.ai/api/models/" + modelId + "/stats/fans?" + qs,
      { headers: { "X-API-Key": key } },
    )
    if ((res.status === 429 || res.status === 502) && retries < 5) {   // slow down, same offset again
      retries++
      await new Promise((resolve) => setTimeout(resolve, 5000))
      continue
    }
    if (!res.ok) throw new Error("HTTP " + res.status)
    retries = 0
    const page = (await res.json()).data
    for (const fan of page.users) seen.set(fan.id, fan)   // a fan seen twice counts once
    if (!page.hasMore) return [...seen.values()]
    offset += 10                                          // always 10, not page.users.length
  }
}
Response, one page (trimmed to the main fields)
{
  "data": {
    "users": [
      {
        "id": 333276012,
        "name": "Fan Name",
        "username": "u333276012",
        "subscribedOn": true,
        "subscribedOnData": {
          "price": 0,
          "subscribeAt": "2026-10-04T10:35:41+00:00",
          "expiredAt": "2036-10-04T10:35:41+00:00",
          "subscribes": [
            { "id": 15424842457, "date": "2026-10-04T10:35:41+00:00", "action": "subscribe", "type": "trial", "price": 0 }
          ]
        }
      }
    ],
    "offset": 0,
    "hasMore": false
  },
  "_meta": {
    "_credits": { "used": 1, "balance": 4990 },
    "_rate_limits": { "limit_minute": 60, "remaining_minute": 51 }
  }
}
Response with fields=slim
{
  "data": {
    "users": [
      {
        "id": 333276012, "username": "u333276012", "subscribeAt": "2026-10-04T10:35:41+00:00", "expiredAt": "2036-10-04T10:35:41+00:00", "price": 0,
        "subscribes": [{ "date": "2026-10-04T10:35:41+00:00", "action": "subscribe", "type": "trial", "price": 0 }]
      },
      {
        "id": 333276013, "username": "u333276013", "subscribeAt": "2025-03-16T21:41:12+00:00", "expiredAt": "2026-11-03T10:38:32+00:00", "price": 20,
        "subscribes": [{ "date": "2026-10-04T10:38:32+00:00", "action": "prolong", "type": "regular", "price": 20 }]
      }
    ],
    "offset": 0,
    "hasMore": false
  },
  "_meta": {
    "_credits": { "used": 1, "balance": 4990 },
    "_rate_limits": { "limit_minute": 60, "remaining_minute": 51 }
  }
}
curl "https://api.onlyfans-api.ai/api/models/MODEL_UUID/stats/mass-messages?startDate=2026-10-11%2000:00:00&endDate=2026-10-12%2000:00:00&limit=10" \
  -H "X-API-Key: sk_live_your_key_here"
ParameterTypeDescription
startDaterequired
stringStart, UTC, YYYY-MM-DD HH:MM:SS (for example 2026-10-11 00:00:00).
endDaterequired
stringEnd, UTC, YYYY-MM-DD HH:MM:SS. For the next page, set it to the date of the last item you got.
limit
numberQueues per page. OnlyFans' own screen asks for 10; larger values were not tried.Default: 10
fields
stringv3 extension, off unless you ask. raw (the default) is OnlyFans' own items, unchanged, media and signed CDN urls included. slim keeps id, date, rawText, isFree, price, mediaCount, sentCount, viewedCount, purchasedCount, canSendMessageToBuyers, isCanceled, canUnsend and unsendSeconds and drops the media. price, purchasedCount and canSendMessageToBuyers are missing from a free queue's raw item and null in slim.Default: raw

Reading it

  • The response is OnlyFans' own: {hasMore, items}, one item per queue. An item's id is the queueId that Mass Message answered with, so it also works with Unsend Mass Message and Mass Message Status.
  • sentCount is how many fans it reached, viewedCount how many viewed it. In the one test, a paid message whose recipient only opened the chat, with the message still locked, read viewedCount: 0; after one fan bought it and another opened the chat it read 1. Which of the two counted was not separated.
  • A paid queue also has price, purchasedCount and canSendMessageToBuyers. A $3 queue to two fans read purchasedCount: 0 before one fan bought it and 1 after. A free queue has none of the three.
  • A queue that was unsent or cancelled stays in the list with isCanceled: true; its sentCount is how many fans it had reached.
  • A call is one call to OnlyFans and costs 1 credit. Only startDate, endDate, limit and fields are forwarded.

Paging

  • There is no offset. Call again with endDate set to the date of the last item, while hasMore is true.
  • In the test the item with that exact date was not repeated on the next page. Two queues with the same second at a page boundary were not tried.
  • Raw items carry the media with signed CDN urls, about 10 kB for one photo; fields=slim is the small version for counting.
Reading a window (Python)
import requests

def mass_messages_in_window(model_id, start, end, key="YOUR_API_KEY"):
    queues = []
    while True:
        r = requests.get(
            f"https://api.onlyfans-api.ai/api/models/{model_id}/stats/mass-messages",
            params={"startDate": start, "endDate": end, "limit": 10, "fields": "slim"},
            headers={"X-API-Key": key},
        )
        r.raise_for_status()
        page = r.json()["data"]
        queues += page["items"]
        if not page["hasMore"] or not page["items"]:
            return queues
        # next page: the same call, endDate = the date of the last item (UTC)
        end = page["items"][-1]["date"][:19].replace("T", " ")
Response (raw, abridged)
{
  "data": {
    "hasMore": true,
    "items": [
      {
        "id": 48449804475,
        "date": "2026-10-11T18:08:48+00:00",
        "responseType": "message",
        "text": "<p>ofa-43 ppv test ($3), ignore</p>",
        "rawText": "ofa-43 ppv test ($3), ignore",
        "giphyId": null,
        "isFree": false,
        "isMediaReady": true,
        "mediaCount": 1,
        "media": [
          {
            "id": 4736868567,
            "type": "photo",
            "canView": true,
            "isReady": true,
            "files": {
              "full": { "url": "https://cdn2.onlyfans.com/files/.../800x1000_....jpg?Tag=2&Policy=...&Signature=...", "width": 800, "height": 1000 }
            }
          }
        ],
        "previews": [],
        "isTip": false,
        "isReportedByMe": false,
        "viewedCount": 1,
        "sentCount": 2,
        "isCanceled": false,
        "template": "group",
        "canUnsend": true,
        "unsendSeconds": 1000000,
        "price": "3.00",
        "purchasedCount": 1,
        "canSendMessageToBuyers": true
      },
      {
        "id": 48436521037,
        "date": "2026-10-11T13:09:43+00:00",
        "responseType": "message",
        "text": "<p>Hey everyone!</p>",
        "rawText": "Hey everyone!",
        "giphyId": null,
        "isFree": true,
        "isMediaReady": true,
        "mediaCount": 0,
        "media": [],
        "previews": [],
        "isTip": false,
        "isReportedByMe": false,
        "viewedCount": 0,
        "sentCount": 2,
        "isCanceled": true,
        "template": "group",
        "canUnsend": false,
        "unsendSeconds": 0
      }
    ]
  },
  "_meta": {
    "_credits": { "used": 1, "balance": 990 },
    "_rate_limits": { "limit_minute": 60, "remaining_minute": 50 }
  }
}
Response with fields=slim
{
  "data": {
    "hasMore": true,
    "items": [
      {
        "id": 48449804475,
        "date": "2026-10-11T18:08:48+00:00",
        "rawText": "ofa-43 ppv test ($3), ignore",
        "isFree": false,
        "price": "3.00",
        "mediaCount": 1,
        "sentCount": 2,
        "viewedCount": 1,
        "purchasedCount": 1,
        "canSendMessageToBuyers": true,
        "isCanceled": false,
        "canUnsend": true,
        "unsendSeconds": 1000000
      },
      {
        "id": 48436521037,
        "date": "2026-10-11T13:09:43+00:00",
        "rawText": "Hey everyone!",
        "isFree": true,
        "price": null,
        "mediaCount": 0,
        "sentCount": 2,
        "viewedCount": 0,
        "purchasedCount": null,
        "canSendMessageToBuyers": null,
        "isCanceled": true,
        "canUnsend": false,
        "unsendSeconds": 0
      }
    ]
  },
  "_meta": {
    "_credits": { "used": 1, "balance": 989 },
    "_rate_limits": { "limit_minute": 60, "remaining_minute": 49 }
  }
}
curl "https://api.onlyfans-api.ai/api/models/MODEL_UUID/stats/fans/top?startDate=2026-03-01&endDate=2026-03-31&offset=0" \
  -H "X-API-Key: sk_live_your_key_here"
ParameterTypeDescription
startDaterequired
stringStart date in YYYY-MM-DD format
endDaterequired
stringEnd date in YYYY-MM-DD format
offset
integerPagination offsetDefault: 0

Vault

Access the model's OnlyFans vault — organized media collections and individual media files.

curl "https://api.onlyfans-api.ai/api/models/MODEL_UUID/vault/lists?limit=10&offset=0&view=main" \
  -H "X-API-Key: sk_live_your_key_here"
ParameterTypeDescription
limit
integerNumber of lists to returnDefault: 10
offset
integerPagination offsetDefault: 0
view
stringView typeDefault: main
Response
{
  "data": {
    "all": {
      "audiosCount": 9,
      "gifsCount": 0,
      "photosCount": 711,
      "videosCount": 207,
      "medias": [
        { "type": "photo", "url": "https://cdn2.onlyfans.com/files/.../300x300_xxx.jpg?..." }
      ]
    },
    "canCreateVaultLists": true,
    "hasMore": true,
    "order": "asc",
    "sort": "custom",
    "list": [
      {
        "id": 25744825,
        "name": "MM to schedule",
        "type": "custom",
        "canDelete": true,
        "canUpdate": true,
        "hasMedia": true,
        "audiosCount": 0,
        "gifsCount": 0,
        "photosCount": 56,
        "videosCount": 0,
        "medias": [
          { "type": "photo", "url": "https://cdn2.onlyfans.com/files/.../300x300_xxx.jpg?..." }
        ]
      }
    ]
  },
  "_meta": {
    "_credits": { "used": 1, "balance": 95 },
    "_rate_limits": { "limit_minute": 10, "remaining_minute": 9 }
  }
}
curl "https://api.onlyfans-api.ai/api/models/MODEL_UUID/vault/media?limit=10&offset=0&field=recent&sort=desc&list=all" \
  -H "X-API-Key: sk_live_your_key_here"
ParameterTypeDescription
limit
integerNumber of items to returnDefault: 10
offset
integerPagination offsetDefault: 0
field
stringSort field: recent or topDefault: recent
sort
stringSort direction: desc or ascDefault: desc
list
stringVault list ID or 'all'Default: all
Response
{
  "data": {
    "hasMore": true,
    "list": [
      {
        "id": 4395928356,
        "type": "photo",
        "createdAt": "2026-04-11T05:53:01+00:00",
        "isReady": true,
        "canView": true,
        "hasError": false,
        "hasPosts": false,
        "hasCustomPreview": false,
        "convertedToVideo": false,
        "duration": 0,
        "counters": { "likesCount": 0, "tipsSumm": 0 },
        "files": {
          "full":          { "url": "https://cdn2.onlyfans.com/.../3024x4032_xxx.jpg?...", "width": 3024, "height": 4032, "size": 0, "sources": [] },
          "preview":       { "url": "https://cdn2.onlyfans.com/.../960x1280_xxx.jpg?...",  "width": 960,  "height": 1280, "size": 0 },
          "squarePreview": { "url": "https://cdn2.onlyfans.com/.../960x960_xxx.jpg?...",   "width": 960,  "height": 960,  "size": 0 },
          "thumb":         { "url": "https://cdn2.onlyfans.com/.../300x300_xxx.jpg?...",   "width": 300,  "height": 300,  "size": 0 }
        },
        "cursor_id": "gAAAAABmZ...5f3c",
        "listStates": [
          { "id": 25740545, "name": "Posts",           "type": "posts",    "canAddMedia": false, "hasMedia": false },
          { "id": 25740546, "name": "Messages",        "type": "messages", "canAddMedia": false, "hasMedia": true  },
          { "id": 25744825, "name": "MM to schedule",  "type": "custom",   "canAddMedia": true,  "hasMedia": false }
        ]
      }
    ]
  },
  "_meta": {
    "_credits": { "used": 1, "balance": 93 },
    "_rate_limits": { "limit_minute": 10, "remaining_minute": 8 }
  }
}
curl -X POST "https://api.onlyfans-api.ai/api/models/MODEL_UUID/vault/media/search" \
  -H "X-API-Key: sk_live_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"query": "beach sunset", "limit": 5, "max_distance": 0.6}'
ParameterTypeDescription
queryrequired
stringWhat to find, in plain words. Missing or blank is a 400 with code MISSING_QUERY.
limit
integerResults to return, at most 50 (a larger value is cut to 50). Not a whole number is a 400 with code INVALID_PARAM.Default: 10
list_ids
arrayOnly search media in these vault lists (OnlyFans vault list ids). Not an array is a 400 (INVALID_PARAM).
list_names
arrayOnly search media in the vault lists with these names. With list_ids too, a medium in either matches. Not an array is a 400 (INVALID_PARAM).
exclude_ids
arrayResult ids (the id field of a result) to leave out, for example media already sent. Anything but an array of UUIDs is a 400 (INVALID_PARAM).
max_distance
numberDrop results farther than this. Without it every described medium is a candidate, however weak the match. Not a number is a 400 (INVALID_PARAM).

Reading the results

Results come closest first. distance is the cosine distance between your query and the description: lower is closer. id is the gateway's own id of the vault medium, not the OnlyFans media id. explicitness is one of safe, suggestive, topless, nude or explicit. list_ids are the vault lists the medium is in. To fetch the file, send full_url (or another url) with its cursor_id to Download Media.

Only described media can be found

The search only covers media the gateway has already described. A model whose vault has not been described yet gets an empty results list, not an error. The urls are the ones stored when the vault was last synced, so an old url may have expired.
Response (shape built by the gateway; values are placeholders)
{
  "data": {
    "results": [
      {
        "id": "ce9f1100-a9c6-42fb-88ae-f07551243fa9",
        "media_type": "photo",
        "preview_url": "https://cdn2.onlyfans.com/files/.../preview.jpg",
        "thumb_url": "https://cdn2.onlyfans.com/files/.../thumb.jpg",
        "square_preview_url": "https://cdn2.onlyfans.com/files/.../square.jpg",
        "full_url": "https://cdn2.onlyfans.com/files/.../full.jpg",
        "cursor_id": "gAAAAABq...",
        "summary": "A short description of the picture.",
        "explicitness": "safe",
        "clothing": "red dress",
        "setting": "beach at sunset",
        "action": "walking along the water",
        "mood": ["relaxed", "playful"],
        "retrieval_tags": ["beach", "sunset", "red dress"],
        "mentionable_details": ["red dress", "sunset over the sea"],
        "list_ids": ["1228687696"],
        "distance": 0.5342716330413377
      }
    ],
    "query": "beach sunset",
    "model_id": "16f3d13b-9415-4e6b-babe-e8db6b31bd97"
  },
  "_meta": {
    "_credits": { "used": 1, "balance": 4999 },
    "_rate_limits": { "limit_minute": 60, "remaining_minute": 58 }
  }
}

Media

Download media: OnlyFans CDN files and our stored copies.

curl -X POST "https://api.onlyfans-api.ai/api/models/MODEL_UUID/media/download" \
  -H "X-API-Key: sk_live_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://cdn2.onlyfans.com/files/.../filename.jpg", "cursor_id": "gAAAAABmZ...5f3c"}'
ParameterTypeDescription
urlrequired
stringA media item's files.*.url, unchanged: an https OnlyFans CDN url (https://cdnN.onlyfans.com/...) or our stored copy (/api/models/{model_id}/media/atlas/{asset_id}, same model as this request)
cursor_id
stringRequired with a CDN url: the opaque routing token returned alongside it by the vault/message media endpoint that produced it — pass back exactly as received. Not needed for a stored copy

Stored copies

Once a media item has been copied to our storage, its files.*.url is a path that starts with /api/models/{model_id}/media/atlas/. Send it here as the url (no cursor_id), or GET that path directly: both return the same file and neither expires. The path has to name the model in the URL of this request, otherwise it is a 400.

Streaming response

This endpoint streams binary content directly. Set Accept to the expected media type and handle the response as a binary stream — not JSON.

cursor_id is required for CDN urls

CDN urls of vault and message media are signed against the exit IP of the specific proxy that resolved them — fetching one through a different proxy returns 403 even before it expires. Always pass back the cursor_id from the same response that gave you the url.
curl "https://api.onlyfans-api.ai/api/models/MODEL_UUID/media/atlas/ASSET_UUID" \
  -H "X-API-Key: sk_live_your_key_here"
ParameterTypeDescription
media_asset_idrequired
stringThe asset id at the end of the stored-copy path in files.*.url

Not found

A 404 means the copy is not ready yet or does not belong to this model. A media item without a stored copy still carries its https OnlyFans CDN url in files.*.url: use POST /models/:model_id/media/download for it.

Streaming response

This endpoint streams binary content directly. Handle the response as a binary stream — not JSON.

Fans

curl "https://api.onlyfans-api.ai/api/models/MODEL_UUID/fans/info?user_id=553393565" \
  -H "X-API-Key: sk_live_your_key_here"
ParameterTypeDescription
user_idrequired
integerThe OnlyFans user ID of the fan
Response
{
  "data": {
    "id": 553393565,
    "name": "Marvin",
    "displayName": "✨Marvin//30",
    "username": "u553393565",
    "isPerformer": false,
    "isActive": true,
    "lastSeen": "2026-04-03T17:17:28+00:00",
    "subscribedOn": true,
    "subscribedOnData": {
      "price": 20,
      "expiredAt": "2026-04-28T05:59:14+00:00",
      "messagesSumm": 297.2,
      "totalSumm": 315.6
    },
    "listsStates": [
      { "id": "fans", "name": "Fans", "hasUser": true },
      { "id": "muted", "name": "Muted", "hasUser": false }
    ]
  },
  "_meta": {
    "_credits": { "used": 1, "balance": 4994 },
    "_rate_limits": { "limit_minute": 60, "remaining_minute": 54 }
  }
}
curl "https://api.onlyfans-api.ai/api/models/MODEL_UUID/fans/batch?ids=111111111,111111112" \
  -H "X-API-Key: sk_live_your_key_here"
ParameterTypeDescription
idsrequired
stringFan ids, comma-separated (ids=1,2,3) or repeated (ids=1&ids=2). Missing or empty is a 400 (query param 'ids' is required (comma-separated fan IDs)).

20 fans per call

OnlyFans returns at most 20 profiles per call. With 25, 50 or 100 ids it still answers 200, with 20 entries (tested 2026-10-10), and says nothing about the others. Send 20 ids at most and split larger sets.

Response

An object keyed by fan id, each value OnlyFans' profile summary of that fan, relayed unchanged. A full example was not captured for these docs. For one fan with subscription and spend details, use Get Fan Info.

Payouts

curl "https://api.onlyfans-api.ai/api/models/MODEL_UUID/payouts/balances" \
  -H "X-API-Key: sk_live_your_key_here"
Response
{
  "data": {
    "currency": "USD",
    "payoutAvailable": 1532.03,
    "payoutPending": 1134.45,
    "maxPayoutSumm": 1532.03,
    "minPayoutSumm": 100,
    "withdrawalPeriod": "manual",
    "withdrawalPeriodOptions": [
      { "code": "manual", "name": "Manual payouts" },
      { "code": "weekly", "name": "Weekly payouts" },
      { "code": "monthly", "name": "Monthly payouts" }
    ]
  },
  "_meta": {
    "_credits": { "used": 1, "balance": 4993 },
    "_rate_limits": { "limit_minute": 60, "remaining_minute": 53 }
  }
}
curl "https://api.onlyfans-api.ai/api/models/MODEL_UUID/payouts/requests?limit=10&offset=0" \
  -H "X-API-Key: sk_live_your_key_here"
ParameterTypeDescription
limit
integerNumber of requests to returnDefault: 10
offset
integerPagination offsetDefault: 0
curl "https://api.onlyfans-api.ai/api/models/MODEL_UUID/payouts/requests/referral?limit=10&offset=0" \
  -H "X-API-Key: sk_live_your_key_here"
ParameterTypeDescription
limit
integerNumber of requests to returnDefault: 10
offset
integerPagination offsetDefault: 0
curl "https://api.onlyfans-api.ai/api/models/MODEL_UUID/payouts/transactions?limit=10" \
  -H "X-API-Key: sk_live_your_key_here"
ParameterTypeDescription
limit
integerNumber of transactions to returnDefault: 10
marker
integerCursor for the next page (from previous nextMarker)
Response
{
  "data": {
    "hasMore": true,
    "list": [
      {
        "id": "335a47e7c139e5ed3e079b960f7ebb2a",
        "amount": 200,
        "fee": 40,
        "net": 160,
        "currency": "USD",
        "status": "loading",
        "createdAt": "2026-04-03T10:56:26+00:00",
        "payoutPendingDays": 7,
        "user": { "id": 333276012, "displayName": "Fan Name", "username": "u333276012" }
      }
    ],
    "marker": 1775236642,
    "nextMarker": 1775212716
  },
  "_meta": {
    "_credits": { "used": 1, "balance": 4990 },
    "_rate_limits": { "limit_minute": 60, "remaining_minute": 51 }
  }
}
curl "https://api.onlyfans-api.ai/api/models/MODEL_UUID/payouts/stats?startDate=2026-03-01&endDate=2026-03-31" \
  -H "X-API-Key: sk_live_your_key_here"
ParameterTypeDescription
startDaterequired
stringStart date in YYYY-MM-DD format
endDaterequired
stringEnd date in YYYY-MM-DD format
Response
{
  "data": {
    "list": {
      "months": {
        "1775088000": {
          "chat_messages": [{ "gross": 37, "net": 29.6, "time": 1775001600 }],
          "subscribes":    [{ "gross": 15, "net": 12,   "time": 1775001600 }],
          "tips":          [{ "gross": 10, "net": 8,    "time": 1775001600 }],
          "total_gross": 62,
          "total_net": 49.6
        }
      },
      "total": {
        "all":           { "total_gross": 62,  "total_net": 49.6 },
        "chat_messages": { "total_gross": 37,  "total_net": 29.6 },
        "subscribes":    { "total_gross": 15,  "total_net": 12   },
        "tips":          { "total_gross": 10,  "total_net": 8    }
      }
    }
  },
  "_meta": {
    "_credits": { "used": 2, "balance": 4991 },
    "_rate_limits": { "limit_minute": 60, "remaining_minute": 52 }
  }
}