Request signing API

OnlyFans Signer

Call the OnlyFans API directly with your own sessions: send the target path and your User-Agent, and get back the signed header set — sign, x-bc, x-of-rev, x-hash and time — ready to attach to the request.

Overview

What the OnlyFans Signer gives you

Endpoints

OnlyFans Signer endpoints

POST

Generate sign, x-bc, x-of-rev, x-hash and time

Generates the signed OnlyFans header bundle for one target request.

/sign
  • url — target OnlyFans API path (e.g. /api2/v2/users/me)
  • useragent — browser User-Agent string used for the request

Quick start

Make your first request

Apimirai gateway

Send your account API key in the X-API-Key header, as an Authorization: Bearer token or as the api_key query parameter. Every response is JSON.

curl -X POST \
     -H "X-API-Key: <your-api-key>" \
     -H "Content-Type: application/json" \
     -d '{"url": "/api2/v2/users/me", "useragent": "Mozilla/5.0 ..."}' \
     "https://api.mirai-api.com/onlyfans-signer/sign"

RapidAPI

Already on RapidAPI? Call the same endpoints with your RapidAPI key and host headers.

curl -X POST \
     -H "X-RapidAPI-Key: <your-rapidapi-key>" \
     -H "X-RapidAPI-Host: onlyfans-signer.p.rapidapi.com" \
     -H "Content-Type: application/json" \
     -d '{"url": "/api2/v2/users/me", "useragent": "Mozilla/5.0 ..."}' \
     "https://onlyfans-signer.p.rapidapi.com/sign"

Good to know

Integration notes

Use cases

What teams build with the OnlyFans Signer

Your own integrations

Keep your own sessions and request logic while we take care of request signing.

Automation tools

Sign every request of a scheduler, bot or internal tool with one HTTP call.

Replacing a self-hosted signer

Stop maintaining signing code whenever the platform changes its rules.

FAQ

OnlyFans Signer questions

Which headers does the signer return?

sign, x-bc, x-of-rev, x-hash and time — the set needed for a direct OnlyFans API request.

Which parameters are required?

url (the target OnlyFans API path) and useragent (the browser User-Agent you will send). Both must be non-empty.

Can I reuse the generated headers?

Generate a new set for every request: the signature is bound to the target URL and the time.

How do I get an API key for the OnlyFans Signer?

Create an account on mirai-api.com, choose a plan for the OnlyFans Signer and copy your API key from the Settings page. Send it in the X-API-Key header, as an Authorization: Bearer token or as the api_key query parameter.

Is the OnlyFans Signer available on RapidAPI?

Yes. The same endpoints are published on RapidAPI, so you can also subscribe there and call them with your RapidAPI key.

More APIs

Creator platform API

OnlyFans API

Creator profiles, bulk lookups, posts, social links, a searchable creators catalog and search by face photo.

Creator platform API

Fansly API

Creator profiles, posts, creator search, the monthly leaderboard, a creators catalog and search by face photo.

Start with the OnlyFans Signer

Create an account to get your API key, documentation with live request examples and direct developer support.