Skip to main content
OnlyFans tracking links are the creator’s campaign links (onlyfans.com/<handle>/c<code>): each one counts the clicks and subscribers it brings. Trial links also give new fans a free trial. Onlyx reads every link from OnlyFans about once an hour while the creator is connected, lets you record what each promotion cost and where it ran, and works out earnings, profit and ROI per link. Scopes: links:read to list and read; links:write to update, create and share; fans:read to list the fans a link brought. GET /v1/creators/{creatorId}/tracking-links returns the creator’s links, most clicked first, as a page (limit 1 to 100, default 25, and cursor; see Pagination). Add includeArchived=true to include links you archived.
Response 200

What the numbers mean

From OnlyFans From your team (set with PATCH) Computed by Onlyx Every money field without Net in its name is gross, as it has been since v1 launched; the Net fields sit beside them. The app shows net by default, so read the Net fields to match what your team sees there. Any metric whose inputs are missing is null: for example ROI is null until you enter a cost. Never add link earnings together to get the creator’s revenue: a fan who came through two links counts in both, and earnings include spend outside the campaign. Use revenue stats for totals. GET /v1/creators/{creatorId}/tracking-links/{linkId}?days=30 returns the same fields plus daily for the last days days (1 to 365, default 90). A link that belongs to another creator is 404 NOT_FOUND, even in your own workspace.
clicks and subscribers are running totals at the end of each day Onlyx read the link (day is a UTC date); the ...Delta fields are that day’s change.

Record cost and source

PATCH /v1/creators/{creatorId}/tracking-links/{linkId} changes only what you send. Send null to clear costCents, source or note. This only changes Onlyx; nothing on OnlyFans changes, and fields OnlyFans owns (name, code, counts) cannot be sent (400 VALIDATION_ERROR). The answer is the updated link. Send an Idempotency-Key header to make retries safe.
POST /v1/creators/{creatorId}/tracking-links creates a real link on the creator’s OnlyFans account. It needs an Idempotency-Key header, and the creator must be connected.
This creates a link on the creator’s live OnlyFans account, and it cannot be deleted through the API. Confirm the name and settings first. Limits: 5 links per creator per 24 hours, and 10 per hour for the workspace. OnlyFans does not allow free-trial links on a free page (subscription price $0).
Creating takes a little while, so the API answers 202 at once with a creationId. Poll GET /v1/creators/{creatorId}/tracking-links/creations/{creationId} every 5 seconds or slower: More codes may be added; handle unknown ones like CREATION_FAILED.
Response 202
Creation status (completed)
Creation status (failed)
A creation can be polled for about two hours. After that (or for a creationId that was not issued for this creator) the answer is 404 NOT_FOUND: look for the link in the list instead.

Share a link’s stats page

A promoter who sends traffic to a link wants to see whether it worked. The share page is a public page with the link’s clicks, new fans and day-by-day chart that anyone with its URL can open without an account. It is the same page as the Share button on the Tracking links tab, and it opens on your workspace’s own domain when you have one. Earnings are hidden unless you turn them on; when shown, they are always net (after the platform’s fee, like earningsNetCents), and the page labels them so. earningsBasis in the answer says the same. A typical flow for a bot that onboards promoters: create a link, wait for completed and its linkId, then share it and send the URL to the promoter.
Response 200
Anyone who has the URL can open the page, so send it only to the person it is for. The answer is never cached (Cache-Control: no-store). If a URL went to the wrong person, DELETE the share and share again for a new one.
GET /v1/creators/{creatorId}/tracking-links/{linkId}/fans lists the fans OnlyFans credits to the link, newest first, as a page (limit 1 to 100, default 25, and cursor). Each fan says when he subscribed, whether he had already been messaging the creator before he came through the link (chattedBefore), and what he has spent. Needs fans:read.
Response 200
GET /v1/tracking-links/summary reports one day across every creator your key can see. Use it for a daily recap, or to check how yesterday’s posting went.
Leave out date for yesterday, and timezone for your workspace’s. For each creator, and for each of her links that had traffic that day or usually does, you get: Daily clicks and subscribers follow OnlyFans’ own day in UTC (countsDay). The hours are in the timezone you asked for.

Subscribers by hour

GET /v1/creators/{creatorId}/tracking-links/hourly?days=7&linkId=trk_… shows when posts turn into subscribers. The answer has a 24-hour profile summed over the window (byHour), and a row for every day and hour that had new subscribers (rows). Leave out linkId to cover all of the creator’s links. days can be 1 to 31. DELETE /v1/creators/{creatorId}/tracking-links/{linkId} deletes a tracking link on the creator’s live OnlyFans account. The link stops counting for good, so confirm it with a person first. Free-trial links end on OnlyFans and cannot be deleted here. The delete runs in the background. The answer is 202 with a deletionId. Poll GET /v1/creators/{creatorId}/tracking-links/{linkId}/deletions/{deletionId} every 5 seconds or more until state is deleted or failed. The link leaves the list only when OnlyFans shows it gone. A failed delete leaves the link in place, and you can try again.

Freshness

Clicks and subscribers come from OnlyFans about once an hour while the creator is connected (see lastSeenAt). Earnings update as fans spend. There is no need to poll the list more often than every few minutes.

From your AI assistant

With the MCP server connected: “Which of Mia’s tracking links had the best ROI this month? Set the cost of the Reddit link to $250.” uses list_tracking_links and update_tracking_link. “How did the Reddit links do yesterday, and at what hours did the subs come?” uses get_tracking_links_summary. Creating or deleting a link (create_tracking_link, delete_tracking_link) changes the live OnlyFans account, and sharing one (share_tracking_link) makes a public page, so the assistant asks you to confirm first.