OFScriptsReference
v1.0.0
OAS 3.1.0

OnlyFans Dynamic Rules API

This API provides programmatic access to up-to-date dynamic rules for the OnlyFans platform. It enables stable automation, analytics, and integrations by delivering the latest signing headers and tokens whenever OnlyFans changes their authentication requirements.

Features

  • Real-time rule updates: Get the latest dynamic rules within minutes of any OnlyFans change
  • Request signing: Generate properly signed requests for OnlyFans API
  • Token-based access: Limit and track API usage with our token system

How It Works

  1. Obtain an API key from the administrator
  2. Use the key to authenticate requests to our endpoints
  3. Get current rules with /getrules or sign requests directly with /signrequest
  4. Monitor your token usage with /stats

Each API call consumes one token from your account. Contact the administrator to renew or extend your API key.

Client Libraries

Account Management

Account Management Operations

Get API Key Statistics

Returns information about your API key including:

  • Remaining token count
  • Expiration date

This endpoint does not consume tokens from your account.

Responses
  • application/json
  • application/json
Request Example forGET/stats
curl /stats
{
  "token_count": 1,
  "expiration_date": "…"
}

OnlyFans Integration (Collapsed)

OnlyFans Integration Operations

Models