Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.onlyfanskit.dev/llms.txt

Use this file to discover all available pages before exploring further.

If you’d rather not pick apart headers by hand, paste a browser Copy as cURL export. The cookie, x-bc, user agent, and user id are parsed from the command.
curl https://api.onlyfanskit.dev/v1/connect/curl \
  -H "Authorization: Bearer $OFK_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "curl": "curl '\''https://onlyfans.com/api2/v2/users/me'\'' -H '\''cookie: ...'\'' -H '\''x-bc: ...'\'' ...",
    "label": "main creator"
  }'
The response is identical to a cookie connect.

Fields

FieldRequiredNotes
curlyesThe full curl ... command copied from the browser network tab.
xBcnoOverride the parsed x-bc.
userIdnoOverride the parsed user id (else taken from auth_id= in the cookie).
labelnoHuman label.
proxy_countrynoRegion for the account’s traffic — us or uk.
The export must include a Cookie header. If parsing can’t find one you’ll get 400 Could not parse cookie from cURL. Provide xBc in the body if the export omits the x-bc header.

Getting the export

In Chrome or Firefox dev tools, open the Network tab on a logged-in onlyfans.com page, right-click any api2/v2/ request → Copy → Copy as cURL.