OnlyFans API Discord Integration
Push real-time OnlyFans API Discord alerts to your team server. Revenue milestones, new subscriber notifications, churn warnings, and payout confirmations — all delivered as rich embed messages in the channels your team already lives in. If your agency runs on Discord instead of Slack, this is the integration for you. Same webhook system, same real-time speed, formatted for Discord's embed API.
Use Cases
#revenue channel
Post every tip, PPV purchase, and subscription payment as a rich embed with creator name, amount, and type.
#churn-alerts channel
Get warned instantly when subscribers expire so your chat team can send re-engagement messages.
#daily-summary channel
Post an automated daily recap with total revenue, net subscriber change, and top earners across all creators.
Setup Guide
Create a Discord Webhook
In your Discord server, right-click the target channel and go to Edit Channel → Integrations → Webhooks. Click New Webhook, name it "OFAPI Bot", and copy the webhook URL.
Build a Relay Script
Deploy a lightweight server that receives OFAPI webhooks and reformats them as Discord embed payloads. Here is a complete example:
import os, requests from flask import Flask, request, jsonify app = Flask(__name__) DISCORD_WEBHOOK = os.environ["DISCORD_WEBHOOK_URL"] COLORS = { "revenue.received": 0x28c840, # green "subscriber.new": 0xd4af37, # gold "subscriber.expired": 0xff4444, # red } @app.route("/webhook", methods=["POST"]) def handle_webhook(): payload = request.json event = payload["event"] data = payload["data"] embed = { "title": event.replace(".", " ").title(), "color": COLORS.get(event, 0x9ca3af), "fields": [ {"name": "Creator", "value": data["creator"], "inline": True}, {"name": "Amount", "value": f"${data.get('amount', 'N/A')}", "inline": True}, {"name": "Type", "value": data.get("type", event), "inline": True}, ], "footer": {"text": "OFAPI"}, } requests.post(DISCORD_WEBHOOK, json={"embeds": [embed]}) return jsonify({"ok": True}), 200
Register and Test
Add your relay URL as a webhook endpoint in the OFAPI dashboard (Settings → Webhooks). Subscribe to the events you need and send a test event. You should see a color-coded embed card in your Discord channel within seconds.
Discord Embed Payload
This is the JSON sent to the Discord webhook API for a revenue event:
{
"embeds": [{
"title": "Revenue Received",
"color": 2672704,
"fields": [
{ "name": "Creator", "value": "luna_model", "inline": true },
{ "name": "Amount", "value": "$47.50", "inline": true },
{ "name": "Type", "value": "tip", "inline": true }
],
"footer": { "text": "OFAPI" }
}]
} Your team already lives in Discord
Meet them where they are. Push OnlyFans revenue data to Discord in minutes.