onlyfansapi-skill
Query OnlyFans data and analytics via the OnlyFansAPI.com platform. Get revenue summaries across all models, identify top-performing models, analyze Free Trial and Tracking Link conversion rates, compare link earnings, and much more! Use when users ask about anything related to OnlyFans.
Install
mkdir -p .claude/skills/onlyfansapi-skill && curl -L -o skill.zip "https://mcp.directory/api/skills/download/8100" && unzip -o skill.zip -d .claude/skills/onlyfansapi-skill && rm skill.zipInstalls to .claude/skills/onlyfansapi-skill
About this skill
OnlyFans API Skill
This skill queries the OnlyFansAPI.com platform to answer questions about OnlyFans agency analytics — revenue, model performance, and link conversion metrics.
Prerequisites
The user must set the environment variable ONLYFANSAPI_API_KEY with their API key from https://app.onlyfansapi.com/api-keys.
If the key is not set, remind the user:
Export your OnlyFansAPI key:
export ONLYFANSAPI_API_KEY="your_api_key_here"
API Basics
- Base URL:
https://app.onlyfansapi.com - Auth header:
Authorization: Bearer $ONLYFANSAPI_API_KEY - All dates use URL-encoded format:
YYYY-MM-DD HH:MM:SS - If not specific time is specified use start of day or end of day (for date range ending date)
- Pagination: use
limitandoffsetquery params. CheckhasMoreor_pagination.next_pagein responses. - Whenever possible use User-Agent with value: OnlyFansAPI-Skill
- Try your best to infer schema from the example response of the endpoint. Eg "data.total.total" for earnings scalar value from endpoint.
Workflows
1. Get revenue of all models for the past N days
Steps:
-
List all connected accounts:
curl -s -H "Authorization: Bearer $ONLYFANSAPI_API_KEY" \ "https://app.onlyfansapi.com/api/accounts" | jq .Each account object has
"id"(e.g."acct_xxx"),"onlyfans_username", and"display_name". -
For each account, get earnings:
START=$(date -u -v-7d '+%Y-%m-%d+00%%3A00%%3A00') # macOS # Linux: START=$(date -u -d '7 days ago' '+%Y-%m-%d+00%%3A00%%3A00') END=$(date -u '+%Y-%m-%d+23%%3A59%%3A59') curl -s -H "Authorization: Bearer $ONLYFANSAPI_API_KEY" \ "https://app.onlyfansapi.com/api/{account_id}/statistics/statements/earnings?start_date=$START&end_date=$END&type=total" | jq .Response fields:
data.total— net earningsdata.gross— gross earningsdata.chartAmount— daily earnings breakdown arraydata.delta— percentage change vs. prior period
-
Summarize: Present a table of each model's display name, username, net revenue, and gross revenue. Sum the totals.
2. Which model is performing the best
Use the same workflow as above. Rank models by data.total (net earnings) descending. The model with the highest value is the best performer.
Optionally also pull the statistics overview for richer context:
curl -s -H "Authorization: Bearer $ONLYFANSAPI_API_KEY" \
"https://app.onlyfansapi.com/api/{account_id}/statistics/overview?start_date=$START&end_date=$END" | jq .
This adds subscriber counts, visitor stats, post/message earnings breakdown.
3. Which Free Trial Link has the highest conversion rate (subscribers → spenders)
-
List free trial links:
curl -s -H "Authorization: Bearer $ONLYFANSAPI_API_KEY" \ "https://app.onlyfansapi.com/api/{account_id}/trial-links?limit=100&offset=0&sort=desc&field=subscribe_counts&synchronous=true" | jq .Key response fields per link:
id,trialLinkName,urlclaimCounts— total subscribers who claimed the trialclicksCounts— total clicksrevenue.total— total revenue from this linkrevenue.spendersCount— number of subscribers who spent moneyrevenue.revenuePerSubscriber— average revenue per subscriber
-
Calculate conversion rate:
conversion_rate = spendersCount / claimCountsRank links by conversion rate descending.
-
Present results as a table: link name, claims, spenders, conversion rate, total revenue.
4. Which Tracking Link has the highest conversion rate
-
List tracking links:
curl -s -H "Authorization: Bearer $ONLYFANSAPI_API_KEY" \ "https://app.onlyfansapi.com/api/{account_id}/tracking-links?limit=100&offset=0&sort=desc&sortby=claims&synchronous=true" | jq .Key response fields per link:
id,campaignName,campaignUrlsubscribersCount— total subscribers from this linkclicksCount— total clicksrevenue.total— total revenuerevenue.spendersCount— subscribers who spentrevenue.revenuePerSubscriber— avg revenue per subscriberrevenue.revenuePerClick— avg revenue per click
-
Calculate conversion rate:
conversion_rate = revenue.spendersCount / subscribersCount -
Present results as a table: campaign name, subscribers, spenders, conversion rate, total revenue, revenue per subscriber.
5. Which Free Trial / Tracking Link made the most money
Use the same listing endpoints above. Sort by revenue.total descending. Present the top links with their name, type (trial vs. tracking), total revenue, and subscriber/spender counts.
Multi-Account (Agency) Queries
For agency-level queries that span all models, always:
- First fetch all accounts via
GET /api/accounts - Loop through each account and gather the relevant data
- Aggregate and present combined results with per-model breakdowns
Earnings Type Filters
When querying GET /api/{account}/statistics/statements/earnings, the type parameter filters by category:
total— all earnings combinedsubscribes— subscription revenuetips— tips receivedpost— paid post revenuemessages— paid message revenuestream— stream revenue
When In Doubt
If you are unsure about an endpoint, parameter, response format, or how to accomplish a specific task with the OnlyFans API, consult the official documentation at https://docs.onlyfansapi.com. The site contains full API reference details, guides, and examples for all available endpoints. Always check the docs before guessing.
Error Handling
- If
ONLYFANSAPI_API_KEYis not set, stop and ask the user to configure it. - If an API call returns a non-200 status, show the error message and HTTP status code.
- If
_meta._rate_limits.remaining_minuteorremaining_dayis 0, warn the user about rate limits. - If an account has
"is_authenticated": false, note that the account needs re-authentication.
Output Formatting
- Always present data in markdown tables for readability.
- Include currency values formatted to 2 decimal places.
- When showing percentages (conversion rates, deltas), format as
XX.X%. - For multi-model summaries, include a Total row at the bottom.
More by openclaw
View all skills by openclaw →You might also like
flutter-development
aj-geddes
Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.
drawio-diagrams-enhanced
jgtolentino
Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams, cross-functional flowcharts, org charts, network diagrams, UML diagrams, BPMN, project management diagrams (WBS, Gantt, PERT, RACI), risk matrices, stakeholder maps, or any other visual diagram in draw.io format. This skill includes access to custom shape libraries for icons, clipart, and professional symbols.
ui-ux-pro-max
nextlevelbuilder
"UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient."
godot
bfollington
This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.
nano-banana-pro
garg-aayush
Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.
fastapi-templates
wshobson
Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.
Related MCP Servers
Browse all serversExplore official Google BigQuery MCP servers. Find resources and examples to build context-aware apps in Google's ecosys
Unlock powerful OLAP database analytics on ClickHouse MCP Server. Manage OLAP data with seamless online analytical proce
dbt bridges data build tool resources and natural language, enabling top BI software features, metadata discovery, and d
Integrates MotherDuck and local DuckDB for flexible querying and analysis of structured data in MCP-compatible environme
Integrate with Google Drive and GCloud Storage via Google Cloud Platform for seamless access to Compute Engine, BigQuery
Integrate seamlessly with the Mux Video and Data Platform for easy video uploads, live stream control, analytics, and pe
Stay ahead of the MCP ecosystem
Get weekly updates on new skills and servers.