Skip to main content

Overview

The Dynamic Rules API provides request signing for direct OnlyFans API calls. Most applications should use the Access API instead, which handles signing automatically. Use Dynamic Rules only when you need to:
  • Make direct OnlyFans API calls outside of OFAuth
  • Implement custom request handling
OnlyFans changes signing requirements frequently. If you use Dynamic Rules directly, implement retry logic and handle 503 responses gracefully.

Base URL

https://api.ofauth.com/v2/dynamic-rules

Endpoints

Sign Request

Generate a signature for a specific OnlyFans API request.
POST /v2/dynamic-rules/sign
Request Body
FieldTypeRequiredDescription
endpointstringYesThe OnlyFans API path (e.g., /api2/v2/users/me)
timenumberNoUnix timestamp to sign with (defaults to current time)
user-idstringNoOnlyFans user ID for authenticated requests
Response
{
  "signed": {
    "sign": "generated_signature_string",
    "time": "1698400000000",
    "user-id": "12345",
    "app-token": "..."
  }
}

Get Status

Check if the signing service is operational.
GET /v2/dynamic-rules/status
Response
{
  "is_current": true,
  "access_granted": true
}

Authentication

apikey: YOUR_API_KEY
Subscribe to the rules.updated webhook in your Dashboard to be notified when signing requirements change.

When to Use

Use CaseRecommendation
Standard API accessUse the Access API - signing is automatic
Custom proxy setupUse Dynamic Rules /sign endpoint
Checking service statusUse /status endpoint